Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009096/0.0009093, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 184.4 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.57 MB / 315 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005533, allocations: 12 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006283/0.1577, allocations: 4.224 MB / 447.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.1628, allocations: 4.006 MB / 451.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.163, allocations: 0 / 451.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1634, allocations: 43.73 kB / 451.7 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.1657, allocations: 0.657 MB / 452.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1662, allocations: 139.8 kB / 452.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.1668, allocations: 446 kB / 452.9 MB, free: 3.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.1669, allocations: 13.67 kB / 453 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1671, allocations: 135.4 kB / 453.1 MB, free: 3.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.1673, allocations: 155.4 kB / 453.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1674, allocations: 8 kB / 453.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.1683, allocations: 443.3 kB / 453.7 MB, free: 2.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.1684, allocations: 35.89 kB / 453.7 MB, free: 2.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1686, allocations: 133.2 kB / 453.9 MB, free: 2.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.1693, allocations: 475 kB / 454.3 MB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1693, allocations: 0 / 454.3 MB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1693, allocations: 0 / 454.3 MB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1694, allocations: 4 kB / 454.3 MB, free: 1.996 MB / 382.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.001284/0.1706, allocations: 0.5423 MB / 454.9 MB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.1707, allocations: 8.031 kB / 454.9 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.1709, allocations: 36.66 kB / 454.9 MB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1713, allocations: 224.1 kB / 455.1 MB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.1714, allocations: 119.9 kB / 455.2 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.1715, allocations: 20.38 kB / 455.3 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.1722, allocations: 339.5 kB / 455.6 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1722, allocations: 0 / 455.6 MB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.1722, allocations: 12 kB / 455.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.1723, allocations: 8 kB / 455.6 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2861/0.4584, allocations: 0.7336 MB / 456.3 MB, free: 46.7 MB / 382.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.001396/0.4598, allocations: 1.306 MB / 457.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.4602, allocations: 162 kB / 457.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.4603, allocations: 87.72 kB / 457.9 MB, free: 45.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/0.4622, allocations: 2.816 MB / 460.7 MB, free: 42.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4623, allocations: 33 kB / 460.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.4623, allocations: 0 / 460.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002662/0.4625, allocations: 118.8 kB / 460.9 MB, free: 42.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.4626, allocations: 54.73 kB / 460.9 MB, free: 42.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.4627, allocations: 217.6 kB / 461.1 MB, free: 42.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.4628, allocations: 29.83 kB / 461.2 MB, free: 42.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.4629, allocations: 224.9 kB / 461.4 MB, free: 42.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.4629, allocations: 40.64 kB / 461.4 MB, free: 42.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.463, allocations: 44.14 kB / 461.5 MB, free: 42.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.463, allocations: 328.7 kB / 461.8 MB, free: 41.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.4631, allocations: 48.47 kB / 461.8 MB, free: 41.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4633, allocations: 345.8 kB / 462.2 MB, free: 41.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.4636, allocations: 445.3 kB / 462.6 MB, free: 41.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4636, allocations: 2.656 kB / 462.6 MB, free: 41.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004697/0.4641, allocations: 382.6 kB / 463 MB, free: 41.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4642, allocations: 10.69 kB / 463 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4642, allocations: 8.312 kB / 463 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.4642, allocations: 14.56 kB / 463 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.4644, allocations: 98.09 kB / 463.1 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.4645, allocations: 25.81 kB / 463.1 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.4647, allocations: 54.38 kB / 463.2 MB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.4648, allocations: 28.64 kB / 463.2 MB, free: 41.05 MB / 382.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.000103/0.4649, allocations: 153.2 kB / 463.4 MB, free: 40.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.4649, allocations: 24.22 kB / 463.4 MB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.4652, allocations: 148.9 kB / 463.5 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4652, allocations: 2.719 kB / 463.5 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4652, allocations: 3.281 kB / 463.5 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4652, allocations: 3.938 kB / 463.5 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.4656, allocations: 409.9 kB / 463.9 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4656, allocations: 0 / 463.9 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.4656, allocations: 16.06 kB / 464 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4657, allocations: 3.938 kB / 464 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4657, allocations: 6.875 kB / 464 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4657, allocations: 0.7656 kB / 464 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4657, allocations: 6.281 kB / 464 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.4658, allocations: 196.5 kB / 464.2 MB, free: 40.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.4659, allocations: 110.4 kB / 464.3 MB, free: 40.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.4659, allocations: 6.938 kB / 464.3 MB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4661, allocations: 12.92 kB / 464.3 MB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.4661, allocations: 6.75 kB / 464.3 MB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.4661, allocations: 10.09 kB / 464.3 MB, free: 40.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.963e-05/0.4662, allocations: 154.2 kB / 464.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4662, allocations: 0 / 464.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.4667, allocations: 94.69 kB / 464.5 MB, free: 40.14 MB / 382.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.000348/0.4671, allocations: 172.2 kB / 464.7 MB, free: 40.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4673, allocations: 167 kB / 464.9 MB, free: 40.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4673, allocations: 1 kB / 464.9 MB, free: 40.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.4674, allocations: 25.81 kB / 464.9 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.4678, allocations: 49.44 kB / 465 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.4688, allocations: 0.64 MB / 465.6 MB, free: 39.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.469, allocations: 0.7272 MB / 466.3 MB, free: 38.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.4692, allocations: 48.06 kB / 466.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.4693, allocations: 27.41 kB / 466.4 MB, free: 38.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4693, allocations: 0 / 466.4 MB, free: 38.96 MB / 382.1 MB Notification: Performance of Templates: time 0.006222/0.4755, allocations: 3.005 MB / 469.4 MB, free: 38.67 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches