Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.0007314/0.0007314, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.00184, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007281/0.0007281, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.001999, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8905/0.8905, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1437/1.034, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.237e-05, allocations: 2.312 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01148/0.01151, allocations: 5.949 MB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.01253, allocations: 0.7512 MB / 228.6 MB, free: 9.395 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.01266, allocations: 4 kB / 228.6 MB, free: 9.391 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.01293, allocations: 99.23 kB / 228.7 MB, free: 9.293 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.01335, allocations: 329.9 kB / 229 MB, free: 8.969 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.01391, allocations: 395.1 kB / 229.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.01444, allocations: 0.8637 MB / 230.3 MB, free: 7.715 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.01458, allocations: 82.69 kB / 230.3 MB, free: 7.637 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.01503, allocations: 479.7 kB / 230.8 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.01528, allocations: 227.3 kB / 231 MB, free: 6.945 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.01531, allocations: 28 kB / 231.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.01544, allocations: 59.84 kB / 231.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.01551, allocations: 79.72 kB / 231.2 MB, free: 6.781 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.259e-05/0.01561, allocations: 119.8 kB / 231.3 MB, free: 6.664 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.01587, allocations: 259.2 kB / 231.6 MB, free: 6.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.01588, allocations: 7.984 kB / 231.6 MB, free: 6.402 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01588, allocations: 0 / 231.6 MB, free: 6.402 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.0159, allocations: 0 / 231.6 MB, free: 6.402 MB / 234.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.0005523/0.01645, allocations: 0.5503 MB / 232.1 MB, free: 5.828 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.01648, allocations: 8.031 kB / 232.1 MB, free: 5.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.01669, allocations: 153.8 kB / 232.3 MB, free: 5.652 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.01689, allocations: 197.3 kB / 232.5 MB, free: 5.434 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.01691, allocations: 20.88 kB / 232.5 MB, free: 5.414 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.01694, allocations: 24.38 kB / 232.5 MB, free: 5.391 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.01723, allocations: 490.9 kB / 233 MB, free: 4.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01724, allocations: 0 / 233 MB, free: 4.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.01726, allocations: 12 kB / 233 MB, free: 4.809 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01727, allocations: 8 kB / 233 MB, free: 4.801 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01737, allocations: 104.1 kB / 233.1 MB, free: 4.695 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.01821, allocations: 1.151 MB / 234.3 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.01831, allocations: 82.47 kB / 234.3 MB, free: 3.406 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.01835, allocations: 32.84 kB / 234.4 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.01838, allocations: 16 kB / 234.4 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.0184, allocations: 38.83 kB / 234.4 MB, free: 3.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.01841, allocations: 0 / 234.4 MB, free: 3.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007192/0.01912, allocations: 491.3 kB / 234.9 MB, free: 2.793 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.01915, allocations: 51.41 kB / 235 MB, free: 2.73 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.01927, allocations: 244.7 kB / 235.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01929, allocations: 29.7 kB / 235.2 MB, free: 2.441 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.01936, allocations: 187.9 kB / 235.4 MB, free: 2.254 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.01939, allocations: 71.41 kB / 235.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.01944, allocations: 65.95 kB / 235.5 MB, free: 2.109 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.01951, allocations: 334.7 kB / 235.9 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.01953, allocations: 28.64 kB / 235.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.01962, allocations: 143.8 kB / 236 MB, free: 1.555 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01975, allocations: 209 kB / 236.2 MB, free: 1.297 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01975, allocations: 4 kB / 236.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000188/0.01994, allocations: 210.3 kB / 236.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.01995, allocations: 4 kB / 236.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01996, allocations: 4 kB / 236.5 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.958e-05/0.02001, allocations: 16.86 kB / 236.5 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.02022, allocations: 91.88 kB / 236.6 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006035/0.02083, allocations: 1.182 MB / 237.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.0209, allocations: 12 kB / 237.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.02092, allocations: 12 kB / 237.8 MB, free: 15.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (38): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.02099, allocations: 128.6 kB / 237.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.02102, allocations: 23.97 kB / 237.9 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.02116, allocations: 127.1 kB / 238 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.02116, allocations: 3.984 kB / 238 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.02116, allocations: 8 kB / 238.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000153/0.02131, allocations: 407.8 kB / 238.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.02172, allocations: 399.5 kB / 238.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.02172, allocations: 3.938 kB / 238.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.02182, allocations: 43.97 kB / 238.9 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.02184, allocations: 19.86 kB / 238.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.02185, allocations: 12.17 kB / 238.9 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.02185, allocations: 7.938 kB / 238.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.02186, allocations: 4 kB / 238.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.02186, allocations: 4 kB / 238.9 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.02202, allocations: 267.4 kB / 239.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.02204, allocations: 8 kB / 239.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.02213, allocations: 8 kB / 239.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.02215, allocations: 15.97 kB / 239.2 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.02217, allocations: 8 kB / 239.2 MB, free: 14.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.02221, allocations: 78.8 kB / 239.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02221, allocations: 0 / 239.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.02243, allocations: 83.94 kB / 239.4 MB, free: 13.86 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (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 (18): * Single equations (assignments): 18 * Array equations: 0 * 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.0001346/0.02257, allocations: 96.28 kB / 239.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.02279, allocations: 243.8 kB / 239.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.0228, allocations: 4 kB / 239.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.02284, allocations: 52.69 kB / 239.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.0232, allocations: 144.7 kB / 239.9 MB, free: 13.31 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.02711, allocations: 0.5366 MB / 240.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.02717, allocations: 84.62 kB / 240.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.02729, allocations: 42.97 kB / 240.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.02751, allocations: 153.2 kB / 240.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02751, allocations: 0 / 240.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of Templates: time 0.006676/0.03419, allocations: 5.198 MB / 245.9 MB, free: 7.242 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.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.6243727346882224]