Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009594/0.0009594, allocations: 165.6 kB / 25.69 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.003/1.003, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.662e-05, allocations: 6.312 kB / 251.6 MB, free: 7.156 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.004812/0.004828, allocations: 5.516 MB / 257.2 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.005607, allocations: 0.6619 MB / 257.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.00572, allocations: 4 kB / 257.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.005998, allocations: 99.3 kB / 257.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.006369, allocations: 329.9 kB / 258.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.006729, allocations: 303.4 kB / 258.5 MB, free: 220 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000587/0.007316, allocations: 0.8793 MB / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.007447, allocations: 74.72 kB / 259.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006123/0.008059, allocations: 0.6193 MB / 260.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.008297, allocations: 231.3 kB / 260.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.00833, allocations: 31.94 kB / 260.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.008414, allocations: 47.92 kB / 260.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.008494, allocations: 103.7 kB / 260.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.008589, allocations: 131.7 kB / 260.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.008837, allocations: 279.2 kB / 260.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.008839, allocations: 0 / 260.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00884, allocations: 0 / 260.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.008843, allocations: 0 / 260.9 MB, free: 13.83 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005232/0.009366, allocations: 496 kB / 261.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.009399, allocations: 11.98 kB / 261.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.00959, allocations: 76.64 kB / 261.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.009807, allocations: 205.2 kB / 261.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.009823, allocations: 20.88 kB / 261.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.009856, allocations: 28.38 kB / 261.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.01012, allocations: 385.7 kB / 262.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01013, allocations: 192 / 262.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.01015, allocations: 16.12 kB / 262.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.01016, allocations: 8 kB / 262.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.01027, allocations: 91.3 kB / 262.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.01108, allocations: 0.9683 MB / 263.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.01122, allocations: 106.5 kB / 263.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.01127, allocations: 44.83 kB / 263.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01129, allocations: 8 kB / 263.3 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.01132, allocations: 38.88 kB / 263.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.01132, allocations: 0 / 263.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.001202/0.01252, allocations: 0.6669 MB / 264 MB, free: 10.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.01255, allocations: 55.41 kB / 264.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.01267, allocations: 211.3 kB / 264.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01269, allocations: 33.7 kB / 264.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.01276, allocations: 180.3 kB / 264.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.0128, allocations: 99.14 kB / 264.6 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.01287, allocations: 69.67 kB / 264.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.01295, allocations: 338.7 kB / 265 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.01299, allocations: 31.98 kB / 265 MB, free: 9.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.01308, allocations: 130.8 kB / 265.2 MB, free: 9.262 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.01324, allocations: 189.7 kB / 265.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01324, allocations: 0 / 265.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002655/0.01351, allocations: 239.3 kB / 265.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01352, allocations: 8 kB / 265.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01353, allocations: 0 / 265.6 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.01368, allocations: 53.61 kB / 265.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.01386, allocations: 79.89 kB / 265.7 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.01507, allocations: 2.372 MB / 268.1 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.01517, allocations: 12.12 kB / 268.1 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.01518, allocations: 12 kB / 268.1 MB, free: 6.07 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.652e-05/0.01527, allocations: 140.5 kB / 268.3 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.0153, allocations: 23.98 kB / 268.3 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.01533, allocations: 33.95 kB / 268.3 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01533, allocations: 0 / 268.3 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01534, allocations: 4 kB / 268.3 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002681/0.01561, allocations: 476.4 kB / 268.8 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.01603, allocations: 412.5 kB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01604, allocations: 0 / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.01616, allocations: 47.91 kB / 269.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.01628, allocations: 52.95 kB / 269.3 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01629, allocations: 8 kB / 269.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005989/0.01689, allocations: 1.202 MB / 270.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01689, allocations: 0 / 270.5 MB, free: 3.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.01719, allocations: 326.8 kB / 270.8 MB, free: 3.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.01721, allocations: 19.84 kB / 270.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.01723, allocations: 11.94 kB / 270.8 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.01732, allocations: 4 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.01734, allocations: 15.97 kB / 270.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01736, allocations: 11.98 kB / 270.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.782e-05/0.0174, allocations: 61.67 kB / 270.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0174, allocations: 7.938 kB / 270.9 MB, free: 3.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01762, allocations: 84 kB / 271 MB, free: 2.922 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.365e-05/0.01771, allocations: 88.38 kB / 271.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.01812, allocations: 393.6 kB / 271.5 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.01812, allocations: 4 kB / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.0183, allocations: 195.4 kB / 271.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.01868, allocations: 136.6 kB / 271.8 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.01964, allocations: 0.5709 MB / 272.4 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.01969, allocations: 96.55 kB / 272.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.01982, allocations: 42.97 kB / 272.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.02002, allocations: 141.2 kB / 272.7 MB, free: 1.176 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02002, allocations: 0 / 272.7 MB, free: 1.176 MB / 250.7 MB Notification: Performance of Templates: time 0.007463/0.02748, allocations: 5.701 MB / 278.4 MB, free: 11.52 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6303541748784482]