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.000946/0.000946, allocations: 80.8 kB / 22.28 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.001009/0.001009, allocations: 167.9 kB / 25.7 MB, free: 8.441 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.967/0.967, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.344e-06/2.344e-06, allocations: 0 / 251.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.876e-05, allocations: 2.312 kB / 251.6 MB, free: 7.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.005894/0.005922, allocations: 5.932 MB / 257.6 MB, free: 1.188 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.007201, allocations: 0.7434 MB / 258.3 MB, free: 452 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.007382, allocations: 7.938 kB / 258.3 MB, free: 444 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.007727, allocations: 91.34 kB / 258.4 MB, free: 352 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.008213, allocations: 337.9 kB / 258.7 MB, free: 12 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.008856, allocations: 383.2 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008244/0.00968, allocations: 0.8636 MB / 260 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.009842, allocations: 78.83 kB / 260.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.01046, allocations: 462.9 kB / 260.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.01075, allocations: 235.2 kB / 260.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.01079, allocations: 31.94 kB / 260.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.01093, allocations: 51.92 kB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.01102, allocations: 99.64 kB / 260.9 MB, free: 13.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.01113, allocations: 139.7 kB / 261 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.01146, allocations: 295.1 kB / 261.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01147, allocations: 4 kB / 261.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01147, allocations: 0 / 261.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.01147, allocations: 0 / 261.3 MB, free: 13.4 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.0005124/0.01198, allocations: 491.9 kB / 261.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.01202, allocations: 11.98 kB / 261.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.01223, allocations: 76.64 kB / 261.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.01247, allocations: 197.4 kB / 262.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.01248, allocations: 16.88 kB / 262.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.01252, allocations: 32.31 kB / 262.1 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.01282, allocations: 483.3 kB / 262.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01283, allocations: 192 / 262.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.01285, allocations: 16.12 kB / 262.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.01286, allocations: 4 kB / 262.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.01298, allocations: 100.1 kB / 262.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.01396, allocations: 1.155 MB / 263.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.01407, allocations: 74.53 kB / 264 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.01411, allocations: 37.06 kB / 264 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.01414, allocations: 8 kB / 264 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.01417, allocations: 46.44 kB / 264.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 3.346e-06/0.01417, allocations: 4 kB / 264.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007986/0.01497, allocations: 484.5 kB / 264.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.01499, allocations: 55.41 kB / 264.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01513, allocations: 240.8 kB / 264.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.01515, allocations: 29.7 kB / 264.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.01522, allocations: 191.8 kB / 265 MB, free: 9.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.01525, allocations: 75.41 kB / 265.1 MB, free: 9.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.01531, allocations: 57.97 kB / 265.2 MB, free: 9.281 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.01539, allocations: 338.8 kB / 265.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.01543, allocations: 28.58 kB / 265.5 MB, free: 8.914 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.01551, allocations: 143.9 kB / 265.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01566, allocations: 213 kB / 265.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01566, allocations: 0 / 265.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002092/0.01587, allocations: 206.5 kB / 266.1 MB, free: 8.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01589, allocations: 8.031 kB / 266.1 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01589, allocations: 8 kB / 266.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.334e-05/0.01595, allocations: 12.86 kB / 266.1 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01615, allocations: 87.88 kB / 266.2 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/0.01681, allocations: 1.175 MB / 267.4 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.01691, allocations: 20.03 kB / 267.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.01693, allocations: 12 kB / 267.4 MB, free: 6.836 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 8.807e-05/0.01701, allocations: 132.5 kB / 267.5 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.01705, allocations: 23.97 kB / 267.6 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.0172, allocations: 128.4 kB / 267.7 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.0172, allocations: 0 / 267.7 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.0172, allocations: 0 / 267.7 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002064/0.01741, allocations: 415.1 kB / 268.1 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.01789, allocations: 395.5 kB / 268.5 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01789, allocations: 3.938 kB / 268.5 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.018, allocations: 43.91 kB / 268.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.018, allocations: 4 kB / 268.5 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01801, allocations: 7.938 kB / 268.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01801, allocations: 0 / 268.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01802, allocations: 4.188 kB / 268.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.0182, allocations: 260.5 kB / 268.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.01823, allocations: 27.78 kB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01825, allocations: 11.98 kB / 268.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.01834, allocations: 8 kB / 268.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.01836, allocations: 11.98 kB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.01838, allocations: 11.98 kB / 268.9 MB, free: 5.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.01844, allocations: 74.78 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01844, allocations: 0 / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000257/0.0187, allocations: 76 kB / 269 MB, free: 5.051 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.0001605/0.01886, allocations: 108.3 kB / 269.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.01914, allocations: 243.8 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/0.01916, allocations: 8 kB / 269.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.01921, allocations: 44.97 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.01957, allocations: 124.8 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.02044, allocations: 0.5402 MB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.02049, allocations: 84.62 kB / 270.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.02064, allocations: 50.89 kB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.02088, allocations: 153.2 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02088, allocations: 0 / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of Templates: time 0.006441/0.02732, allocations: 4.953 MB / 275.3 MB, free: 14.7 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 -s gbode -gbm=radauIIA3 -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.723322744946927]