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.001032/0.001032, allocations: 80.92 kB / 21.5 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.001116/0.001116, allocations: 173.3 kB / 24.91 MB, free: 9.191 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.998/0.998, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2694/0.2694, 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.373e-06/1.373e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.648e-05, allocations: 3.406 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01815/0.01817, allocations: 16.79 MB / 342.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.03259, allocations: 13.99 MB / 356.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.03318, allocations: 27.75 kB / 356.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.03381, allocations: 250.4 kB / 356.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009634/0.04344, allocations: 4.531 MB / 360.9 MB, free: 3.926 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.04699, allocations: 1.873 MB / 362.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.04905, allocations: 2.039 MB / 364.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006622/0.04971, allocations: 449.8 kB / 365.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008496/0.05821, allocations: 7.626 MB / 372.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.06088, allocations: 2.159 MB / 375 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.06103, allocations: 68 kB / 375.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.07116, allocations: 7.233 MB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.0715, allocations: 291.1 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.07195, allocations: 319.3 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009202/0.08115, allocations: 5.581 MB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.08116, allocations: 0 / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08116, allocations: 0 / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.08118, allocations: 0 / 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.003138/0.08432, allocations: 1.509 MB / 390 MB, free: 6.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.08435, allocations: 8.031 kB / 390 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.08536, allocations: 371.7 kB / 390.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.08591, allocations: 447.2 kB / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/0.086, allocations: 168.7 kB / 391 MB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.08607, allocations: 56.38 kB / 391 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.08706, allocations: 1.068 MB / 392.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.08708, allocations: 7.938 kB / 392.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.08712, allocations: 24 kB / 392.1 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.08717, allocations: 44.92 kB / 392.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.08777, allocations: 393.1 kB / 392.6 MB, free: 3.797 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.002597/0.09036, allocations: 3.806 MB / 396.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.09122, allocations: 344.7 kB / 396.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.09131, allocations: 74.56 kB / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2773/0.3687, allocations: 67.3 MB / 464.1 MB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.915e-05/0.3687, allocations: 42.08 kB / 464.1 MB, free: 92.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 4.228e-06/0.3687, allocations: 8 kB / 464.1 MB, free: 92.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004171/0.3729, allocations: 1.252 MB / 465.4 MB, free: 91.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.373, allocations: 187 kB / 465.6 MB, free: 91.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.3734, allocations: 0.4986 MB / 466.1 MB, free: 90.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3734, allocations: 32.58 kB / 466.1 MB, free: 90.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3736, allocations: 376.9 kB / 466.5 MB, free: 90.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3737, allocations: 172.7 kB / 466.6 MB, free: 90.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.3739, allocations: 151.2 kB / 466.8 MB, free: 90.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.374, allocations: 386.6 kB / 467.2 MB, free: 90.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3741, allocations: 69.91 kB / 467.2 MB, free: 90.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.3744, allocations: 0.5341 MB / 467.8 MB, free: 89.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.3749, allocations: 0.6027 MB / 468.4 MB, free: 88.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3749, allocations: 4 kB / 468.4 MB, free: 88.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006443/0.3756, allocations: 0.516 MB / 468.9 MB, free: 88.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.3756, allocations: 12 kB / 468.9 MB, free: 88.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.3756, allocations: 12 kB / 468.9 MB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.3771, allocations: 233.7 kB / 469.1 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/0.3778, allocations: 273.7 kB / 469.4 MB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.3788, allocations: 1.793 MB / 471.2 MB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.3791, allocations: 34.38 kB / 471.2 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.3792, allocations: 39.72 kB / 471.3 MB, free: 85.86 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.0002405/0.3794, allocations: 174.3 kB / 471.4 MB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3795, allocations: 58.56 kB / 471.5 MB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009704/0.3805, allocations: 1.213 MB / 472.7 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.3805, allocations: 23.77 kB / 472.7 MB, free: 84.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3805, allocations: 3 kB / 472.7 MB, free: 84.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3805, allocations: 3.938 kB / 472.7 MB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.382, allocations: 1.454 MB / 474.2 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.382, allocations: 5.625 kB / 474.2 MB, free: 83.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.3825, allocations: 167.4 kB / 474.4 MB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008025/0.3833, allocations: 247.5 kB / 474.6 MB, free: 82.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.3833, allocations: 19.67 kB / 474.6 MB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008186/0.3841, allocations: 1.791 MB / 476.4 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3841, allocations: 0 / 476.4 MB, free: 81.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.385, allocations: 1.088 MB / 477.5 MB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3851, allocations: 112.9 kB / 477.6 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.3852, allocations: 30.27 kB / 477.6 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3854, allocations: 13.25 kB / 477.6 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.3855, allocations: 39.34 kB / 477.7 MB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.3855, allocations: 15.48 kB / 477.7 MB, free: 79.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002437/0.3857, allocations: 286.9 kB / 478 MB, free: 79.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.3857, allocations: 64 / 478 MB, free: 79.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004074/0.3898, allocations: 1.106 MB / 479.1 MB, free: 78.67 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.003817/0.3936, allocations: 1.368 MB / 480.5 MB, free: 77.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3949, allocations: 0.4902 MB / 480.9 MB, free: 77.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.364e-05/0.3949, allocations: 12.5 kB / 481 MB, free: 77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006598/0.3956, allocations: 319.5 kB / 481.3 MB, free: 76.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.3971, allocations: 357.7 kB / 481.6 MB, free: 76.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.4005, allocations: 1.807 MB / 483.4 MB, free: 74.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4008, allocations: 233.5 kB / 483.7 MB, free: 74.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006978/0.4015, allocations: 263.9 kB / 483.9 MB, free: 74.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.402, allocations: 300 kB / 484.2 MB, free: 74.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.455e-06/0.402, allocations: 0 / 484.2 MB, free: 74.01 MB / 410.7 MB Notification: Performance of Templates: time 0.05754/0.4596, allocations: 49.54 MB / 0.5212 GB, free: 25.11 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 -s gbode -gbm=radauIIA3 -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.205989747773856]