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.0008899/0.0008899, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0008995/0.0008995, allocations: 165.6 kB / 25.7 MB, free: 8.406 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.9263/0.9263, 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.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 2.565e-06/2.565e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/4.083e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.00729/0.007331, allocations: 5.888 MB / 257.5 MB, free: 1.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.008601, allocations: 0.7512 MB / 258.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.008767, allocations: 7.938 kB / 258.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.009151, allocations: 91.36 kB / 258.3 MB, free: 452 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.009754, allocations: 333.9 kB / 258.6 MB, free: 116 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.01053, allocations: 383.1 kB / 259 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000889/0.01142, allocations: 0.8636 MB / 259.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.01159, allocations: 70.84 kB / 260 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.01226, allocations: 470.9 kB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.01261, allocations: 231.2 kB / 260.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.01266, allocations: 28 kB / 260.7 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.0128, allocations: 63.84 kB / 260.7 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.01291, allocations: 91.66 kB / 260.8 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.01306, allocations: 139.8 kB / 261 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.01347, allocations: 295.2 kB / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01347, allocations: 0 / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01347, allocations: 0 / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.01348, allocations: 7.938 kB / 261.2 MB, free: 13.5 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.0006572/0.01414, allocations: 487.9 kB / 261.7 MB, free: 13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01417, allocations: 11.98 kB / 261.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.01445, allocations: 72.66 kB / 261.8 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.01474, allocations: 201.3 kB / 262 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.01476, allocations: 16.88 kB / 262 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.01481, allocations: 36.31 kB / 262.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.01521, allocations: 479.4 kB / 262.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01523, allocations: 192 / 262.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.01526, allocations: 16.12 kB / 262.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01527, allocations: 8 kB / 262.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.01545, allocations: 100.1 kB / 262.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.01676, allocations: 1.159 MB / 263.8 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.01691, allocations: 78.53 kB / 263.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.01696, allocations: 40.7 kB / 263.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.01701, allocations: 12 kB / 263.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.01704, allocations: 42.44 kB / 264 MB, free: 10.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.01704, allocations: 0 / 264 MB, free: 10.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.001084/0.01813, allocations: 473.4 kB / 264.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.01816, allocations: 55.41 kB / 264.5 MB, free: 10 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.01835, allocations: 244.8 kB / 264.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.01837, allocations: 37.7 kB / 264.8 MB, free: 9.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.01847, allocations: 183.9 kB / 264.9 MB, free: 9.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.01851, allocations: 67.42 kB / 265 MB, free: 9.457 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.0186, allocations: 65.95 kB / 265.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.0187, allocations: 338.8 kB / 265.4 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.01874, allocations: 28.58 kB / 265.4 MB, free: 9.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.01887, allocations: 139.9 kB / 265.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.01907, allocations: 209 kB / 265.8 MB, free: 8.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01907, allocations: 4 kB / 265.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002929/0.01937, allocations: 206 kB / 266 MB, free: 8.355 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.01939, allocations: 11.94 kB / 266 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.0194, allocations: 4.5 kB / 266 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.785e-05/0.01946, allocations: 20.84 kB / 266 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.01968, allocations: 71.91 kB / 266.1 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007749/0.02045, allocations: 1.171 MB / 267.3 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.02058, allocations: 12 kB / 267.3 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.02061, allocations: 12 kB / 267.3 MB, free: 6.961 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 0.0001067/0.02071, allocations: 136.7 kB / 267.4 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.02077, allocations: 23.97 kB / 267.4 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.02097, allocations: 135.7 kB / 267.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02097, allocations: 3.984 kB / 267.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02097, allocations: 0 / 267.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002249/0.0212, allocations: 407.8 kB / 268 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.02183, allocations: 403.5 kB / 268.4 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.02183, allocations: 3.984 kB / 268.4 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.02196, allocations: 39.92 kB / 268.4 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02196, allocations: 0 / 268.4 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.02198, allocations: 7.938 kB / 268.4 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.02198, allocations: 4 kB / 268.4 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02198, allocations: 0 / 268.4 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.02223, allocations: 260.5 kB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.02226, allocations: 28.08 kB / 268.7 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.0223, allocations: 15.86 kB / 268.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.02245, allocations: 8 kB / 268.7 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.02247, allocations: 7.984 kB / 268.7 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.0225, allocations: 11.98 kB / 268.7 MB, free: 5.312 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.02257, allocations: 74.78 kB / 268.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02257, allocations: 0 / 268.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.02297, allocations: 80 kB / 268.9 MB, free: 5.164 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.0001951/0.02317, allocations: 104.3 kB / 269 MB, free: 5.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.02349, allocations: 246.8 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.0235, allocations: 8 kB / 269.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.02356, allocations: 41.89 kB / 269.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.0241, allocations: 128.8 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02517, allocations: 0.5247 MB / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.245e-05/0.02526, allocations: 92.56 kB / 270 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.02543, allocations: 46.91 kB / 270.1 MB, free: 3.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.02575, allocations: 157.1 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02575, allocations: 0 / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Templates: time 0.009157/0.03491, allocations: 4.902 MB / 275.1 MB, free: 14.86 MB / 266.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 -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.725203522015363]