Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 99.02 kB / 18.01 MB, free: 5.734 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.001493/0.001493, allocations: 180.8 kB / 18.91 MB, free: 4.871 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.399/1.399, allocations: 223.3 MB / 242.9 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.24 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 12.86 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00541/0.1182, allocations: 4.2 MB / 477.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.1227, allocations: 4.007 MB / 481.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.1229, allocations: 0 / 481.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1233, allocations: 43.73 kB / 481.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.1253, allocations: 0.657 MB / 481.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1257, allocations: 130.6 kB / 482 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.1264, allocations: 442.1 kB / 482.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.1265, allocations: 9.688 kB / 482.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.1268, allocations: 147.4 kB / 482.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1271, allocations: 155.4 kB / 482.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.1271, allocations: 4 kB / 482.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1282, allocations: 435.3 kB / 483.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.1283, allocations: 43.77 kB / 483.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1285, allocations: 137.2 kB / 483.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.1292, allocations: 323.6 kB / 483.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1292, allocations: 4 kB / 483.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1292, allocations: 4 kB / 483.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1292, allocations: 0 / 483.6 MB, free: 2.594 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.001326/0.1305, allocations: 0.5384 MB / 484.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1306, allocations: 12.03 kB / 484.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1308, allocations: 32.73 kB / 484.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1311, allocations: 220 kB / 484.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.1313, allocations: 127.9 kB / 484.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1314, allocations: 28.3 kB / 484.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.1319, allocations: 323.6 kB / 484.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1319, allocations: 3.938 kB / 484.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.132, allocations: 12 kB / 484.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.132, allocations: 8 kB / 484.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.1329, allocations: 0.7391 MB / 485.6 MB, free: 436 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.002164/0.1351, allocations: 1.292 MB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.1356, allocations: 170.5 kB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.1358, allocations: 93.41 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003814/0.1396, allocations: 2.806 MB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1397, allocations: 30.56 kB / 490 MB, free: 11.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.946e-06/0.1397, allocations: 3.938 kB / 490 MB, free: 11.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005246/0.1402, allocations: 137.2 kB / 490.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1403, allocations: 51.41 kB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.1407, allocations: 223.8 kB / 490.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1407, allocations: 29.7 kB / 490.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.141, allocations: 210.7 kB / 490.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1411, allocations: 51.38 kB / 490.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.1412, allocations: 37.7 kB / 490.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.1414, allocations: 330.8 kB / 491.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1416, allocations: 48.84 kB / 491.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.142, allocations: 339.2 kB / 491.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.1428, allocations: 456.5 kB / 491.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.609e-06/0.1428, allocations: 4 kB / 491.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009958/0.1438, allocations: 377.2 kB / 492.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.1438, allocations: 12 kB / 492.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.1439, allocations: 8 kB / 492.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.019e-05/0.1439, allocations: 19.94 kB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.1444, allocations: 96.48 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.36e-05/0.1444, allocations: 19.94 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.1449, allocations: 59.44 kB / 492.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.145, allocations: 31.98 kB / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001914/0.1452, allocations: 149.5 kB / 492.7 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.1453, allocations: 19.81 kB / 492.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.1458, allocations: 144.5 kB / 492.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.1458, allocations: 3.938 kB / 492.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1458, allocations: 0 / 492.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1458, allocations: 0 / 492.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006922/0.1465, allocations: 408.9 kB / 493.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1466, allocations: 0 / 493.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.1467, allocations: 27.86 kB / 493.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1467, allocations: 4 kB / 493.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1467, allocations: 0 / 493.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1467, allocations: 0 / 493.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1467, allocations: 4 kB / 493.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1471, allocations: 205.8 kB / 493.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.1472, allocations: 108.8 kB / 493.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.1473, allocations: 4 kB / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1476, allocations: 0 / 493.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1476, allocations: 12.05 kB / 493.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.1477, allocations: 12 kB / 493.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.1479, allocations: 156.5 kB / 493.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1479, allocations: 0 / 493.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000919/0.1488, allocations: 96.11 kB / 493.8 MB, free: 7.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0004325/0.1493, allocations: 155.6 kB / 494 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.1497, allocations: 170 kB / 494.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1498, allocations: 0 / 494.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.1498, allocations: 28.48 kB / 494.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.1507, allocations: 46.81 kB / 494.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1522, allocations: 0.6785 MB / 494.9 MB, free: 5.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1527, allocations: 0.7248 MB / 495.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.1528, allocations: 35.42 kB / 495.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1528, allocations: 4 kB / 495.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Templates: time 0.0106/0.1634, allocations: 3.29 MB / 499 MB, free: 1.875 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches