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.001864/0.001864, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002267/0.002267, allocations: 168 kB / 25.02 MB, free: 8.43 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.372/1.372, allocations: 158.6 MB / 186.8 MB, free: 2.852 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.843e-06/1.843e-06, allocations: 0 / 250.4 MB, free: 3.879 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.12e-05, allocations: 5.406 kB / 250.4 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01694/0.01697, allocations: 11.82 MB / 262.2 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.01969, allocations: 1.596 MB / 263.8 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.01984, allocations: 7.938 kB / 263.8 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.02041, allocations: 166.8 kB / 264 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.0211, allocations: 333.8 kB / 264.3 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.02222, allocations: 422.8 kB / 264.7 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.02354, allocations: 0.8286 MB / 265.6 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.02372, allocations: 68.89 kB / 265.6 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008992/0.02462, allocations: 0.5063 MB / 266.1 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.02502, allocations: 239.2 kB / 266.4 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-05/0.02509, allocations: 28 kB / 266.4 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.02532, allocations: 91.75 kB / 266.5 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.02546, allocations: 103.7 kB / 266.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.02566, allocations: 139.7 kB / 266.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.02635, allocations: 482.6 kB / 267.2 MB, free: 3.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.02636, allocations: 4 kB / 267.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02636, allocations: 0 / 267.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.02637, allocations: 4 kB / 267.2 MB, free: 3.004 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.0008995/0.02727, allocations: 0.5129 MB / 267.7 MB, free: 2.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.0273, allocations: 11.98 kB / 267.7 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/0.02764, allocations: 80.48 kB / 267.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.02812, allocations: 233.2 kB / 268 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.02814, allocations: 24.88 kB / 268.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.02821, allocations: 28.38 kB / 268.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.02897, allocations: 0.5357 MB / 268.6 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.02898, allocations: 4.141 kB / 268.6 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.02903, allocations: 16.12 kB / 268.7 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.02904, allocations: 8 kB / 268.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.0294, allocations: 193.8 kB / 268.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.03148, allocations: 1.321 MB / 270.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.03175, allocations: 122.5 kB / 270.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.03188, allocations: 64.81 kB / 270.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.03198, allocations: 16.28 kB / 270.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.03202, allocations: 38.55 kB / 270.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.03202, allocations: 0 / 270.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001924/0.03395, allocations: 0.6437 MB / 271.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.034, allocations: 55.41 kB / 271.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.03433, allocations: 261.7 kB / 271.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.03436, allocations: 33.7 kB / 271.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.03454, allocations: 204.2 kB / 271.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.03461, allocations: 75.38 kB / 271.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.03473, allocations: 69.66 kB / 271.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.03494, allocations: 338.8 kB / 272.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.03507, allocations: 63.97 kB / 272.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.03533, allocations: 193.8 kB / 272.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.03602, allocations: 295.2 kB / 272.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.03602, allocations: 4 kB / 272.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006031/0.03662, allocations: 341.8 kB / 272.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.03664, allocations: 8.5 kB / 273 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.03665, allocations: 4 kB / 273 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/0.03675, allocations: 24.86 kB / 273 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.0371, allocations: 83.83 kB / 273.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.03852, allocations: 1.268 MB / 274.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.03869, allocations: 12 kB / 274.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.03872, allocations: 12 kB / 274.4 MB, free: 11.33 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.0001996/0.03892, allocations: 173.8 kB / 274.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.039, allocations: 31.8 kB / 274.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.03941, allocations: 208.1 kB / 274.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.03941, allocations: 3.938 kB / 274.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.03941, allocations: 0 / 274.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005173/0.03993, allocations: 488 kB / 275.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.04109, allocations: 0.6031 MB / 275.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.04109, allocations: 3.938 kB / 275.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.04128, allocations: 43.97 kB / 275.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.04128, allocations: 7.938 kB / 275.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.0413, allocations: 8 kB / 275.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.04131, allocations: 7.938 kB / 275.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.04131, allocations: 4 kB / 275.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.04189, allocations: 395.2 kB / 276.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.04194, allocations: 31.94 kB / 276.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.04198, allocations: 4 kB / 276.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.0422, allocations: 12 kB / 276.3 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.04224, allocations: 23.91 kB / 276.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.04227, allocations: 11.98 kB / 276.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002137/0.04248, allocations: 177.2 kB / 276.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04249, allocations: 0 / 276.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004833/0.04297, allocations: 95.88 kB / 276.6 MB, free: 8.824 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.0002802/0.04325, allocations: 147 kB / 276.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.04381, allocations: 301.4 kB / 277.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.04382, allocations: 5 kB / 277.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.04395, allocations: 72.23 kB / 277.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.04475, allocations: 122.6 kB / 277.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.04588, allocations: 0.5831 MB / 277.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.04607, allocations: 159.1 kB / 278 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.04628, allocations: 46.97 kB / 278.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.04635, allocations: 28.48 kB / 278.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.04635, allocations: 4 kB / 278.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of Templates: time 0.01089/0.05724, allocations: 4.737 MB / 282.8 MB, free: 2.578 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=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.459797073039226]