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: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001975/0.001975, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.39/1.39, allocations: 222.9 MB / 243 MB, free: 15.09 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.2079/0.2079, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 69.55 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006604/0.124, allocations: 4.956 MB / 475.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.129, allocations: 4.551 MB / 480.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1293, allocations: 0 / 480.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1297, allocations: 51.61 kB / 480.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1315, allocations: 0.6642 MB / 480.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.1319, allocations: 165.3 kB / 481.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.1325, allocations: 370.2 kB / 481.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.1326, allocations: 9.688 kB / 481.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.1329, allocations: 147.4 kB / 481.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1331, allocations: 131.5 kB / 481.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.1332, allocations: 8 kB / 481.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.134, allocations: 331.7 kB / 482.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.1341, allocations: 51.75 kB / 482.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1343, allocations: 107.5 kB / 482.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.1351, allocations: 415 kB / 482.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1351, allocations: 0 / 482.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1351, allocations: 0 / 482.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1351, allocations: 0 / 482.6 MB, free: 1.672 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.0009676/0.1361, allocations: 0.5852 MB / 483.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1362, allocations: 12.03 kB / 483.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.1363, allocations: 32.67 kB / 483.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.1367, allocations: 224 kB / 483.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.1368, allocations: 123.9 kB / 483.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.1369, allocations: 20.38 kB / 483.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.1374, allocations: 335.5 kB / 483.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1374, allocations: 0 / 483.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1374, allocations: 12 kB / 483.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.1375, allocations: 4 kB / 484 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.1383, allocations: 0.7429 MB / 484.7 MB, free: 15.46 MB / 366.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.001356/0.1396, allocations: 1.242 MB / 485.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.14, allocations: 150.8 kB / 486.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1401, allocations: 76.58 kB / 486.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002313/0.1424, allocations: 2.667 MB / 488.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1425, allocations: 34.56 kB / 488.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1425, allocations: 0 / 488.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006251/0.1431, allocations: 222.7 kB / 489.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1432, allocations: 59.34 kB / 489.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1433, allocations: 207.9 kB / 489.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.1434, allocations: 33.7 kB / 489.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1435, allocations: 210.8 kB / 489.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.1436, allocations: 51.34 kB / 489.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.1437, allocations: 85.94 kB / 489.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1438, allocations: 326.8 kB / 490 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.1439, allocations: 48.84 kB / 490.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.1442, allocations: 322 kB / 490.4 MB, free: 8.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.1446, allocations: 433.1 kB / 490.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1447, allocations: 4 kB / 490.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005432/0.1452, allocations: 373.5 kB / 491.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1452, allocations: 8 kB / 491.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1452, allocations: 11.94 kB / 491.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.1453, allocations: 16 kB / 491.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.1456, allocations: 115.8 kB / 491.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/0.1457, allocations: 15.94 kB / 491.3 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1459, allocations: 16 kB / 491.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.1459, allocations: 28.27 kB / 491.4 MB, free: 7.789 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.0001243/0.146, allocations: 153.6 kB / 491.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1461, allocations: 15.81 kB / 491.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.1464, allocations: 165.7 kB / 491.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.1465, allocations: 7.938 kB / 491.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1465, allocations: 0 / 491.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1465, allocations: 0 / 491.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.147, allocations: 431.2 kB / 492.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.147, allocations: 4 kB / 492.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1472, allocations: 31.92 kB / 492.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1472, allocations: 0 / 492.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1472, allocations: 12.02 kB / 492.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/0.1473, allocations: 11.92 kB / 492.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1473, allocations: 4.062 kB / 492.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1475, allocations: 212.1 kB / 492.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1476, allocations: 104.8 kB / 492.5 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1476, allocations: 7.844 kB / 492.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1478, allocations: 15.98 kB / 492.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.1479, allocations: 7.984 kB / 492.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1479, allocations: 8 kB / 492.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.148, allocations: 152.5 kB / 492.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.148, allocations: 0 / 492.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004654/0.1485, allocations: 88 kB / 492.8 MB, free: 6.281 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.0003007/0.1488, allocations: 171.1 kB / 493 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.1491, allocations: 189.5 kB / 493.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1491, allocations: 0 / 493.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.1492, allocations: 36.55 kB / 493.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1496, allocations: 48.41 kB / 493.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.1506, allocations: 0.4937 MB / 493.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1509, allocations: 0.7323 MB / 494.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.1511, allocations: 58.78 kB / 494.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.1512, allocations: 27.44 kB / 494.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1512, allocations: 0 / 494.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of Templates: time 0.006761/0.1579, allocations: 3.396 MB / 497.9 MB, free: 1.105 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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