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.001046/0.001046, allocations: 79.75 kB / 22.45 MB, free: 2.098 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.001448/0.001448, allocations: 169.7 kB / 25.75 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.948/0.948, allocations: 158.6 MB / 187.5 MB, free: 2.941 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.363e-06/1.363e-06, allocations: 3.938 kB / 251.2 MB, free: 7.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.558e-05, allocations: 2.312 kB / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01021/0.01024, allocations: 13.29 MB / 264.5 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.01214, allocations: 1.759 MB / 266.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.01232, allocations: 7.938 kB / 266.2 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.01282, allocations: 158.9 kB / 266.4 MB, free: 8.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.01332, allocations: 337.8 kB / 266.7 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.01402, allocations: 406.9 kB / 267.1 MB, free: 7.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.01466, allocations: 0.8325 MB / 267.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.01482, allocations: 68.89 kB / 268 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.01543, allocations: 0.5141 MB / 268.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.01572, allocations: 239.2 kB / 268.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.01577, allocations: 28 kB / 268.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.01594, allocations: 99.73 kB / 268.9 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.01603, allocations: 91.72 kB / 269 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.01615, allocations: 139.7 kB / 269.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.01653, allocations: 327 kB / 269.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01654, allocations: 8 kB / 269.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01654, allocations: 0 / 269.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.01654, allocations: 0 / 269.4 MB, free: 5.406 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.0006322/0.01718, allocations: 0.6047 MB / 270 MB, free: 4.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01722, allocations: 15.98 kB / 270 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.01746, allocations: 76.5 kB / 270.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.01776, allocations: 244 kB / 270.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.01778, allocations: 16.88 kB / 270.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.01782, allocations: 28.38 kB / 270.4 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.01821, allocations: 0.502 MB / 270.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01823, allocations: 192 / 270.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.01826, allocations: 20.11 kB / 270.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01827, allocations: 8 kB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.01845, allocations: 122.8 kB / 271.1 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.01998, allocations: 1.712 MB / 272.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.02015, allocations: 99.12 kB / 272.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.02021, allocations: 43.61 kB / 272.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.02028, allocations: 23.92 kB / 272.9 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.02031, allocations: 37.39 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.02031, allocations: 0 / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001101/0.02141, allocations: 0.5582 MB / 273.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.02144, allocations: 55.41 kB / 273.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.02164, allocations: 296.2 kB / 273.9 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.02165, allocations: 33.7 kB / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.02176, allocations: 251 kB / 274.1 MB, free: 352 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.0218, allocations: 83.3 kB / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.02187, allocations: 71.31 kB / 274.3 MB, free: 188 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.022, allocations: 0.5117 MB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.02207, allocations: 35.97 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.0222, allocations: 218 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.02243, allocations: 282.2 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.02243, allocations: 4 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003089/0.02274, allocations: 284.7 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02276, allocations: 8.438 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.02276, allocations: 4 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.534e-05/0.02285, allocations: 27.67 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.02304, allocations: 87.89 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008188/0.02386, allocations: 1.752 MB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.02395, allocations: 8 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.02397, allocations: 20 kB / 277.5 MB, free: 12.66 MB / 266.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 9.361e-05/0.02406, allocations: 172.6 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.02411, allocations: 39.8 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.02431, allocations: 163.5 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02432, allocations: 7.938 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.02432, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002523/0.02457, allocations: 452 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.02526, allocations: 0.6465 MB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02526, allocations: 0 / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.02537, allocations: 43.92 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.02537, allocations: 4 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.02538, allocations: 15.92 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.02539, allocations: 4 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02539, allocations: 0 / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.02567, allocations: 413 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.0257, allocations: 27.86 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.02572, allocations: 11.98 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02583, allocations: 8 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.02585, allocations: 27.84 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.02587, allocations: 8 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.02603, allocations: 201.1 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02603, allocations: 0 / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.02633, allocations: 95.92 kB / 279.8 MB, free: 10.11 MB / 266.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.0002041/0.02654, allocations: 143.1 kB / 280 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.02689, allocations: 333 kB / 280.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0269, allocations: 256 / 280.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.02696, allocations: 67.53 kB / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.02741, allocations: 113.2 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009794/0.02839, allocations: 0.6022 MB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.64e-05/0.02845, allocations: 92.56 kB / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.02859, allocations: 54.19 kB / 281.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.02863, allocations: 28.48 kB / 281.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02863, allocations: 4 kB / 281.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of Templates: time 0.006935/0.03557, allocations: 4.745 MB / 286 MB, free: 3.863 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.900541736977175]