Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.91 MB / 349.6 MB, free: 1.75 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 64.12 kB / 491.8 MB, free: 30.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1345, allocations: 64.25 MB / 0.543 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.01081/0.1453, allocations: 4.986 MB / 0.5479 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009376/0.1547, allocations: 4.571 MB / 0.5524 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.1548, allocations: 0 / 0.5524 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.1552, allocations: 55.59 kB / 0.5524 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.1578, allocations: 0.6643 MB / 0.5531 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.1585, allocations: 158.2 kB / 0.5532 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008927/0.1594, allocations: 374.1 kB / 0.5536 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.177e-05/0.1595, allocations: 5.688 kB / 0.5536 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.1599, allocations: 151.4 kB / 0.5537 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.1602, allocations: 135.5 kB / 0.5539 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.1602, allocations: 8 kB / 0.5539 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.1616, allocations: 343.6 kB / 0.5542 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1618, allocations: 43.77 kB / 0.5542 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.162, allocations: 111.5 kB / 0.5543 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.163, allocations: 426.9 kB / 0.5547 GB, free: 8.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1631, allocations: 0 / 0.5547 GB, free: 8.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1631, allocations: 0 / 0.5547 GB, free: 8.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1631, allocations: 0 / 0.5547 GB, free: 8.191 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001409/0.1645, allocations: 0.5883 MB / 0.5553 GB, free: 7.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.1645, allocations: 8.031 kB / 0.5553 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1646, allocations: 62.72 kB / 0.5554 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.1648, allocations: 32.78 kB / 0.5554 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1653, allocations: 232 kB / 0.5556 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.1655, allocations: 123.9 kB / 0.5558 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.1655, allocations: 28.12 kB / 0.5558 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.1661, allocations: 319.6 kB / 0.5561 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1661, allocations: 0 / 0.5561 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.1661, allocations: 12 kB / 0.5561 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1662, allocations: 8 kB / 0.5561 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008853/0.167, allocations: 0.743 MB / 0.5568 GB, free: 5.895 MB / 414.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.001447/0.1685, allocations: 1.246 MB / 0.558 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.1688, allocations: 134.8 kB / 0.5582 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1689, allocations: 68.83 kB / 0.5582 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/0.1714, allocations: 2.666 MB / 0.5608 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1714, allocations: 38.56 kB / 0.5609 GB, free: 1.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1715, allocations: 4 kB / 0.5609 GB, free: 1.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006824/0.1721, allocations: 221 kB / 0.5611 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1722, allocations: 51.41 kB / 0.5611 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1724, allocations: 214.8 kB / 0.5614 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1724, allocations: 25.7 kB / 0.5614 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1726, allocations: 219.5 kB / 0.5616 GB, free: 360 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.1726, allocations: 59.52 kB / 0.5616 GB, free: 300 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.1727, allocations: 86.06 kB / 0.5617 GB, free: 208 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1729, allocations: 330.8 kB / 0.562 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.1729, allocations: 48.84 kB / 0.5621 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.1732, allocations: 322.1 kB / 0.5624 GB, free: 15.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1737, allocations: 433.1 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1737, allocations: 0 / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000639/0.1744, allocations: 377 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1744, allocations: 11.94 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1744, allocations: 12.91 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.1744, allocations: 15.94 kB / 0.5632 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.1748, allocations: 115.8 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.1748, allocations: 23.92 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.175, allocations: 16 kB / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.175, allocations: 27.98 kB / 0.5634 GB, free: 14.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.1752, allocations: 145.7 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.1752, allocations: 19.91 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.1755, allocations: 158.9 kB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.1756, allocations: 3.938 kB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1756, allocations: 3.938 kB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1756, allocations: 4 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.1762, allocations: 424.5 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.1762, allocations: 3.938 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1763, allocations: 35.92 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1763, allocations: 0 / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1764, allocations: 4 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1764, allocations: 3.984 kB / 0.5642 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1764, allocations: 0 / 0.5642 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1766, allocations: 224 kB / 0.5644 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1767, allocations: 104.9 kB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.1767, allocations: 8 kB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1769, allocations: 12.05 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.1769, allocations: 15.92 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.177, allocations: 7.938 kB / 0.5645 GB, free: 12.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1771, allocations: 148.5 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 8 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.1776, allocations: 95.88 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007479/0.1783, allocations: 0.8223 MB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.1786, allocations: 165.8 kB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1786, allocations: 0 / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.1787, allocations: 31.92 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1791, allocations: 60.75 kB / 0.5658 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.1824, allocations: 2.708 MB / 0.5684 GB, free: 8.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1827, allocations: 0.7322 MB / 0.5692 GB, free: 7.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.1829, allocations: 58.83 kB / 0.5692 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.183, allocations: 63.42 kB / 0.5693 GB, free: 7.668 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.183, allocations: 4 kB / 0.5693 GB, free: 7.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.211, allocations: 5.622 MB / 0.5748 GB, free: 2.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.242, allocations: 7.922 kB / 0.5748 GB, free: 2.188 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.376196973025799]