Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001307/0.001307, 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.001562/0.001562, allocations: 169.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 1.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 32.81 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.001e-05, allocations: 5.609 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01887/0.0189, allocations: 16.79 MB / 340.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.03926, allocations: 13.97 MB / 354 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.03987, allocations: 31.75 kB / 354.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.04357, allocations: 250.3 kB / 354.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03237/0.07593, allocations: 4.535 MB / 358.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.09251, allocations: 1.869 MB / 360.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005172/0.09768, allocations: 2.043 MB / 362.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008756/0.09855, allocations: 442 kB / 363.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009003/0.1076, allocations: 7.629 MB / 370.8 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.11, allocations: 2.159 MB / 373 MB, free: 7.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1101, allocations: 64 kB / 373.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009715/0.1198, allocations: 7.227 MB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.1201, allocations: 295.1 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.1205, allocations: 315.3 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.1311, allocations: 5.577 MB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1311, allocations: 0 / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1311, allocations: 4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.1311, allocations: 0 / 386.5 MB, free: 10.16 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.003411/0.1345, allocations: 1.517 MB / 388 MB, free: 8.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1346, allocations: 8.031 kB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.1356, allocations: 375.7 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.1363, allocations: 443.2 kB / 388.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1364, allocations: 168.7 kB / 388.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.1364, allocations: 64.36 kB / 389 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1375, allocations: 1.056 MB / 390.1 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1375, allocations: 11.81 kB / 390.1 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.1376, allocations: 27.98 kB / 390.1 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.1376, allocations: 44.98 kB / 390.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.1383, allocations: 393 kB / 390.5 MB, free: 5.828 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.00292/0.1412, allocations: 3.799 MB / 394.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.1418, allocations: 347.3 kB / 394.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.1419, allocations: 82.55 kB / 394.8 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2866/0.4285, allocations: 67.31 MB / 462.1 MB, free: 95.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.4286, allocations: 42.31 kB / 462.1 MB, free: 95.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.073e-06/0.4286, allocations: 3.469 kB / 462.1 MB, free: 95.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003209/0.4318, allocations: 1.26 MB / 463.4 MB, free: 95.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4318, allocations: 185.6 kB / 463.5 MB, free: 94.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.4322, allocations: 0.4966 MB / 464 MB, free: 94.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4322, allocations: 37.39 kB / 464.1 MB, free: 94.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4323, allocations: 372.7 kB / 464.4 MB, free: 94.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.4324, allocations: 171.9 kB / 464.6 MB, free: 94.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4325, allocations: 153.6 kB / 464.8 MB, free: 94.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.4326, allocations: 378.5 kB / 465.1 MB, free: 93.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.4327, allocations: 71.33 kB / 465.2 MB, free: 93.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4329, allocations: 0.5405 MB / 465.7 MB, free: 93.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.4333, allocations: 0.6013 MB / 466.3 MB, free: 92.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4333, allocations: 5.859 kB / 466.3 MB, free: 92.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004932/0.4338, allocations: 0.5184 MB / 466.9 MB, free: 92.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4338, allocations: 16.06 kB / 466.9 MB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4338, allocations: 12 kB / 466.9 MB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.4353, allocations: 233.7 kB / 467.1 MB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.4358, allocations: 267 kB / 467.4 MB, free: 91.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007251/0.4365, allocations: 1.789 MB / 469.2 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.4368, allocations: 31.25 kB / 469.2 MB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.4369, allocations: 39.28 kB / 469.2 MB, free: 89.7 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.0001705/0.437, allocations: 181.8 kB / 469.4 MB, free: 89.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.4371, allocations: 59.5 kB / 469.5 MB, free: 89.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/0.4379, allocations: 1.206 MB / 470.7 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.4379, allocations: 21.03 kB / 470.7 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.4379, allocations: 4 kB / 470.7 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4379, allocations: 10.42 kB / 470.7 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.4392, allocations: 1.456 MB / 472.2 MB, free: 87.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4392, allocations: 4 kB / 472.2 MB, free: 87.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.4396, allocations: 167.1 kB / 472.3 MB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/0.4404, allocations: 248.8 kB / 472.6 MB, free: 86.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.4404, allocations: 19.61 kB / 472.6 MB, free: 86.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005988/0.441, allocations: 1.786 MB / 474.4 MB, free: 84.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.441, allocations: 0 / 474.4 MB, free: 84.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.4417, allocations: 1.092 MB / 475.5 MB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4418, allocations: 113.5 kB / 475.6 MB, free: 83.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.4418, allocations: 37.83 kB / 475.6 MB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.442, allocations: 11.56 kB / 475.6 MB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.4421, allocations: 35.94 kB / 475.7 MB, free: 83.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.4421, allocations: 11.38 kB / 475.7 MB, free: 83.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.4423, allocations: 288 kB / 476 MB, free: 83.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4423, allocations: 0 / 476 MB, free: 83.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002574/0.4449, allocations: 1.104 MB / 477.1 MB, free: 82.52 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.00287/0.4477, allocations: 1.361 MB / 478.4 MB, free: 81.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.4486, allocations: 0.4979 MB / 478.9 MB, free: 80.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/0.4486, allocations: 16.38 kB / 478.9 MB, free: 80.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.449, allocations: 316.9 kB / 479.3 MB, free: 80.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.45, allocations: 364 kB / 479.6 MB, free: 80.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.4521, allocations: 1.803 MB / 481.4 MB, free: 78.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4522, allocations: 238.2 kB / 481.6 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.4525, allocations: 254.6 kB / 481.9 MB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.453, allocations: 291.9 kB / 482.2 MB, free: 77.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.453, allocations: 0 / 482.2 MB, free: 77.87 MB / 410.7 MB Notification: Performance of Templates: time 0.04367/0.4966, allocations: 49.54 MB / 0.5193 GB, free: 28.98 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.230508684180677]