Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006839/0.006839, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8398/0.8398, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.735e-05, allocations: 6.219 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.1537/0.1537, allocations: 22.31 MB / 320.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1561, allocations: 2.314 MB / 323.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1563, allocations: 8.375 kB / 323.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.1568, allocations: 156.7 kB / 323.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.1573, allocations: 353 kB / 323.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.1593, allocations: 1.06 MB / 324.7 MB, free: 160 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.1603, allocations: 0.9047 MB / 325.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1605, allocations: 75.38 kB / 325.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003847/0.1643, allocations: 3.237 MB / 328.9 MB, free: 14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.1648, allocations: 257.8 kB / 329.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1649, allocations: 29.16 kB / 329.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.1656, allocations: 259.3 kB / 329.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1657, allocations: 103 kB / 329.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.1658, allocations: 143.2 kB / 329.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.1666, allocations: 0.6078 MB / 330.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1666, allocations: 1.156 kB / 330.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1666, allocations: 0 / 330.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1666, allocations: 0 / 330.3 MB, free: 13.2 MB / 298.7 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.0007369/0.1673, allocations: 0.561 MB / 330.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1674, allocations: 14.23 kB / 330.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.1674, allocations: 60.05 kB / 330.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.1677, allocations: 48.73 kB / 331 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1681, allocations: 242.4 kB / 331.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.1682, allocations: 19.77 kB / 331.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1682, allocations: 29.27 kB / 331.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.1688, allocations: 0.5581 MB / 331.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1689, allocations: 5.781 kB / 331.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.1689, allocations: 16.44 kB / 331.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1689, allocations: 9.312 kB / 331.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.1692, allocations: 192.5 kB / 332 MB, free: 11.76 MB / 298.7 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.001673/0.1709, allocations: 1.435 MB / 333.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1711, allocations: 179.7 kB / 333.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.1712, allocations: 74.72 kB / 333.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.1712, allocations: 22.66 kB / 333.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1713, allocations: 37.09 kB / 333.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.304e-06/0.1713, allocations: 0 / 333.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001938/0.1732, allocations: 0.8743 MB / 334.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1732, allocations: 55.75 kB / 334.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1735, allocations: 266.5 kB / 335 MB, free: 9.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1735, allocations: 32.8 kB / 335 MB, free: 9.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.1736, allocations: 188.9 kB / 335.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.1736, allocations: 99.53 kB / 335.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.1737, allocations: 74.38 kB / 335.3 MB, free: 9.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.1738, allocations: 349.6 kB / 335.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1739, allocations: 81.34 kB / 335.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.174, allocations: 170 kB / 335.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.1743, allocations: 276.7 kB / 336.2 MB, free: 8.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1743, allocations: 0 / 336.2 MB, free: 8.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004874/0.1748, allocations: 380.1 kB / 336.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1748, allocations: 6.188 kB / 336.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1748, allocations: 5.938 kB / 336.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.1752, allocations: 100.5 kB / 336.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1754, allocations: 70.09 kB / 336.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/0.176, allocations: 0.6576 MB / 337.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1761, allocations: 8 kB / 337.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.1762, allocations: 20 kB / 337.4 MB, free: 7.395 MB / 298.7 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.0001673/0.1763, allocations: 153.7 kB / 337.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.1764, allocations: 30.2 kB / 337.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.1768, allocations: 384.9 kB / 338 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1768, allocations: 0 / 338 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1769, allocations: 4 kB / 338 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003494/0.1772, allocations: 0.5396 MB / 338.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.1779, allocations: 0.669 MB / 339.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1779, allocations: 0 / 339.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.178, allocations: 35.97 kB / 339.2 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.1783, allocations: 108.7 kB / 339.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1783, allocations: 8 kB / 339.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003416/0.1787, allocations: 0.6343 MB / 340 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1787, allocations: 0 / 340 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.1794, allocations: 489.9 kB / 340.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.1795, allocations: 31.91 kB / 340.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.1795, allocations: 11.98 kB / 340.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1797, allocations: 8 kB / 340.5 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1797, allocations: 23.95 kB / 340.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1797, allocations: 11.98 kB / 340.5 MB, free: 4.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.1798, allocations: 197.2 kB / 340.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1798, allocations: 0 / 340.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.1802, allocations: 111.9 kB / 340.8 MB, free: 3.738 MB / 298.7 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.0007822/0.181, allocations: 1.066 MB / 341.9 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.1813, allocations: 228 kB / 342.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1813, allocations: 0 / 342.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1815, allocations: 116.4 kB / 342.2 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.1821, allocations: 178.5 kB / 342.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.1848, allocations: 3.049 MB / 345.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1849, allocations: 159.9 kB / 345.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.1851, allocations: 59.25 kB / 345.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1852, allocations: 104.4 kB / 345.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1852, allocations: 0 / 345.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2135, allocations: 11.28 MB / 357.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.553, allocations: 15.98 kB / 357.1 MB, free: 3.227 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.236272300593555]