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.001342/0.001342, allocations: 106.1 kB / 15.98 MB, free: 6.359 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.001391/0.001391, allocations: 193.4 kB / 16.91 MB, free: 6.191 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.685/1.685, allocations: 205.1 MB / 222.8 MB, free: 4.723 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.5608/0.5608, allocations: 43.5 MB / 313.6 MB, free: 8.484 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.001433/0.001433, allocations: 72.41 kB / 382.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 57.78 MB / 440 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006528/0.1606, allocations: 4.582 MB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1653, allocations: 4.002 MB / 448.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1655, allocations: 4 kB / 448.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1659, allocations: 47.72 kB / 448.6 MB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.1686, allocations: 0.6687 MB / 449.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.169, allocations: 127.8 kB / 449.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.1697, allocations: 378.1 kB / 449.8 MB, free: 4.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.1698, allocations: 13.67 kB / 449.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.1701, allocations: 147.4 kB / 450 MB, free: 4.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1704, allocations: 151.4 kB / 450.1 MB, free: 4.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1704, allocations: 8 kB / 450.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1716, allocations: 439.4 kB / 450.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1718, allocations: 47.75 kB / 450.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1719, allocations: 107.5 kB / 450.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.1729, allocations: 475 kB / 451.2 MB, free: 3.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1729, allocations: 0 / 451.2 MB, free: 3.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1729, allocations: 0 / 451.2 MB, free: 3.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1729, allocations: 4 kB / 451.2 MB, free: 3.543 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.001363/0.1743, allocations: 0.597 MB / 451.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1743, allocations: 11.89 kB / 451.8 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.1745, allocations: 28.66 kB / 451.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1748, allocations: 228 kB / 452 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.1749, allocations: 127.9 kB / 452.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.175, allocations: 20.38 kB / 452.2 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.1756, allocations: 323.6 kB / 452.5 MB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1756, allocations: 4 kB / 452.5 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.1756, allocations: 8 kB / 452.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.1757, allocations: 12 kB / 452.5 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.1765, allocations: 0.7391 MB / 453.2 MB, free: 1.32 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.3007/0.4772, allocations: 1.3 MB / 454.5 MB, free: 49.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.4778, allocations: 154.8 kB / 454.7 MB, free: 49.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.478, allocations: 92.56 kB / 454.8 MB, free: 49.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/0.4799, allocations: 2.809 MB / 457.6 MB, free: 46.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.4799, allocations: 37.81 kB / 457.6 MB, free: 46.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.48, allocations: 0 / 457.6 MB, free: 46.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003016/0.4803, allocations: 117.7 kB / 457.7 MB, free: 46.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.4803, allocations: 57.39 kB / 457.8 MB, free: 46.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.4805, allocations: 217.1 kB / 458 MB, free: 46.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4805, allocations: 34.08 kB / 458 MB, free: 46.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.4806, allocations: 214.2 kB / 458.3 MB, free: 46.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.4806, allocations: 44.38 kB / 458.3 MB, free: 46.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.4807, allocations: 85.78 kB / 458.4 MB, free: 46.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.4808, allocations: 340.6 kB / 458.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.4809, allocations: 41.16 kB / 458.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.481, allocations: 347.3 kB / 459.1 MB, free: 45.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.4814, allocations: 440.6 kB / 459.5 MB, free: 44.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.4814, allocations: 4.391 kB / 459.5 MB, free: 44.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004991/0.4819, allocations: 384 kB / 459.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.482, allocations: 8.531 kB / 459.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.482, allocations: 12.05 kB / 459.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.482, allocations: 17.41 kB / 459.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.4822, allocations: 100.4 kB / 460 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.4823, allocations: 21.33 kB / 460.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4825, allocations: 52.06 kB / 460.1 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.4826, allocations: 28.56 kB / 460.1 MB, free: 44.91 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.0001121/0.4827, allocations: 156.7 kB / 460.3 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.4827, allocations: 21.12 kB / 460.3 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.483, allocations: 144.6 kB / 460.5 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.483, allocations: 3.062 kB / 460.5 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.483, allocations: 1.25 kB / 460.5 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.4831, allocations: 8.125 kB / 460.5 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.4835, allocations: 404.2 kB / 460.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4835, allocations: 3.156 kB / 460.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.4836, allocations: 16.34 kB / 460.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4836, allocations: 7.062 kB / 460.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4836, allocations: 9.406 kB / 460.9 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4836, allocations: 3.094 kB / 460.9 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4836, allocations: 0 / 460.9 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.4838, allocations: 201.4 kB / 461.1 MB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.4838, allocations: 102.3 kB / 461.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.4839, allocations: 17.09 kB / 461.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.484, allocations: 6.844 kB / 461.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.4841, allocations: 6.875 kB / 461.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4841, allocations: 2.938 kB / 461.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.4842, allocations: 156.8 kB / 461.4 MB, free: 44.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4842, allocations: 0 / 461.4 MB, free: 44.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005053/0.4847, allocations: 95.03 kB / 461.5 MB, free: 44.03 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.0004244/0.4851, allocations: 162.9 kB / 461.6 MB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.4855, allocations: 174.9 kB / 461.8 MB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4855, allocations: 4.688 kB / 461.8 MB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.4855, allocations: 24.34 kB / 461.8 MB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.4859, allocations: 44.88 kB / 461.9 MB, free: 43.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.487, allocations: 0.5978 MB / 462.5 MB, free: 43.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4872, allocations: 0.7264 MB / 463.2 MB, free: 42.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.4874, allocations: 52.16 kB / 463.3 MB, free: 42.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.4875, allocations: 27.09 kB / 463.3 MB, free: 42.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4875, allocations: 0 / 463.3 MB, free: 42.91 MB / 382.1 MB Notification: Performance of Templates: time 0.006528/0.494, allocations: 3.083 MB / 466.4 MB, free: 42.62 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