Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.0009425/0.0009425, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009564/0.0009564, allocations: 158.6 kB / 25.45 MB, free: 9.344 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.8361/0.8361, allocations: 158.6 MB / 187.2 MB, free: 3.039 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 299.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.582e-05, allocations: 2.281 kB / 299.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.023/0.02303, allocations: 29.63 MB / 329.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.03435, allocations: 14 MB / 343.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.03457, allocations: 7.938 kB / 343.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.03518, allocations: 246.4 kB / 343.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.0357, allocations: 373.5 kB / 344 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.04658, allocations: 5.794 MB / 349.8 MB, free: 4.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.04744, allocations: 0.9966 MB / 350.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.04758, allocations: 73.17 kB / 350.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.05043, allocations: 2.329 MB / 353.2 MB, free: 1.211 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.05069, allocations: 263.2 kB / 353.4 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.05073, allocations: 39.98 kB / 353.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1502/0.2009, allocations: 3.491 MB / 357 MB, free: 20.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2011, allocations: 109.3 kB / 357.1 MB, free: 20.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.2013, allocations: 170.2 kB / 357.3 MB, free: 20.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.2044, allocations: 2.925 MB / 360.2 MB, free: 20.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2044, allocations: 1.25 kB / 360.2 MB, free: 20.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2044, allocations: 3.281 kB / 360.2 MB, free: 20.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2044, allocations: 0 / 360.2 MB, free: 20.31 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001101/0.2055, allocations: 0.7603 MB / 360.9 MB, free: 19.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2055, allocations: 12.17 kB / 361 MB, free: 19.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.2059, allocations: 90.7 kB / 361 MB, free: 19.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.2063, allocations: 238.2 kB / 361.3 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2063, allocations: 23.75 kB / 361.3 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.2064, allocations: 33.97 kB / 361.3 MB, free: 19.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.2069, allocations: 0.5876 MB / 361.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2069, allocations: 6.156 kB / 361.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2069, allocations: 19.69 kB / 361.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2069, allocations: 8.781 kB / 362 MB, free: 19.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.2073, allocations: 312.2 kB / 362.3 MB, free: 19.43 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2086, allocations: 1.85 MB / 364.1 MB, free: 18.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.2089, allocations: 243.1 kB / 364.3 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.209, allocations: 99.67 kB / 364.4 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/0.2222, allocations: 8.339 MB / 372.8 MB, free: 17.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2222, allocations: 37.44 kB / 372.8 MB, free: 17.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.2222, allocations: 0 / 372.8 MB, free: 17.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.002381/0.2246, allocations: 1.147 MB / 374 MB, free: 17.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2246, allocations: 54.59 kB / 374 MB, free: 17.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2248, allocations: 246.9 kB / 374.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2248, allocations: 32.92 kB / 374.3 MB, free: 17.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.2249, allocations: 202.1 kB / 374.5 MB, free: 16.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.2249, allocations: 112 kB / 374.6 MB, free: 16.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.225, allocations: 83.17 kB / 374.7 MB, free: 16.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.225, allocations: 333.8 kB / 375 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2251, allocations: 106.3 kB / 375.1 MB, free: 16.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2253, allocations: 227.3 kB / 375.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.2255, allocations: 356.9 kB / 375.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2255, allocations: 0 / 375.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000413/0.2259, allocations: 436.2 kB / 376.1 MB, free: 16.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.226, allocations: 9.25 kB / 376.1 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.226, allocations: 7.844 kB / 376.1 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.2274, allocations: 264.5 kB / 376.4 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2276, allocations: 85.7 kB / 376.5 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007075/0.2283, allocations: 1.846 MB / 378.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.2284, allocations: 13.62 kB / 378.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2284, allocations: 19.5 kB / 378.3 MB, free: 14.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2285, allocations: 162.6 kB / 378.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.2285, allocations: 29.28 kB / 378.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.2291, allocations: 0.9772 MB / 379.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2291, allocations: 11.08 kB / 379.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2291, allocations: 5.031 kB / 379.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005004/0.2296, allocations: 1.151 MB / 380.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.2305, allocations: 1.436 MB / 382.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2306, allocations: 11 kB / 382.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2307, allocations: 53.91 kB / 382.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/0.2314, allocations: 284.3 kB / 382.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2314, allocations: 18.14 kB / 382.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002405/0.2316, allocations: 0.6736 MB / 383.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2316, allocations: 1.203 kB / 383.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.2322, allocations: 0.9744 MB / 384.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.2323, allocations: 32.19 kB / 384.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.2323, allocations: 22.28 kB / 384.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.2324, allocations: 10.66 kB / 384.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.2324, allocations: 16.47 kB / 384.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2324, allocations: 16.36 kB / 384.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.2325, allocations: 216.8 kB / 384.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2325, allocations: 2.625 kB / 384.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001354/0.2339, allocations: 0.491 MB / 384.9 MB, free: 12.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.2351, allocations: 0.5778 MB / 385.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2356, allocations: 0.5159 MB / 386 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2356, allocations: 0 / 386 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.2358, allocations: 288.6 kB / 386.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.2363, allocations: 152 kB / 386.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009261/0.2373, allocations: 0.9911 MB / 387.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2374, allocations: 219.3 kB / 387.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.2374, allocations: 31.28 kB / 387.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2374, allocations: 7.094 kB / 387.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01043/0.2479, allocations: 15.08 MB / 402.8 MB, free: 12.75 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.644465523771942]