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.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.001703/0.001703, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.002056/0.002056, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.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.2267/0.2267, allocations: 44.9 MB / 355.8 MB, free: 12.35 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006928/0.1384, allocations: 5.06 MB / 0.5574 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.1438, allocations: 4.582 MB / 0.5619 GB, free: 440 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.1439, allocations: 4 kB / 0.5619 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1443, allocations: 55.59 kB / 0.5619 GB, free: 380 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1464, allocations: 0.6643 MB / 0.5626 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1468, allocations: 159.2 kB / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.1474, allocations: 370.1 kB / 0.5631 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.1475, allocations: 13.66 kB / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.1478, allocations: 147.5 kB / 0.5632 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.148, allocations: 139.4 kB / 0.5634 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.148, allocations: 8 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.1489, allocations: 371.5 kB / 0.5637 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.149, allocations: 35.88 kB / 0.5638 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1492, allocations: 107.5 kB / 0.5639 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.1499, allocations: 442.8 kB / 0.5643 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1499, allocations: 4 kB / 0.5643 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1499, allocations: 0 / 0.5643 GB, free: 13.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1499, allocations: 0 / 0.5643 GB, free: 13.95 MB / 430.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.001183/0.1511, allocations: 0.5999 MB / 0.5649 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1512, allocations: 8.031 kB / 0.5649 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.543e-05/0.1512, allocations: 8.75 kB / 0.5649 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.1513, allocations: 62.67 kB / 0.565 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.1514, allocations: 24.84 kB / 0.565 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1519, allocations: 224.1 kB / 0.5652 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.152, allocations: 135.9 kB / 0.5653 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1521, allocations: 27.94 kB / 0.5654 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.1526, allocations: 319.7 kB / 0.5657 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1526, allocations: 3.938 kB / 0.5657 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.1527, allocations: 15.98 kB / 0.5657 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.1527, allocations: 8 kB / 0.5657 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/0.1536, allocations: 0.7352 MB / 0.5664 GB, free: 11.64 MB / 430.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.001437/0.155, allocations: 1.246 MB / 0.5676 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1554, allocations: 134.8 kB / 0.5678 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1555, allocations: 72.81 kB / 0.5678 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/0.1581, allocations: 2.659 MB / 0.5704 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1581, allocations: 38.5 kB / 0.5705 GB, free: 6.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1581, allocations: 0 / 0.5705 GB, free: 6.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007391/0.1588, allocations: 229 kB / 0.5707 GB, free: 6.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1589, allocations: 51.41 kB / 0.5707 GB, free: 6.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1591, allocations: 219.8 kB / 0.5709 GB, free: 6.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1591, allocations: 29.7 kB / 0.571 GB, free: 6.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1593, allocations: 215.6 kB / 0.5712 GB, free: 6.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.1593, allocations: 63.5 kB / 0.5712 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1595, allocations: 90.03 kB / 0.5713 GB, free: 5.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1596, allocations: 326.8 kB / 0.5716 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.1597, allocations: 48.83 kB / 0.5717 GB, free: 5.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.16, allocations: 316.1 kB / 0.572 GB, free: 5.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.1606, allocations: 415.5 kB / 0.5724 GB, free: 4.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1606, allocations: 4 kB / 0.5724 GB, free: 4.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005837/0.1612, allocations: 373.3 kB / 0.5727 GB, free: 4.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1612, allocations: 8 kB / 0.5727 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.1612, allocations: 12 kB / 0.5728 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.1613, allocations: 15.94 kB / 0.5728 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1616, allocations: 103.8 kB / 0.5729 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1616, allocations: 20.48 kB / 0.5729 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1618, allocations: 23.94 kB / 0.5729 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.1619, allocations: 28 kB / 0.5729 GB, free: 4.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001609/0.162, allocations: 147.8 kB / 0.5731 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1621, allocations: 23.84 kB / 0.5731 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.1625, allocations: 166.1 kB / 0.5733 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.1625, allocations: 4 kB / 0.5733 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1625, allocations: 0 / 0.5733 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1625, allocations: 0 / 0.5733 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.1631, allocations: 435.1 kB / 0.5737 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1631, allocations: 0 / 0.5737 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1633, allocations: 36.02 kB / 0.5737 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1633, allocations: 4 kB / 0.5737 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1633, allocations: 0 / 0.5737 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1633, allocations: 0 / 0.5737 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1633, allocations: 0 / 0.5737 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1636, allocations: 228.2 kB / 0.5739 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.1637, allocations: 97 kB / 0.574 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.1637, allocations: 16 kB / 0.574 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1639, allocations: 11.97 kB / 0.5741 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1639, allocations: 11.98 kB / 0.5741 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.164, allocations: 4 kB / 0.5741 GB, free: 2.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1641, allocations: 152.5 kB / 0.5742 GB, free: 2.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1641, allocations: 0 / 0.5742 GB, free: 2.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005306/0.1646, allocations: 99.88 kB / 0.5743 GB, free: 2.488 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.000837/0.1655, allocations: 0.8335 MB / 0.5751 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.1658, allocations: 173.3 kB / 0.5753 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1658, allocations: 3.938 kB / 0.5753 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.1659, allocations: 31.92 kB / 0.5753 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.1663, allocations: 41.16 kB / 0.5754 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.1698, allocations: 2.704 MB / 0.578 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.1701, allocations: 0.7245 MB / 0.5787 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.1704, allocations: 66.77 kB / 0.5788 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1705, allocations: 63.42 kB / 0.5788 GB, free: 13.46 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1705, allocations: 0 / 0.5788 GB, free: 13.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.1929, allocations: 5.698 MB / 0.5844 GB, free: 7.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.623, allocations: 8.75 kB / 0.5844 GB, free: 7.941 MB / 446.1 MB " [Timeout remaining time 651] (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/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) [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: 12.173511265020352]