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.00138/0.001379, allocations: 104.3 kB / 18.4 MB, free: 4.699 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.001398/0.001398, allocations: 191 kB / 19.34 MB, free: 3.766 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.383/1.383, 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.2412/0.2412, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.3 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006197/0.1378, allocations: 4.535 MB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.1422, allocations: 4.018 MB / 479.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1424, allocations: 0 / 479.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.1427, allocations: 55.66 kB / 479.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1446, allocations: 0.7227 MB / 480 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1449, allocations: 131.4 kB / 480.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.1454, allocations: 370.1 kB / 480.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.1455, allocations: 17.69 kB / 480.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1457, allocations: 143.5 kB / 480.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1459, allocations: 147.5 kB / 480.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.146, allocations: 8 kB / 480.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.1468, allocations: 427.5 kB / 481.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.1469, allocations: 51.75 kB / 481.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.147, allocations: 103.5 kB / 481.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1478, allocations: 470.9 kB / 481.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1478, allocations: 0 / 481.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1478, allocations: 0 / 481.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1478, allocations: 0 / 481.9 MB, free: 2.473 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.001183/0.149, allocations: 0.5969 MB / 482.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.1491, allocations: 12.03 kB / 482.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1492, allocations: 32.67 kB / 482.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1497, allocations: 220 kB / 482.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.1499, allocations: 127.9 kB / 482.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.1499, allocations: 24.36 kB / 482.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.1505, allocations: 327.6 kB / 483.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1505, allocations: 0 / 483.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.1505, allocations: 12 kB / 483.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.1506, allocations: 8 kB / 483.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.1514, allocations: 0.7429 MB / 483.9 MB, free: 252 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.00153/0.1529, allocations: 1.3 MB / 485.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1533, allocations: 155.8 kB / 485.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1535, allocations: 93.34 kB / 485.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002575/0.1561, allocations: 2.81 MB / 488.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1561, allocations: 34.56 kB / 488.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1561, allocations: 0 / 488.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002964/0.1564, allocations: 121.2 kB / 488.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1565, allocations: 55.41 kB / 488.5 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1567, allocations: 223.8 kB / 488.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1567, allocations: 29.7 kB / 488.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1568, allocations: 218.6 kB / 489 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1569, allocations: 51.39 kB / 489 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.157, allocations: 85.92 kB / 489.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1571, allocations: 330.8 kB / 489.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1572, allocations: 48.84 kB / 489.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.1574, allocations: 347.2 kB / 489.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.1578, allocations: 440.6 kB / 490.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.1578, allocations: 4 kB / 490.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005166/0.1583, allocations: 389.6 kB / 490.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1584, allocations: 8.219 kB / 490.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.1584, allocations: 16 kB / 490.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1584, allocations: 15.94 kB / 490.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.1587, allocations: 107.8 kB / 490.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.1587, allocations: 15.94 kB / 490.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.1589, allocations: 51.44 kB / 490.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.1589, allocations: 28 kB / 490.9 MB, free: 8.301 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.0001281/0.1591, allocations: 153.6 kB / 491 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.1591, allocations: 19.81 kB / 491 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.1594, allocations: 140.5 kB / 491.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.1594, allocations: 3.938 kB / 491.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1594, allocations: 0 / 491.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1594, allocations: 3.984 kB / 491.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1599, allocations: 412.8 kB / 491.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1599, allocations: 0 / 491.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.16, allocations: 12 kB / 491.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.16, allocations: 4 kB / 491.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.16, allocations: 0 / 491.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.16, allocations: 3.984 kB / 491.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.16, allocations: 4.094 kB / 491.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1602, allocations: 209.8 kB / 491.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.1603, allocations: 104.8 kB / 491.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1603, allocations: 0 / 491.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1605, allocations: 4 kB / 491.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1605, allocations: 15.98 kB / 491.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1605, allocations: 4 kB / 491.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1607, allocations: 156.5 kB / 492.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1607, allocations: 0 / 492.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.1612, allocations: 91.94 kB / 492.2 MB, free: 6.852 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.0002696/0.1615, allocations: 163.3 kB / 492.3 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.1618, allocations: 170.2 kB / 492.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1618, allocations: 0 / 492.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.1618, allocations: 28.12 kB / 492.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1622, allocations: 52.52 kB / 492.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.1632, allocations: 0.5271 MB / 493.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1635, allocations: 0.7322 MB / 493.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1637, allocations: 50.78 kB / 493.9 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1637, allocations: 23.44 kB / 493.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1637, allocations: 0 / 493.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of Templates: time 0.006482/0.1702, allocations: 3.083 MB / 497 MB, free: 1.992 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 -s cvode -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