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.001326/0.001326, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001141/0.001141, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.355/1.355, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2063/0.2063, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.41 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1212, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007893/0.1292, allocations: 4.54 MB / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.1358, allocations: 4.01 MB / 478.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.1361, allocations: 0 / 478.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.1365, allocations: 55.61 kB / 478.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.1393, allocations: 0.7227 MB / 479.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.1398, allocations: 138.3 kB / 479.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.1406, allocations: 358.2 kB / 479.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.1407, allocations: 13.67 kB / 479.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.141, allocations: 147.4 kB / 479.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.1414, allocations: 151.5 kB / 480 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.1414, allocations: 8 kB / 480 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.1429, allocations: 423.4 kB / 480.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1431, allocations: 47.81 kB / 480.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.1433, allocations: 107.5 kB / 480.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.1445, allocations: 471.1 kB / 481.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1445, allocations: 0 / 481.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1445, allocations: 4 kB / 481.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1445, allocations: 0 / 481.1 MB, free: 3.188 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.001635/0.1462, allocations: 0.593 MB / 481.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1462, allocations: 12.03 kB / 481.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.1465, allocations: 28.73 kB / 481.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1468, allocations: 224 kB / 481.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.147, allocations: 127.9 kB / 482 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.1471, allocations: 24.38 kB / 482.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.1478, allocations: 331.6 kB / 482.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1478, allocations: 0 / 482.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.1479, allocations: 12 kB / 482.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.1479, allocations: 4 kB / 482.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1491, allocations: 0.743 MB / 483.2 MB, free: 0.9648 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.001909/0.151, allocations: 1.3 MB / 484.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.1515, allocations: 167.7 kB / 484.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1517, allocations: 89.41 kB / 484.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003677/0.1554, allocations: 2.798 MB / 487.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.1555, allocations: 34.56 kB / 487.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.776e-06/0.1555, allocations: 4 kB / 487.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004553/0.1559, allocations: 125.2 kB / 487.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.156, allocations: 55.41 kB / 487.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1563, allocations: 219.9 kB / 487.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1564, allocations: 29.7 kB / 488 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1566, allocations: 214.6 kB / 488.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.1567, allocations: 47.39 kB / 488.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1568, allocations: 81.94 kB / 488.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.157, allocations: 334.8 kB / 488.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1571, allocations: 48.84 kB / 488.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.1576, allocations: 347.2 kB / 489 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.1582, allocations: 440.5 kB / 489.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.1582, allocations: 4 kB / 489.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008136/0.1591, allocations: 385.1 kB / 489.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.1591, allocations: 11.98 kB / 489.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.1591, allocations: 12 kB / 489.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.1592, allocations: 20.69 kB / 489.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1596, allocations: 91.84 kB / 490 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.301e-05/0.1596, allocations: 27.92 kB / 490 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.1601, allocations: 51.44 kB / 490 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.1602, allocations: 28 kB / 490.1 MB, free: 9.035 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.0001893/0.1604, allocations: 157.5 kB / 490.2 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.1605, allocations: 19.81 kB / 490.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.1609, allocations: 148.8 kB / 490.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.161, allocations: 3.938 kB / 490.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.161, allocations: 0 / 490.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.161, allocations: 3.984 kB / 490.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.1617, allocations: 408.9 kB / 490.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1617, allocations: 0 / 490.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.1618, allocations: 15.94 kB / 490.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1618, allocations: 0 / 490.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1619, allocations: 4 kB / 490.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1619, allocations: 0 / 490.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1619, allocations: 7.984 kB / 490.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1621, allocations: 209.9 kB / 491 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1623, allocations: 104.8 kB / 491.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.1624, allocations: 0 / 491.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.1626, allocations: 4 kB / 491.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1627, allocations: 11.98 kB / 491.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1627, allocations: 8.062 kB / 491.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.1629, allocations: 160.5 kB / 491.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1629, allocations: 0 / 491.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000914/0.1639, allocations: 87.94 kB / 491.4 MB, free: 7.574 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.0005037/0.1644, allocations: 163.1 kB / 491.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.1648, allocations: 174.2 kB / 491.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1648, allocations: 0 / 491.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.1649, allocations: 19.94 kB / 491.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.1656, allocations: 55.78 kB / 491.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.167, allocations: 0.5676 MB / 492.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1674, allocations: 0.7322 MB / 493.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.1675, allocations: 27.44 kB / 493.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1675, allocations: 4 kB / 493.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of Templates: time 0.00816/0.1757, allocations: 3.306 MB / 496.4 MB, free: 2.469 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