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.002394/0.002394, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002779/0.002779, allocations: 161 kB / 25.03 MB, free: 8.93 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 1.546/1.546, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.954e-06/1.954e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.384e-05, allocations: 2.312 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02803/0.02806, allocations: 13.24 MB / 263.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.03264, allocations: 1.748 MB / 265.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.03294, allocations: 4 kB / 265.4 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.03382, allocations: 166.9 kB / 265.6 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.03489, allocations: 333.8 kB / 265.9 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.0366, allocations: 422.8 kB / 266.3 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.03836, allocations: 0.8286 MB / 267.1 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.03868, allocations: 68.89 kB / 267.2 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.04019, allocations: 0.5063 MB / 267.7 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000641/0.04083, allocations: 235.3 kB / 267.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.04094, allocations: 28 kB / 268 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.0414, allocations: 95.73 kB / 268.1 MB, free: 6.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.04161, allocations: 103.6 kB / 268.2 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.04193, allocations: 139.8 kB / 268.3 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.043, allocations: 490.6 kB / 268.8 MB, free: 5.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.043, allocations: 0 / 268.8 MB, free: 5.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.04301, allocations: 4 kB / 268.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.04302, allocations: 0 / 268.8 MB, free: 5.332 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.001435/0.04445, allocations: 0.6282 MB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.04451, allocations: 11.98 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.04503, allocations: 80.48 kB / 269.5 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.04565, allocations: 232.1 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.04569, allocations: 24.8 kB / 269.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.04578, allocations: 36.27 kB / 269.8 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.04683, allocations: 0.5567 MB / 270.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.04685, allocations: 192 / 270.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.04691, allocations: 16.12 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.04692, allocations: 8 kB / 270.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.04745, allocations: 173.8 kB / 270.5 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.0509, allocations: 1.798 MB / 272.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.0513, allocations: 139.1 kB / 272.5 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.05149, allocations: 67.89 kB / 272.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.05161, allocations: 23.92 kB / 272.6 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.05166, allocations: 37.33 kB / 272.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/0.05166, allocations: 0 / 272.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.002595/0.05425, allocations: 0.6486 MB / 273.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.05433, allocations: 55.41 kB / 273.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.0549, allocations: 344.2 kB / 273.6 MB, free: 148 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.05495, allocations: 29.7 kB / 273.7 MB, free: 112 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.0553, allocations: 271 kB / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.05542, allocations: 83.31 kB / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.05559, allocations: 79.31 kB / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004037/0.056, allocations: 0.5274 MB / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.05621, allocations: 63.97 kB / 274.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.05665, allocations: 254 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.05734, allocations: 342.2 kB / 275.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.05734, allocations: 3.938 kB / 275.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009003/0.05824, allocations: 340.7 kB / 275.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.05827, allocations: 11.98 kB / 275.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.05829, allocations: 4 kB / 275.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.05845, allocations: 24.19 kB / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.05896, allocations: 87.89 kB / 275.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.06122, allocations: 1.794 MB / 277.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.06151, allocations: 8 kB / 277.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.06157, allocations: 16 kB / 277.5 MB, free: 11.92 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 0.0003109/0.06188, allocations: 192.5 kB / 277.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.06201, allocations: 47.86 kB / 277.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.06262, allocations: 199.5 kB / 278 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.06263, allocations: 7.938 kB / 278 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.06263, allocations: 0 / 278 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007486/0.06338, allocations: 488 kB / 278.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.0653, allocations: 0.725 MB / 279.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.06531, allocations: 4 kB / 279.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.0656, allocations: 47.86 kB / 279.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.06561, allocations: 0 / 279.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.06563, allocations: 11.98 kB / 279.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.06564, allocations: 4 kB / 279.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.06565, allocations: 4 kB / 279.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.06662, allocations: 484.7 kB / 279.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.06669, allocations: 19.86 kB / 279.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.06676, allocations: 16.05 kB / 279.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.06708, allocations: 8 kB / 279.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.06716, allocations: 31.88 kB / 279.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.0672, allocations: 8 kB / 279.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003396/0.06754, allocations: 221.1 kB / 280 MB, free: 9.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06754, allocations: 0 / 280 MB, free: 9.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008147/0.06836, allocations: 107.9 kB / 280.1 MB, free: 9.086 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.0004759/0.06883, allocations: 139.1 kB / 280.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009782/0.06981, allocations: 384.4 kB / 280.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.06981, allocations: 0 / 280.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.07006, allocations: 88.97 kB / 280.7 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.07131, allocations: 124.3 kB / 280.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.07311, allocations: 0.6024 MB / 281.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.07336, allocations: 155.1 kB / 281.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003338/0.0737, allocations: 58.55 kB / 281.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.07381, allocations: 24.5 kB / 281.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.07381, allocations: 4 kB / 281.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of Templates: time 0.01692/0.09073, allocations: 4.749 MB / 286.4 MB, free: 2.707 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035616118926555]