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.001035/0.001035, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009814/0.0009814, allocations: 171.6 kB / 25.33 MB, free: 8.598 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.8727/0.8727, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.322e-06/1.322e-06, allocations: 0 / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.553e-05, allocations: 2.312 kB / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.006005/0.00602, allocations: 5.494 MB / 256.6 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.007032, allocations: 0.6427 MB / 257.2 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.007173, allocations: 7.938 kB / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.007529, allocations: 95.36 kB / 257.3 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.008035, allocations: 333.8 kB / 257.7 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.00852, allocations: 295.5 kB / 258 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.009272, allocations: 0.8832 MB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.009426, allocations: 72.75 kB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.01028, allocations: 0.6193 MB / 259.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.01061, allocations: 251.2 kB / 259.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.01065, allocations: 28 kB / 259.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.01076, allocations: 36 kB / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.01085, allocations: 103.6 kB / 259.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.011, allocations: 139.7 kB / 260.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.01133, allocations: 275.1 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01133, allocations: 4 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01133, allocations: 4 kB / 260.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01134, allocations: 3.984 kB / 260.4 MB, free: 14.16 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.0007462/0.01209, allocations: 0.6052 MB / 261 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.01212, allocations: 11.98 kB / 261 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.01239, allocations: 88.44 kB / 261.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.01269, allocations: 232.1 kB / 261.3 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.01271, allocations: 20.88 kB / 261.3 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.01277, allocations: 28.38 kB / 261.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.01319, allocations: 417.6 kB / 261.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.0132, allocations: 4.172 kB / 261.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.01323, allocations: 16.12 kB / 261.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.01324, allocations: 8 kB / 261.8 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.01347, allocations: 126.8 kB / 261.9 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01479, allocations: 1.422 MB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.01505, allocations: 142.7 kB / 263.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.01515, allocations: 56.03 kB / 263.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.01518, allocations: 7.938 kB / 263.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.01521, allocations: 41.39 kB / 263.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.01521, allocations: 0 / 263.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.001645/0.01685, allocations: 0.7273 MB / 264.3 MB, free: 9.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.01688, allocations: 55.41 kB / 264.3 MB, free: 9.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.01705, allocations: 282.6 kB / 264.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01707, allocations: 29.7 kB / 264.6 MB, free: 9.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01718, allocations: 235.1 kB / 264.9 MB, free: 9.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.01723, allocations: 95.11 kB / 265 MB, free: 9.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.01731, allocations: 75.3 kB / 265 MB, free: 9.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01743, allocations: 0.5079 MB / 265.5 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.0175, allocations: 43.97 kB / 265.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01763, allocations: 179.7 kB / 265.8 MB, free: 8.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.01785, allocations: 247.7 kB / 266 MB, free: 8.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.01785, allocations: 4 kB / 266 MB, free: 8.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003963/0.01825, allocations: 328.5 kB / 266.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01826, allocations: 4 kB / 266.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01827, allocations: 4 kB / 266.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.01845, allocations: 59.7 kB / 266.4 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01862, allocations: 71.91 kB / 266.5 MB, free: 7.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.02018, allocations: 3.527 MB / 270 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.02028, allocations: 8 kB / 270 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.0203, allocations: 16 kB / 270 MB, free: 3.785 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 9.356e-05/0.02039, allocations: 176.5 kB / 270.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.02043, allocations: 31.8 kB / 270.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.02047, allocations: 37.95 kB / 270.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.02047, allocations: 8.031 kB / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02047, allocations: 0 / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/0.02108, allocations: 0.5032 MB / 270.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.02163, allocations: 0.5906 MB / 271.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02163, allocations: 3.984 kB / 271.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.02174, allocations: 43.92 kB / 271.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.02187, allocations: 55.58 kB / 271.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.02188, allocations: 12 kB / 271.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007251/0.02261, allocations: 1.787 MB / 273.3 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02261, allocations: 0 / 273.3 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.02301, allocations: 432.7 kB / 273.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.02304, allocations: 23.84 kB / 273.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.02306, allocations: 4 kB / 273.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.02315, allocations: 11.94 kB / 273.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.02318, allocations: 15.97 kB / 273.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.02319, allocations: 11.98 kB / 273.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.02328, allocations: 184.8 kB / 273.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02328, allocations: 4.062 kB / 273.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.02354, allocations: 88 kB / 274 MB, free: 15.47 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 8.46e-05/0.02362, allocations: 107.3 kB / 274.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.0241, allocations: 0.5262 MB / 274.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.0241, allocations: 0 / 274.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.0243, allocations: 265.4 kB / 274.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.02473, allocations: 136.5 kB / 275 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02573, allocations: 0.6038 MB / 275.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.02578, allocations: 92.56 kB / 275.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.02592, allocations: 50.94 kB / 275.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.02597, allocations: 24.5 kB / 275.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02597, allocations: 4 kB / 275.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of Templates: time 0.006543/0.03251, allocations: 5.182 MB / 281 MB, free: 8.422 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 -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.909945727325976]