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.001222/0.001222, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.004409/0.004409, allocations: 166.7 kB / 25.33 MB, free: 8.594 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.9116/0.9116, allocations: 158.6 MB / 187.2 MB, free: 2.895 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.903e-06/1.903e-06, allocations: 0 / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.909e-05, allocations: 6.312 kB / 251.1 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.005385/0.005425, allocations: 5.909 MB / 257 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.006522, allocations: 0.7201 MB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.00668, allocations: 4 kB / 257.7 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.007056, allocations: 107.3 kB / 257.8 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.007524, allocations: 329.9 kB / 258.2 MB, free: 352 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.00818, allocations: 391.2 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.009237, allocations: 0.8675 MB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.009484, allocations: 68.88 kB / 259.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.01017, allocations: 466.8 kB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.01047, allocations: 243.2 kB / 260.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.01052, allocations: 28 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.01067, allocations: 67.78 kB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.01076, allocations: 95.66 kB / 260.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.01088, allocations: 139.7 kB / 260.5 MB, free: 14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.01123, allocations: 295.1 kB / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01123, allocations: 0 / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.01123, allocations: 3.984 kB / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.01124, allocations: 3.938 kB / 260.8 MB, free: 13.71 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.0007245/0.01197, allocations: 0.5935 MB / 261.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.01201, allocations: 15.98 kB / 261.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.01225, allocations: 88.44 kB / 261.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.01253, allocations: 232.1 kB / 261.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.01255, allocations: 16.88 kB / 261.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.01259, allocations: 28.38 kB / 261.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.01297, allocations: 0.5059 MB / 262.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.01298, allocations: 192 / 262.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.01301, allocations: 16.12 kB / 262.3 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01302, allocations: 8 kB / 262.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.01318, allocations: 126.8 kB / 262.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.01445, allocations: 1.697 MB / 264.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.01461, allocations: 103.1 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.01466, allocations: 47.89 kB / 264.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.01471, allocations: 19.92 kB / 264.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.01474, allocations: 41.39 kB / 264.3 MB, free: 9.918 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.01475, allocations: 3.938 kB / 264.3 MB, free: 9.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001019/0.01577, allocations: 0.5588 MB / 264.9 MB, free: 9.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.01579, allocations: 55.41 kB / 264.9 MB, free: 9.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01597, allocations: 296.2 kB / 265.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01599, allocations: 29.7 kB / 265.2 MB, free: 8.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.01609, allocations: 255 kB / 265.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.01613, allocations: 75.31 kB / 265.6 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.01619, allocations: 75.3 kB / 265.6 MB, free: 8.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.01633, allocations: 0.5117 MB / 266.2 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.01639, allocations: 39.97 kB / 266.2 MB, free: 7.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01656, allocations: 214 kB / 266.4 MB, free: 7.652 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01678, allocations: 290.2 kB / 266.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01679, allocations: 3.938 kB / 266.7 MB, free: 7.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002987/0.01708, allocations: 288.9 kB / 267 MB, free: 6.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.0171, allocations: 8 kB / 267 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.01711, allocations: 4 kB / 267 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.478e-05/0.01718, allocations: 27.67 kB / 267 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.01736, allocations: 79.89 kB / 267.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000897/0.01826, allocations: 1.752 MB / 268.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01837, allocations: 8 kB / 268.9 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.01839, allocations: 16 kB / 268.9 MB, free: 4.973 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.0002353/0.01863, allocations: 172.5 kB / 269 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.01867, allocations: 35.8 kB / 269.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.01888, allocations: 171.5 kB / 269.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01888, allocations: 7.938 kB / 269.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01888, allocations: 64 / 269.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002246/0.01911, allocations: 460.1 kB / 269.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.01974, allocations: 0.627 MB / 270.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01974, allocations: 0 / 270.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01984, allocations: 55.84 kB / 270.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01984, allocations: 4.281 kB / 270.4 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01986, allocations: 8 kB / 270.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.01986, allocations: 4 kB / 270.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01986, allocations: 0 / 270.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.02015, allocations: 412.8 kB / 270.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.02017, allocations: 23.84 kB / 270.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.0202, allocations: 16 kB / 270.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.02029, allocations: 8 kB / 270.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.02032, allocations: 27.84 kB / 270.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.02034, allocations: 16.02 kB / 270.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.02044, allocations: 201.1 kB / 271.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02044, allocations: 0 / 271.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.02072, allocations: 83.94 kB / 271.2 MB, free: 2.43 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.0001682/0.02089, allocations: 119.1 kB / 271.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.02124, allocations: 337 kB / 271.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.02124, allocations: 0 / 271.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.0213, allocations: 67.47 kB / 271.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.02175, allocations: 117.2 kB / 271.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.023, allocations: 0.5832 MB / 272.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.94e-05/0.02306, allocations: 92.56 kB / 272.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.0232, allocations: 58.89 kB / 272.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.02325, allocations: 24.5 kB / 272.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02325, allocations: 0 / 272.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of Templates: time 0.006914/0.03016, allocations: 4.911 MB / 277.5 MB, free: 12.05 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.873686843086034]