Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001013/0.001013, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001785/0.001785, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.586 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.2504/0.2504, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.126e-05, allocations: 6.25 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01375/0.01377, allocations: 16.83 MB / 394.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.0267, allocations: 13.99 MB / 408.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.02722, allocations: 27.75 kB / 408.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.0279, allocations: 246.3 kB / 409.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009446/0.03735, allocations: 4.964 MB / 414.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.04079, allocations: 1.947 MB / 416.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.04254, allocations: 2.043 MB / 418.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.04305, allocations: 441.9 kB / 418.5 MB, free: 9.977 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.04638, allocations: 2.677 MB / 421.2 MB, free: 7.273 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006386/0.05276, allocations: 5.452 MB / 426.7 MB, free: 1.738 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.05287, allocations: 64 kB / 426.7 MB, free: 1.676 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008253/0.06112, allocations: 6.75 MB / 433.5 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.06136, allocations: 299.1 kB / 433.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.06165, allocations: 323.3 kB / 434.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006155/0.06781, allocations: 5.585 MB / 439.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.06781, allocations: 0 / 439.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.06781, allocations: 0 / 439.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.06782, allocations: 0 / 439.7 MB, free: 4.711 MB / 410.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.002269/0.07009, allocations: 1.657 MB / 441.3 MB, free: 3.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.07013, allocations: 8.031 kB / 441.3 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.07101, allocations: 363.4 kB / 441.7 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.07157, allocations: 0.5163 MB / 442.2 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.07168, allocations: 164.7 kB / 442.4 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/0.07176, allocations: 64.38 kB / 442.4 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.07286, allocations: 1.197 MB / 443.6 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.07288, allocations: 7.938 kB / 443.6 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.07293, allocations: 31.92 kB / 443.7 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.07298, allocations: 44.98 kB / 443.7 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.151/0.2239, allocations: 483.7 kB / 444.2 MB, free: 74.7 MB / 410.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.004578/0.2285, allocations: 5.61 MB / 449.8 MB, free: 70.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2295, allocations: 402.3 kB / 450.2 MB, free: 70.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.2298, allocations: 114.8 kB / 450.3 MB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04758/0.2773, allocations: 26.14 MB / 476.4 MB, free: 68.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.2774, allocations: 45.81 kB / 476.5 MB, free: 68.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.866e-06/0.2774, allocations: 0.75 kB / 476.5 MB, free: 68.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0041/0.2815, allocations: 1.654 MB / 478.1 MB, free: 68.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.2815, allocations: 195.3 kB / 478.3 MB, free: 67.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.2821, allocations: 0.5647 MB / 478.9 MB, free: 67.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.2821, allocations: 34.11 kB / 478.9 MB, free: 67.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2823, allocations: 469.2 kB / 479.4 MB, free: 67.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2824, allocations: 176.7 kB / 479.5 MB, free: 67.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2826, allocations: 170.6 kB / 479.7 MB, free: 67.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2827, allocations: 0.5494 MB / 480.3 MB, free: 66.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2829, allocations: 97.44 kB / 480.4 MB, free: 66.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.2833, allocations: 0.6986 MB / 481.1 MB, free: 66.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.2839, allocations: 0.7605 MB / 481.8 MB, free: 65.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2839, allocations: 6.438 kB / 481.8 MB, free: 65.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007737/0.2847, allocations: 0.673 MB / 482.5 MB, free: 65.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2847, allocations: 9.688 kB / 482.5 MB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2847, allocations: 14.22 kB / 482.5 MB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.2863, allocations: 243.2 kB / 482.8 MB, free: 65.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.2869, allocations: 277.9 kB / 483 MB, free: 65.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008494/0.2877, allocations: 2.668 MB / 485.7 MB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.288, allocations: 26.14 kB / 485.7 MB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.2881, allocations: 43.02 kB / 485.8 MB, free: 62.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.2882, allocations: 224.8 kB / 486 MB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.2883, allocations: 78.61 kB / 486.1 MB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.2894, allocations: 1.273 MB / 487.3 MB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.2894, allocations: 20.88 kB / 487.4 MB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2894, allocations: 3.312 kB / 487.4 MB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2894, allocations: 2.719 kB / 487.4 MB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.2911, allocations: 1.868 MB / 489.2 MB, free: 61.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2911, allocations: 4.969 kB / 489.2 MB, free: 61.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.2915, allocations: 177.8 kB / 489.4 MB, free: 61.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008059/0.2923, allocations: 246.6 kB / 489.6 MB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.2924, allocations: 16.44 kB / 489.7 MB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006474/0.293, allocations: 2.635 MB / 492.3 MB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.293, allocations: 0 / 492.3 MB, free: 59.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.2939, allocations: 1.326 MB / 493.6 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2941, allocations: 136.5 kB / 493.8 MB, free: 58.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.2941, allocations: 28.72 kB / 493.8 MB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2943, allocations: 16.3 kB / 493.8 MB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.2944, allocations: 31.33 kB / 493.8 MB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.2944, allocations: 22.97 kB / 493.9 MB, free: 58.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.2948, allocations: 463.6 kB / 494.3 MB, free: 58.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2948, allocations: 0 / 494.3 MB, free: 58.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002328/0.2971, allocations: 1.1 MB / 495.4 MB, free: 58.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002991/0.3001, allocations: 1.308 MB / 496.7 MB, free: 58.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009829/0.3011, allocations: 0.5909 MB / 497.3 MB, free: 58.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3011, allocations: 4.781 kB / 497.3 MB, free: 58.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.3016, allocations: 402.1 kB / 497.7 MB, free: 58.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.3026, allocations: 350.5 kB / 498 MB, free: 58.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3048, allocations: 1.838 MB / 499.9 MB, free: 56.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.305, allocations: 236.7 kB / 0.4884 GB, free: 56.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000425/0.3054, allocations: 318.3 kB / 0.4887 GB, free: 56.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.3055, allocations: 60 kB / 0.4888 GB, free: 56.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3055, allocations: 0 / 0.4888 GB, free: 56.48 MB / 410.7 MB Notification: Performance of Templates: time 0.0384/0.3439, allocations: 44.55 MB / 0.5323 GB, free: 15.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.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.310835602227598]