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.000917/0.000917, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009076/0.0009076, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2554/0.2554, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.764e-06/1.764e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.511e-05, allocations: 3.156 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0144/0.01443, allocations: 16.75 MB / 342 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.02724, allocations: 13.98 MB / 356 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000637/0.02788, allocations: 31.69 kB / 356 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.02856, allocations: 246.3 kB / 356.3 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.03893, allocations: 4.995 MB / 361.2 MB, free: 3.539 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.04324, allocations: 1.97 MB / 363.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.04562, allocations: 2.035 MB / 365.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/0.04629, allocations: 446 kB / 365.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.05635, allocations: 7.634 MB / 373.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.05914, allocations: 2.155 MB / 375.5 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.05932, allocations: 68 kB / 375.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009006/0.06833, allocations: 6.746 MB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.06869, allocations: 295.1 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004792/0.06917, allocations: 319.3 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.07928, allocations: 5.577 MB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.07928, allocations: 0 / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.07928, allocations: 0 / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.0793, allocations: 4 kB / 388.5 MB, free: 8.117 MB / 362.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.00329/0.08259, allocations: 1.505 MB / 390 MB, free: 6.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.08263, allocations: 8.031 kB / 390 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.08356, allocations: 379.7 kB / 390.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.08419, allocations: 451.2 kB / 390.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.08429, allocations: 156.7 kB / 390.9 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.08436, allocations: 64.36 kB / 391 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.08532, allocations: 1.056 MB / 392.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.08534, allocations: 11.88 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.08539, allocations: 35.98 kB / 392.1 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.08543, allocations: 40.98 kB / 392.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.086, allocations: 397 kB / 392.5 MB, free: 3.789 MB / 362.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.002769/0.08877, allocations: 3.795 MB / 396.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.08933, allocations: 343.9 kB / 396.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.08942, allocations: 86.48 kB / 396.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2645/0.3539, allocations: 67.31 MB / 464.1 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.3539, allocations: 42.12 kB / 464.1 MB, free: 92.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.424e-06/0.3539, allocations: 4 kB / 464.1 MB, free: 92.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002904/0.3568, allocations: 1.257 MB / 465.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3569, allocations: 183.9 kB / 465.6 MB, free: 91.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3572, allocations: 0.4937 MB / 466 MB, free: 90.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3572, allocations: 36.7 kB / 466.1 MB, free: 90.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3573, allocations: 374.6 kB / 466.4 MB, free: 90.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.3574, allocations: 174.8 kB / 466.6 MB, free: 90.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3575, allocations: 154.4 kB / 466.8 MB, free: 90.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.3576, allocations: 372.8 kB / 467.1 MB, free: 90.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.3576, allocations: 75.88 kB / 467.2 MB, free: 90.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3579, allocations: 0.5401 MB / 467.7 MB, free: 89.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.3582, allocations: 0.6039 MB / 468.3 MB, free: 88.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3582, allocations: 4 kB / 468.4 MB, free: 88.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004677/0.3587, allocations: 0.5126 MB / 468.9 MB, free: 88.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3587, allocations: 16 kB / 468.9 MB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3587, allocations: 12 kB / 468.9 MB, free: 88.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.36, allocations: 236.5 kB / 469.1 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.3605, allocations: 247.8 kB / 469.4 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.3612, allocations: 1.797 MB / 471.2 MB, free: 85.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.3614, allocations: 30.06 kB / 471.2 MB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.3615, allocations: 48.12 kB / 471.2 MB, free: 85.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.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 (97): * Single equations (assignments): 95 * 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.0001639/0.3616, allocations: 177.4 kB / 471.4 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.3617, allocations: 54.62 kB / 471.5 MB, free: 85.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/0.3624, allocations: 1.206 MB / 472.7 MB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3624, allocations: 24.84 kB / 472.7 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3624, allocations: 11.98 kB / 472.7 MB, free: 84.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3624, allocations: 5.578 kB / 472.7 MB, free: 84.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.3635, allocations: 1.455 MB / 474.2 MB, free: 83.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3635, allocations: 0 / 474.2 MB, free: 83.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.3639, allocations: 154.9 kB / 474.3 MB, free: 83.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006502/0.3645, allocations: 249.5 kB / 474.6 MB, free: 83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3646, allocations: 11.31 kB / 474.6 MB, free: 83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005341/0.3651, allocations: 1.789 MB / 476.4 MB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3651, allocations: 0 / 476.4 MB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.3657, allocations: 1.098 MB / 477.5 MB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3658, allocations: 111.1 kB / 477.6 MB, free: 79.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.3658, allocations: 33.5 kB / 477.6 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.366, allocations: 15.44 kB / 477.6 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3661, allocations: 30.06 kB / 477.6 MB, free: 79.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3661, allocations: 15.92 kB / 477.7 MB, free: 79.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.3663, allocations: 291.7 kB / 477.9 MB, free: 79.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3663, allocations: 1.531 kB / 477.9 MB, free: 79.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002249/0.3685, allocations: 1.094 MB / 479 MB, free: 78.7 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.002798/0.3713, allocations: 1.378 MB / 480.4 MB, free: 77.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007955/0.3721, allocations: 0.4954 MB / 480.9 MB, free: 77.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.9e-05/0.3721, allocations: 12.5 kB / 480.9 MB, free: 77.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3725, allocations: 319.8 kB / 481.2 MB, free: 76.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/0.3734, allocations: 363.6 kB / 481.6 MB, free: 76.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3753, allocations: 1.796 MB / 483.4 MB, free: 74.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3755, allocations: 233.7 kB / 483.6 MB, free: 74.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003791/0.3758, allocations: 267 kB / 483.9 MB, free: 74.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.3762, allocations: 292.5 kB / 484.2 MB, free: 74.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.754e-06/0.3762, allocations: 0 / 484.2 MB, free: 74.04 MB / 410.7 MB Notification: Performance of Templates: time 0.04491/0.4211, allocations: 49.49 MB / 0.5211 GB, free: 25.19 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: 4.910072995815426]