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.00132/0.00132, allocations: 116.8 kB / 17.33 MB, free: 6.004 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.001276/0.001276, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.372/1.372, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2117/0.2117, allocations: 44.17 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.06 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.84 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005717/0.1264, allocations: 4.977 MB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.1307, allocations: 4.54 MB / 478.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1309, allocations: 8 kB / 478.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1312, allocations: 43.72 kB / 478.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.1328, allocations: 0.6063 MB / 479 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.1332, allocations: 153.2 kB / 479.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.1336, allocations: 362.2 kB / 479.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.1337, allocations: 9.688 kB / 479.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1339, allocations: 159.3 kB / 479.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1341, allocations: 131.5 kB / 479.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.1341, allocations: 8 kB / 479.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1348, allocations: 343.6 kB / 480.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.1349, allocations: 43.77 kB / 480.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.135, allocations: 111.5 kB / 480.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.1356, allocations: 423.2 kB / 480.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1357, allocations: 0 / 480.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1357, allocations: 0 / 480.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1357, allocations: 0 / 480.7 MB, free: 2.699 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.001028/0.1367, allocations: 0.5891 MB / 481.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1368, allocations: 8.031 kB / 481.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.37e-05/0.1368, allocations: 62.72 kB / 481.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.137, allocations: 28.66 kB / 481.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1373, allocations: 224.1 kB / 481.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1374, allocations: 123.9 kB / 481.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1375, allocations: 24.12 kB / 481.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.138, allocations: 323.6 kB / 482.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.138, allocations: 3.938 kB / 482.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.138, allocations: 12 kB / 482.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.138, allocations: 12 kB / 482.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.1388, allocations: 0.7352 MB / 482.8 MB, free: 432 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.00122/0.14, allocations: 1.246 MB / 484.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1404, allocations: 146.8 kB / 484.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1405, allocations: 76.58 kB / 484.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/0.1427, allocations: 2.659 MB / 486.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1427, allocations: 38.5 kB / 487 MB, free: 11.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.1427, allocations: 0 / 487 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006501/0.1434, allocations: 228.6 kB / 487.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1434, allocations: 55.41 kB / 487.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1436, allocations: 211.8 kB / 487.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1437, allocations: 25.7 kB / 487.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1438, allocations: 210.8 kB / 487.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.1438, allocations: 55.25 kB / 487.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.1439, allocations: 93.97 kB / 487.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1441, allocations: 322.8 kB / 488.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.1442, allocations: 52.83 kB / 488.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.1444, allocations: 326 kB / 488.5 MB, free: 9.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.1449, allocations: 417.2 kB / 488.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1449, allocations: 4 kB / 488.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005359/0.1454, allocations: 376.7 kB / 489.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1455, allocations: 9 kB / 489.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.1455, allocations: 20 kB / 489.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.1455, allocations: 19.94 kB / 489.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.1458, allocations: 107.8 kB / 489.5 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.1459, allocations: 15.94 kB / 489.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1461, allocations: 23.98 kB / 489.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.1461, allocations: 28 kB / 489.5 MB, free: 8.75 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.0001279/0.1463, allocations: 149.5 kB / 489.7 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.1463, allocations: 23.72 kB / 489.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.1467, allocations: 151 kB / 489.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1467, allocations: 3.938 kB / 489.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1467, allocations: 4 kB / 489.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1467, allocations: 7.984 kB / 489.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.1473, allocations: 431.2 kB / 490.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1473, allocations: 3.938 kB / 490.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1474, allocations: 31.97 kB / 490.3 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1474, allocations: 0 / 490.3 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.1475, allocations: 4 kB / 490.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1475, allocations: 3.938 kB / 490.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1475, allocations: 4.031 kB / 490.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1477, allocations: 212.2 kB / 490.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.1478, allocations: 112.7 kB / 490.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.1478, allocations: 7.984 kB / 490.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.148, allocations: 8 kB / 490.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.1481, allocations: 7.984 kB / 490.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1481, allocations: 8 kB / 490.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1482, allocations: 152.5 kB / 490.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1482, allocations: 7.938 kB / 490.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004957/0.1487, allocations: 88 kB / 490.9 MB, free: 7.246 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.0007433/0.1495, allocations: 0.8263 MB / 491.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.1498, allocations: 185.9 kB / 491.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1498, allocations: 256 / 491.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.1499, allocations: 39.92 kB / 492 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1503, allocations: 48.33 kB / 492 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1533, allocations: 2.786 MB / 494.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1537, allocations: 0.7245 MB / 495.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.154, allocations: 62.92 kB / 495.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1541, allocations: 67.41 kB / 495.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1541, allocations: 0 / 495.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.1709, allocations: 5.425 MB / 0.4893 GB, free: 12.87 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.1712, allocations: 228.7 kB / 0.4896 GB, free: 12.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.119, allocations: 0 / 0.4896 GB, free: 12.61 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