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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 104 kB / 17.63 MB, free: 5.543 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.001064/0.001064, allocations: 192.1 kB / 18.56 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.183/0.183, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 60.25 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.009098/0.1335, allocations: 4.964 MB / 474.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.1395, allocations: 4.547 MB / 478.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1398, allocations: 4 kB / 478.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.1403, allocations: 47.61 kB / 478.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.1428, allocations: 0.6604 MB / 479.6 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.1434, allocations: 165.2 kB / 479.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.1442, allocations: 366.2 kB / 480.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.1443, allocations: 9.688 kB / 480.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.1446, allocations: 151.4 kB / 480.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.1448, allocations: 127.5 kB / 480.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.1449, allocations: 8 kB / 480.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1462, allocations: 331.6 kB / 480.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1463, allocations: 51.7 kB / 480.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1465, allocations: 111.5 kB / 480.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007399/0.1472, allocations: 415.3 kB / 481.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1472, allocations: 0 / 481.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1473, allocations: 0 / 481.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1473, allocations: 0 / 481.3 MB, free: 2.305 MB / 350.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.00107/0.1483, allocations: 0.5852 MB / 481.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1484, allocations: 12.03 kB / 481.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.384e-05/0.1485, allocations: 62.73 kB / 481.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.1487, allocations: 28.66 kB / 482 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.149, allocations: 228.1 kB / 482.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.1492, allocations: 123.9 kB / 482.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1492, allocations: 28.12 kB / 482.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.1498, allocations: 323.6 kB / 482.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1499, allocations: 0 / 482.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1499, allocations: 12 kB / 482.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.1499, allocations: 8 kB / 482.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.151, allocations: 0.7429 MB / 483.4 MB, free: 20 kB / 350.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.001395/0.1524, allocations: 1.246 MB / 484.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.1527, allocations: 150.8 kB / 484.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1529, allocations: 76.58 kB / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/0.1556, allocations: 2.659 MB / 487.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1556, allocations: 34.56 kB / 487.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1556, allocations: 0 / 487.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006591/0.1563, allocations: 224.7 kB / 487.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1563, allocations: 55.41 kB / 487.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1565, allocations: 211.8 kB / 488 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1565, allocations: 29.7 kB / 488.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1567, allocations: 210.8 kB / 488.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1567, allocations: 55.25 kB / 488.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.1568, allocations: 86.02 kB / 488.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1569, allocations: 326.8 kB / 488.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.157, allocations: 48.84 kB / 488.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.1573, allocations: 326 kB / 489.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.1577, allocations: 433.1 kB / 489.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1578, allocations: 0 / 489.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005342/0.1583, allocations: 377.2 kB / 489.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1583, allocations: 8 kB / 489.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.1583, allocations: 12 kB / 489.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.1584, allocations: 15.94 kB / 489.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1587, allocations: 104.4 kB / 490 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.1587, allocations: 23.92 kB / 490.1 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.1589, allocations: 19.94 kB / 490.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.159, allocations: 32.06 kB / 490.1 MB, free: 8.348 MB / 366.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.0001655/0.1592, allocations: 153.6 kB / 490.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1592, allocations: 19.81 kB / 490.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1596, allocations: 152.5 kB / 490.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.1596, allocations: 7.969 kB / 490.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1596, allocations: 0 / 490.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1596, allocations: 4 kB / 490.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.1602, allocations: 439.2 kB / 490.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1602, allocations: 3.938 kB / 490.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1603, allocations: 27.98 kB / 490.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1604, allocations: 0 / 490.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1604, allocations: 8 kB / 490.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1604, allocations: 0 / 490.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1604, allocations: 0 / 490.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1606, allocations: 219.2 kB / 491.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.1607, allocations: 108.8 kB / 491.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1608, allocations: 7.938 kB / 491.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.161, allocations: 11.98 kB / 491.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.161, allocations: 11.98 kB / 491.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.161, allocations: 8 kB / 491.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1611, allocations: 148.5 kB / 491.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 0 / 491.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.1616, allocations: 96 kB / 491.5 MB, free: 6.844 MB / 366.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.0007146/0.1623, allocations: 0.8222 MB / 492.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1627, allocations: 184.3 kB / 492.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1627, allocations: 1.812 kB / 492.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.1628, allocations: 35.92 kB / 492.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.1632, allocations: 59.05 kB / 492.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.1664, allocations: 2.699 MB / 495.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1667, allocations: 0.7362 MB / 496 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002779/0.167, allocations: 58.78 kB / 496.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.1671, allocations: 63.41 kB / 496.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1671, allocations: 0 / 496.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.1903, allocations: 5.511 MB / 0.4899 GB, free: 12.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.029, allocations: 8.438 kB / 0.4899 GB, free: 12.42 MB / 382.1 MB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches