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.0009761/0.0009761, allocations: 84.98 kB / 23 MB, free: 1.504 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.001241/0.001241, allocations: 173.2 kB / 26.39 MB, free: 8.141 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.9439/0.9439, allocations: 158.6 MB / 188.3 MB, free: 2.805 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 1.403e-06/1.403e-06, allocations: 0 / 252.3 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.525e-05, allocations: 10.25 kB / 252.3 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.004753/0.004769, allocations: 5.847 MB / 258.2 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.005667, allocations: 0.7358 MB / 258.9 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.005804, allocations: 7.938 kB / 258.9 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.006129, allocations: 95.34 kB / 259 MB, free: 468 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.006616, allocations: 337.9 kB / 259.3 MB, free: 128 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.007231, allocations: 387.2 kB / 259.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.008151, allocations: 0.8675 MB / 260.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.008298, allocations: 72.88 kB / 260.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.008798, allocations: 462.9 kB / 261.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.009081, allocations: 239.3 kB / 261.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.009123, allocations: 28 kB / 261.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.009239, allocations: 63.84 kB / 261.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.009328, allocations: 95.64 kB / 261.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.009461, allocations: 147.7 kB / 261.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.009786, allocations: 291.1 kB / 261.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009787, allocations: 0 / 261.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.009789, allocations: 3.984 kB / 261.9 MB, free: 13.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.009793, allocations: 0 / 261.9 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.0005973/0.01039, allocations: 0.6012 MB / 262.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.01042, allocations: 11.98 kB / 262.6 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.01067, allocations: 84.44 kB / 262.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.01094, allocations: 236.1 kB / 262.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.01096, allocations: 20.88 kB / 262.9 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.011, allocations: 28.38 kB / 262.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.01137, allocations: 494 kB / 263.4 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01139, allocations: 4.188 kB / 263.4 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.01141, allocations: 16.12 kB / 263.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.01142, allocations: 4 kB / 263.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.01157, allocations: 109.3 kB / 263.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.01281, allocations: 1.666 MB / 265.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.01295, allocations: 98.98 kB / 265.3 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.013, allocations: 43.94 kB / 265.3 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.01304, allocations: 11.92 kB / 265.4 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01306, allocations: 45.33 kB / 265.4 MB, free: 9.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.01306, allocations: 0 / 265.4 MB, free: 9.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.000941/0.014, allocations: 0.512 MB / 265.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.01403, allocations: 55.41 kB / 266 MB, free: 9.176 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01421, allocations: 288.1 kB / 266.2 MB, free: 8.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01424, allocations: 33.7 kB / 266.3 MB, free: 8.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01435, allocations: 254.9 kB / 266.5 MB, free: 8.582 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.0144, allocations: 75.31 kB / 266.6 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.01448, allocations: 75.27 kB / 266.7 MB, free: 8.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003538/0.01484, allocations: 0.5118 MB / 267.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.01489, allocations: 27.97 kB / 267.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01503, allocations: 213.9 kB / 267.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.01526, allocations: 278.2 kB / 267.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01526, allocations: 0 / 267.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003226/0.01558, allocations: 265.2 kB / 268 MB, free: 6.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.0156, allocations: 8 kB / 268 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.0156, allocations: 7.938 kB / 268 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.003e-05/0.01566, allocations: 23.67 kB / 268 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.01588, allocations: 83.84 kB / 268.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008396/0.01672, allocations: 1.725 MB / 269.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01685, allocations: 12.08 kB / 269.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.01687, allocations: 27.97 kB / 269.8 MB, free: 4.965 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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.0001043/0.01698, allocations: 172.5 kB / 270 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.01703, allocations: 31.86 kB / 270 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.01723, allocations: 155.5 kB / 270.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01724, allocations: 4 kB / 270.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.01724, allocations: 0 / 270.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002289/0.01747, allocations: 444 kB / 270.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.01812, allocations: 0.5847 MB / 271.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01813, allocations: 7.875 kB / 271.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.01825, allocations: 43.98 kB / 271.3 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01826, allocations: 4 kB / 271.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01827, allocations: 4.281 kB / 271.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01827, allocations: 19.86 kB / 271.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01827, allocations: 0 / 271.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.01856, allocations: 392.7 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.01859, allocations: 19.86 kB / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01861, allocations: 15.98 kB / 271.7 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.01876, allocations: 8 kB / 271.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.01879, allocations: 23.91 kB / 271.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.01881, allocations: 8 kB / 271.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.0189, allocations: 189.1 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0189, allocations: 4.031 kB / 271.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.01928, allocations: 87.94 kB / 272 MB, free: 2.551 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 21 * 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.0001318/0.01941, allocations: 123.1 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.01972, allocations: 313.2 kB / 272.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01972, allocations: 4 kB / 272.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.01979, allocations: 67.45 kB / 272.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.02035, allocations: 125.1 kB / 272.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.02124, allocations: 0.5751 MB / 273.2 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.269e-05/0.0213, allocations: 92.56 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.02145, allocations: 46.91 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.02175, allocations: 202 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02175, allocations: 0 / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of Templates: time 0.007746/0.0295, allocations: 5.07 MB / 278.6 MB, free: 11.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.9800950181670487]