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.001456/0.001456, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001753/0.001753, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.351/1.351, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2129/0.2129, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 56.59 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006851/0.1246, allocations: 4.54 MB / 473.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.1292, allocations: 4.006 MB / 477.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1294, allocations: 0 / 477.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.1296, allocations: 55.59 kB / 477.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.1317, allocations: 0.7266 MB / 478.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.132, allocations: 145.5 kB / 478.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.1325, allocations: 362.2 kB / 479.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1325, allocations: 9.688 kB / 479.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1327, allocations: 147.4 kB / 479.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1329, allocations: 147.4 kB / 479.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.1329, allocations: 8 kB / 479.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008337/0.1338, allocations: 435.5 kB / 479.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1339, allocations: 43.81 kB / 479.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.134, allocations: 103.5 kB / 479.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.1347, allocations: 467.1 kB / 480.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1347, allocations: 0 / 480.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1347, allocations: 0 / 480.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1347, allocations: 0 / 480.4 MB, free: 3.195 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.0009771/0.1357, allocations: 0.6047 MB / 481 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.1357, allocations: 12.03 kB / 481 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1359, allocations: 24.75 kB / 481 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1361, allocations: 224 kB / 481.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.1362, allocations: 123.9 kB / 481.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1363, allocations: 20.38 kB / 481.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.1367, allocations: 327.6 kB / 481.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1368, allocations: 0 / 481.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.1368, allocations: 15.94 kB / 481.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.1368, allocations: 12 kB / 481.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.1375, allocations: 0.7391 MB / 482.5 MB, free: 0.9688 MB / 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.001287/0.1388, allocations: 1.3 MB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.1392, allocations: 163.1 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1393, allocations: 93.42 kB / 484 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/0.1416, allocations: 2.802 MB / 486.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1416, allocations: 34.56 kB / 486.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1416, allocations: 0 / 486.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002592/0.1419, allocations: 125.2 kB / 487 MB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1419, allocations: 55.39 kB / 487 MB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1421, allocations: 223.9 kB / 487.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1421, allocations: 25.7 kB / 487.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1422, allocations: 222.6 kB / 487.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1423, allocations: 43.33 kB / 487.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.301e-05/0.1423, allocations: 89.92 kB / 487.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.1424, allocations: 326.8 kB / 488 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.1425, allocations: 44.84 kB / 488 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1428, allocations: 347.2 kB / 488.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.1432, allocations: 448.5 kB / 488.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1432, allocations: 4 kB / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005199/0.1438, allocations: 381.5 kB / 489.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1438, allocations: 8 kB / 489.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1438, allocations: 12 kB / 489.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.1438, allocations: 15.94 kB / 489.2 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.1441, allocations: 103.8 kB / 489.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.1441, allocations: 19.92 kB / 489.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1443, allocations: 51.44 kB / 489.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1444, allocations: 28 kB / 489.4 MB, free: 9.043 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.0001172/0.1445, allocations: 153.8 kB / 489.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.1446, allocations: 19.81 kB / 489.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.1448, allocations: 148.9 kB / 489.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1449, allocations: 7.875 kB / 489.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1449, allocations: 0 / 489.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1449, allocations: 4 kB / 489.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.1453, allocations: 404.9 kB / 490.1 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1453, allocations: 4 kB / 490.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.1454, allocations: 20.02 kB / 490.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1454, allocations: 4 kB / 490.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1454, allocations: 0 / 490.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1454, allocations: 4 kB / 490.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1454, allocations: 0 / 490.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1457, allocations: 205.8 kB / 490.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.1458, allocations: 104.8 kB / 490.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.1458, allocations: 7.969 kB / 490.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1459, allocations: 4 kB / 490.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.146, allocations: 4 kB / 490.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.146, allocations: 11.98 kB / 490.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1461, allocations: 148.5 kB / 490.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1461, allocations: 0 / 490.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.1466, allocations: 99.92 kB / 490.7 MB, free: 7.582 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.0003303/0.1469, allocations: 163.2 kB / 490.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.1472, allocations: 169.4 kB / 491 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1472, allocations: 4 kB / 491 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.1473, allocations: 23.92 kB / 491.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1477, allocations: 45.59 kB / 491.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.1486, allocations: 0.5347 MB / 491.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.149, allocations: 0.7322 MB / 492.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.1492, allocations: 58.86 kB / 492.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.1492, allocations: 27.42 kB / 492.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1492, allocations: 0 / 492.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of Templates: time 0.005967/0.1552, allocations: 3.096 MB / 495.6 MB, free: 2.703 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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