Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.001093/0.001093, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001269/0.001269, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9458/0.9458, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.176/0.176, allocations: 34.25 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 325.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.292e-05, allocations: 6.312 kB / 325.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.1584/0.1585, allocations: 16.78 MB / 342.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.172, allocations: 13.97 MB / 356.1 MB, free: 17.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.1726, allocations: 27.12 kB / 356.1 MB, free: 17.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.1732, allocations: 246.7 kB / 356.3 MB, free: 16.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.1836, allocations: 4.548 MB / 360.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.1875, allocations: 1.865 MB / 362.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.1894, allocations: 2.056 MB / 364.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005834/0.19, allocations: 451.5 kB / 365.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007212/0.1972, allocations: 7.651 MB / 372.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.1998, allocations: 2.17 MB / 375.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1999, allocations: 72 kB / 375.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/0.2125, allocations: 7.269 MB / 382.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.2129, allocations: 311.1 kB / 382.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005894/0.2135, allocations: 331.3 kB / 383 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.2246, allocations: 5.616 MB / 388.6 MB, free: 4.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2246, allocations: 7.984 kB / 388.6 MB, free: 4.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2246, allocations: 0 / 388.6 MB, free: 4.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2246, allocations: 0 / 388.6 MB, free: 4.203 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003244/0.2278, allocations: 1.536 MB / 390.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2279, allocations: 8.031 kB / 390.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.2299, allocations: 463.5 kB / 390.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008017/0.2307, allocations: 459.1 kB / 391.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.2308, allocations: 175.7 kB / 391.3 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.2309, allocations: 64.36 kB / 391.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.2327, allocations: 1.198 MB / 392.5 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.2327, allocations: 7.938 kB / 392.5 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.2328, allocations: 31.92 kB / 392.6 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/0.2328, allocations: 41.3 kB / 392.6 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.2341, allocations: 0.5226 MB / 393.1 MB, free: 15.48 MB / 346.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.003643/0.2378, allocations: 3.678 MB / 396.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.2391, allocations: 0.5118 MB / 397.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2392, allocations: 98.42 kB / 397.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08636/0.3256, allocations: 47.85 MB / 445.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.3256, allocations: 41.84 kB / 445.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.3256, allocations: 0 / 445.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.002909/0.3285, allocations: 1.383 MB / 446.7 MB, free: 9.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3286, allocations: 162.7 kB / 446.8 MB, free: 9.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3289, allocations: 486.8 kB / 447.3 MB, free: 8.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.329, allocations: 29.7 kB / 447.4 MB, free: 8.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3291, allocations: 364.8 kB / 447.7 MB, free: 8.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.3292, allocations: 186.4 kB / 447.9 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3293, allocations: 158.5 kB / 448 MB, free: 8.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3294, allocations: 374.6 kB / 448.4 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3296, allocations: 107.6 kB / 448.5 MB, free: 7.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.3298, allocations: 0.5407 MB / 449.1 MB, free: 7.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.3303, allocations: 0.6185 MB / 449.7 MB, free: 6.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3303, allocations: 5.688 kB / 449.7 MB, free: 6.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005616/0.3309, allocations: 0.5497 MB / 450.2 MB, free: 5.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3309, allocations: 12 kB / 450.2 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3309, allocations: 12 kB / 450.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.331, allocations: 33.47 kB / 450.3 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.3316, allocations: 287.6 kB / 450.6 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.3327, allocations: 1.774 MB / 452.3 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.333, allocations: 38.67 kB / 452.4 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.333, allocations: 32 kB / 452.4 MB, free: 3.418 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0001922/0.3332, allocations: 176.3 kB / 452.6 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.3333, allocations: 55.94 kB / 452.6 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.3344, allocations: 1.519 MB / 454.2 MB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.3345, allocations: 39.89 kB / 454.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3345, allocations: 3.984 kB / 454.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3345, allocations: 4 kB / 454.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3361, allocations: 1.852 MB / 456.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3362, allocations: 4 kB / 456.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.3368, allocations: 194.7 kB / 456.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.337, allocations: 51.64 kB / 456.3 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.337, allocations: 15.98 kB / 456.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007974/0.3378, allocations: 1.771 MB / 458.1 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3378, allocations: 3.938 kB / 458.1 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3388, allocations: 1.193 MB / 459.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.339, allocations: 135 kB / 459.4 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.339, allocations: 43.67 kB / 459.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3392, allocations: 24.11 kB / 459.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.3393, allocations: 56.28 kB / 459.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3393, allocations: 18.89 kB / 459.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.3396, allocations: 292.5 kB / 459.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3396, allocations: 0 / 459.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002296/0.3419, allocations: 1.104 MB / 460.9 MB, free: 10.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 Backend phase and start with SimCode phase: time 0.003637/0.3455, allocations: 1.361 MB / 462.3 MB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.3466, allocations: 0.5694 MB / 462.9 MB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.441e-05/0.3467, allocations: 8.5 kB / 462.9 MB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006704/0.3473, allocations: 376.9 kB / 463.2 MB, free: 8.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.3486, allocations: 383.1 kB / 463.6 MB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.3518, allocations: 2.104 MB / 465.7 MB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.352, allocations: 271.5 kB / 466 MB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005501/0.3525, allocations: 350.8 kB / 466.3 MB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.3531, allocations: 309.1 kB / 466.6 MB, free: 4.945 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3531, allocations: 0 / 466.6 MB, free: 4.945 MB / 410.7 MB Notification: Performance of Templates: time 0.07152/0.4246, allocations: 51.52 MB / 0.506 GB, free: 1.676 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.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: 5.38365387590602]