Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 99.02 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 55.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1088, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03329/0.1421, allocations: 24.58 MB / 352 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.146, allocations: 2.499 MB / 354.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1463, allocations: 7.938 kB / 354.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.1469, allocations: 159 kB / 354.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.1476, allocations: 326.2 kB / 355 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.15, allocations: 0.9624 MB / 355.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1511, allocations: 0.8951 MB / 356.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1513, allocations: 104.7 kB / 356.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.1558, allocations: 2.724 MB / 359.6 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.1562, allocations: 278.9 kB / 359.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.1563, allocations: 28 kB / 359.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.1569, allocations: 239.7 kB / 360.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1571, allocations: 99.7 kB / 360.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.1573, allocations: 199.1 kB / 360.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.1581, allocations: 0.5649 MB / 361 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1581, allocations: 0 / 361 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1581, allocations: 0 / 361 MB, free: 2.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.1581, allocations: 0 / 361 MB, free: 2.609 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009889/0.1591, allocations: 0.6276 MB / 361.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.1592, allocations: 16.03 kB / 361.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.724e-05/0.1593, allocations: 58.73 kB / 361.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.1596, allocations: 48.55 kB / 361.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.16, allocations: 299.5 kB / 362.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1601, allocations: 16.94 kB / 362.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.1601, allocations: 24.38 kB / 362.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.1606, allocations: 338.2 kB / 362.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1607, allocations: 4 kB / 362.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.1607, allocations: 12 kB / 362.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1607, allocations: 8 kB / 362.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.1611, allocations: 193.5 kB / 362.6 MB, free: 0.8555 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.1636, allocations: 2.123 MB / 364.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.164, allocations: 182.5 kB / 365 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1641, allocations: 84.83 kB / 365 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.1643, allocations: 251.5 kB / 365.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.1644, allocations: 34.56 kB / 365.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.1644, allocations: 4 kB / 365.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002648/0.167, allocations: 1.022 MB / 366.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1671, allocations: 55.41 kB / 366.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.1674, allocations: 266.5 kB / 366.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1674, allocations: 29.7 kB / 366.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1676, allocations: 192 kB / 366.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.1676, allocations: 94.56 kB / 367 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.1677, allocations: 74.06 kB / 367 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1679, allocations: 342.8 kB / 367.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.1681, allocations: 92.64 kB / 367.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1683, allocations: 166.6 kB / 367.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.1687, allocations: 285.2 kB / 367.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1687, allocations: 0 / 367.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005843/0.1693, allocations: 381.8 kB / 368.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1694, allocations: 12.06 kB / 368.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1694, allocations: 4 kB / 368.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.1698, allocations: 92.73 kB / 368.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.1701, allocations: 71.89 kB / 368.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005723/0.1707, allocations: 0.6537 MB / 369.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.1708, allocations: 8.031 kB / 369.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.1709, allocations: 20 kB / 369.1 MB, free: 9.844 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.1711, allocations: 161.7 kB / 369.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1712, allocations: 31.66 kB / 369.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.1718, allocations: 377 kB / 369.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1718, allocations: 4 kB / 369.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1718, allocations: 0 / 369.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005653/0.1724, allocations: 0.5592 MB / 370.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1735, allocations: 0.7439 MB / 371 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1735, allocations: 0 / 371 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1737, allocations: 35.98 kB / 371 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.1741, allocations: 104.7 kB / 371.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1742, allocations: 4 kB / 371.1 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005962/0.1748, allocations: 0.6459 MB / 371.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.1748, allocations: 4.031 kB / 371.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.1756, allocations: 489.5 kB / 372.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.1757, allocations: 96.77 kB / 372.4 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.1758, allocations: 8 kB / 372.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.176, allocations: 11.98 kB / 372.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1761, allocations: 15.98 kB / 372.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1761, allocations: 11.98 kB / 372.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.1763, allocations: 202 kB / 372.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1763, allocations: 4.062 kB / 372.6 MB, free: 6.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.1768, allocations: 108 kB / 372.7 MB, free: 6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.1781, allocations: 1.062 MB / 373.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.1788, allocations: 255.6 kB / 374 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.1788, allocations: 4 kB / 374 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.1791, allocations: 120.7 kB / 374.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.1801, allocations: 164.6 kB / 374.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.1844, allocations: 3.109 MB / 377.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1848, allocations: 0.7645 MB / 378.2 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.1851, allocations: 63.19 kB / 378.2 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.1853, allocations: 103.4 kB / 378.3 MB, free: 156 kB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1853, allocations: 0 / 378.3 MB, free: 156 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/0.3739, allocations: 10.12 MB / 388.5 MB, free: 53.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.49, allocations: 6.094 kB / 388.5 MB, free: 53.93 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches