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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 104.8 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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.522/1.522, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 51.92 kB / 347.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2797, allocations: 49.16 MB / 396.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01165/0.2914, allocations: 13.07 MB / 409.9 MB, free: 228 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.2942, allocations: 1.728 MB / 411.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.2945, allocations: 8.531 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.2952, allocations: 167 kB / 411.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007963/0.296, allocations: 325.9 kB / 412.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2973, allocations: 423 kB / 412.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.2985, allocations: 0.8419 MB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.2988, allocations: 75.89 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/0.2995, allocations: 401.8 kB / 413.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.2999, allocations: 277.4 kB / 414.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.2999, allocations: 27.81 kB / 414.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.3002, allocations: 109.4 kB / 414.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3004, allocations: 93.58 kB / 414.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.3006, allocations: 183.7 kB / 414.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.3013, allocations: 472.2 kB / 415 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3013, allocations: 1.125 kB / 415 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3013, allocations: 0 / 415 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3013, allocations: 0 / 415 MB, free: 13.16 MB / 334.1 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.0009092/0.3022, allocations: 0.515 MB / 415.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3022, allocations: 18.39 kB / 415.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.3025, allocations: 43.73 kB / 415.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.303, allocations: 232.8 kB / 415.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.303, allocations: 19.03 kB / 415.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.303, allocations: 23.91 kB / 415.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.3036, allocations: 323 kB / 416.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3036, allocations: 1.438 kB / 416.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.3036, allocations: 12 kB / 416.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3036, allocations: 7.438 kB / 416.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.304, allocations: 194.2 kB / 416.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.3061, allocations: 1.603 MB / 418 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3063, allocations: 121.3 kB / 418.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3064, allocations: 74.67 kB / 418.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/0.3065, allocations: 9.969 kB / 418.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3065, allocations: 38.28 kB / 418.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3065, allocations: 0 / 418.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001756/0.3083, allocations: 0.6486 MB / 418.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3083, allocations: 58.22 kB / 418.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.3086, allocations: 285.8 kB / 419.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3087, allocations: 32.27 kB / 419.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.3088, allocations: 191.9 kB / 419.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.3089, allocations: 88.61 kB / 419.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.309, allocations: 63.3 kB / 419.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3092, allocations: 336.7 kB / 419.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3093, allocations: 64.16 kB / 419.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.3095, allocations: 193.2 kB / 420.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3099, allocations: 280.8 kB / 420.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3099, allocations: 1.812 kB / 420.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005323/0.3105, allocations: 337.7 kB / 420.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3105, allocations: 7.219 kB / 420.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3105, allocations: 4.5 kB / 420.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.389e-05/0.3106, allocations: 28.75 kB / 420.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.3109, allocations: 85.5 kB / 420.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.3121, allocations: 1.288 MB / 422.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3123, allocations: 9.594 kB / 422.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.3124, allocations: 25.33 kB / 422.2 MB, free: 7.055 MB / 334.1 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.0002042/0.3126, allocations: 149.7 kB / 422.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.3126, allocations: 30.09 kB / 422.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.313, allocations: 212.8 kB / 422.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.313, allocations: 7.266 kB / 422.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.313, allocations: 0 / 422.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004493/0.3135, allocations: 483.6 kB / 423.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3146, allocations: 0.6802 MB / 423.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3146, allocations: 6.188 kB / 423.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3148, allocations: 42.8 kB / 423.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3148, allocations: 3.281 kB / 423.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3148, allocations: 12.28 kB / 423.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3148, allocations: 7.453 kB / 423.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/0.3149, allocations: 10.06 kB / 423.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.3153, allocations: 396.2 kB / 424.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.3154, allocations: 37.16 kB / 424.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3155, allocations: 12.23 kB / 424.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3157, allocations: 5.312 kB / 424.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3157, allocations: 22.88 kB / 424.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.3157, allocations: 18.23 kB / 424.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.316, allocations: 201.6 kB / 424.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.316, allocations: 0 / 424.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.3165, allocations: 99.25 kB / 424.6 MB, free: 5.117 MB / 334.1 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.0002477/0.3167, allocations: 136.7 kB / 424.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.3173, allocations: 299.2 kB / 425 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3173, allocations: 1.156 kB / 425 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3174, allocations: 67.3 kB / 425.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.3183, allocations: 155.5 kB / 425.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3194, allocations: 0.6407 MB / 425.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.3198, allocations: 0.7581 MB / 426.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.32, allocations: 63.03 kB / 426.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.3201, allocations: 26.94 kB / 426.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3201, allocations: 0 / 426.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of Templates: time 0.01288/0.333, allocations: 5.868 MB / 432.6 MB, free: 14.75 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] 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: 4.80813825968653]