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.001439/0.001439, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001671/0.001671, allocations: 165.7 kB / 25.75 MB, free: 8.922 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 0.9836/0.9836, allocations: 158.6 MB / 187.6 MB, free: 2.938 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.784e-06/1.784e-06, allocations: 0 / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.459e-05, allocations: 2.312 kB / 251.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01297/0.013, allocations: 16.44 MB / 267.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.015, allocations: 1.967 MB / 269.6 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.01516, allocations: 7.938 kB / 269.6 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.01566, allocations: 170.9 kB / 269.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.01614, allocations: 325.9 kB / 270.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.01666, allocations: 299.2 kB / 270.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000721/0.01738, allocations: 0.8442 MB / 271.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.01754, allocations: 68.75 kB / 271.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009065/0.01845, allocations: 0.6384 MB / 271.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.01875, allocations: 255.2 kB / 272.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.01879, allocations: 32 kB / 272.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.01889, allocations: 32 kB / 272.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.01898, allocations: 99.64 kB / 272.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.0191, allocations: 135.8 kB / 272.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.01944, allocations: 283.1 kB / 272.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01944, allocations: 0 / 272.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01944, allocations: 0 / 272.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.01945, allocations: 4 kB / 272.7 MB, free: 2.102 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.0006994/0.02015, allocations: 0.6126 MB / 273.3 MB, free: 1.453 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.02018, allocations: 15.98 kB / 273.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.02043, allocations: 88.39 kB / 273.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.02099, allocations: 232.1 kB / 273.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.02101, allocations: 12.88 kB / 273.7 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.02105, allocations: 32.38 kB / 273.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.02144, allocations: 417.6 kB / 274.1 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.02145, allocations: 4.188 kB / 274.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.02148, allocations: 12.12 kB / 274.1 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.02149, allocations: 8 kB / 274.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.02168, allocations: 130.8 kB / 274.3 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.02287, allocations: 1.414 MB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.0231, allocations: 135.1 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.02318, allocations: 56.05 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.02321, allocations: 11.92 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.02323, allocations: 37.39 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.02324, allocations: 0 / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001481/0.02472, allocations: 0.7229 MB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.02474, allocations: 55.41 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.02493, allocations: 282.6 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.02495, allocations: 29.7 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.02505, allocations: 235.1 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.0251, allocations: 99.16 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.02518, allocations: 67.36 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.0253, allocations: 0.504 MB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.02538, allocations: 43.97 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.02553, allocations: 179.6 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.02578, allocations: 255.7 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02579, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004164/0.0262, allocations: 332.5 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.02622, allocations: 8 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.02623, allocations: 4 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.02643, allocations: 63.64 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.02661, allocations: 67.91 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.02851, allocations: 3.527 MB / 282.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.02862, allocations: 8 kB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.02864, allocations: 12 kB / 282.4 MB, free: 7.734 MB / 266.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 0.0001081/0.02874, allocations: 184.4 kB / 282.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.02879, allocations: 35.75 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.02883, allocations: 33.97 kB / 282.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.02883, allocations: 4.031 kB / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.02883, allocations: 0 / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003655/0.0292, allocations: 0.5072 MB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.02981, allocations: 0.5828 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02981, allocations: 4 kB / 283.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.02992, allocations: 39.97 kB / 283.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.03007, allocations: 63.48 kB / 283.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.03009, allocations: 15.98 kB / 283.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007968/0.03088, allocations: 1.779 MB / 285.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03088, allocations: 0 / 285.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.03134, allocations: 436.2 kB / 286 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.03137, allocations: 23.86 kB / 286.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.03139, allocations: 8 kB / 286.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.03149, allocations: 7.938 kB / 286.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.03153, allocations: 19.95 kB / 286.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.03155, allocations: 12 kB / 286.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.03165, allocations: 188.8 kB / 286.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03165, allocations: 4.062 kB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.03194, allocations: 84 kB / 286.4 MB, free: 3.414 MB / 266.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 0.0001199/0.03206, allocations: 107.1 kB / 286.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.03261, allocations: 0.5185 MB / 287 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.03261, allocations: 0 / 287 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.03284, allocations: 273.3 kB / 287.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.03332, allocations: 136.2 kB / 287.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.03484, allocations: 0.6077 MB / 288 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.0349, allocations: 96.56 kB / 288.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00017/0.03507, allocations: 46.95 kB / 288.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.03512, allocations: 24.5 kB / 288.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.593e-06/0.03512, allocations: 0 / 288.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of Templates: time 0.007081/0.0422, allocations: 5.183 MB / 293.4 MB, free: 12.37 MB / 282.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 -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.8755610450170934]