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.00142/0.00142, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001577/0.001577, allocations: 214.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2859/0.2859, allocations: 46.96 MB / 360.9 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002331/0.002331, allocations: 59.91 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3621, allocations: 66.03 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04574/0.4078, allocations: 35.87 MB / 0.5961 GB, free: 168 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/0.4362, allocations: 18.05 MB / 0.6137 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.4373, allocations: 31.69 kB / 0.6138 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.4388, allocations: 405.5 kB / 0.6142 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01706/0.4559, allocations: 5.131 MB / 0.6192 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009106/0.465, allocations: 2.532 MB / 0.6216 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.4686, allocations: 1.985 MB / 0.6236 GB, free: 3.973 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.4697, allocations: 413.7 kB / 0.624 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.4809, allocations: 4.16 MB / 0.628 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.4935, allocations: 5.463 MB / 0.6334 GB, free: 9.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003589/0.4938, allocations: 68 kB / 0.6334 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.5106, allocations: 6.919 MB / 0.6402 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006598/0.5112, allocations: 275.2 kB / 0.6405 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009403/0.5122, allocations: 374.4 kB / 0.6408 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.5245, allocations: 4.98 MB / 0.6457 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5245, allocations: 0 / 0.6457 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5245, allocations: 4 kB / 0.6457 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.579e-05/0.5246, allocations: 0 / 0.6457 GB, free: 13.17 MB / 494.1 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.005143/0.5297, allocations: 1.608 MB / 0.6473 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.5298, allocations: 8.031 kB / 0.6473 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.5314, allocations: 228.3 kB / 0.6475 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.5326, allocations: 498.7 kB / 0.648 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.5328, allocations: 172.7 kB / 0.6481 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.5329, allocations: 56.12 kB / 0.6482 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.5354, allocations: 1.334 MB / 0.6495 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.5354, allocations: 3.984 kB / 0.6495 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.5355, allocations: 24 kB / 0.6495 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.528e-05/0.5356, allocations: 52.91 kB / 0.6496 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.5375, allocations: 0.8077 MB / 0.6503 GB, free: 8.141 MB / 494.1 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.006855/0.5443, allocations: 4.501 MB / 0.6547 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.5457, allocations: 0.5193 MB / 0.6552 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.5461, allocations: 198.9 kB / 0.6554 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1001/0.6462, allocations: 26.1 MB / 0.6809 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.6463, allocations: 54.23 kB / 0.681 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.6463, allocations: 4 kB / 0.681 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007029/0.6533, allocations: 2.061 MB / 0.683 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.6534, allocations: 187.9 kB / 0.6832 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.6542, allocations: 0.5572 MB / 0.6837 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.6543, allocations: 33.7 kB / 0.6838 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.6547, allocations: 431.8 kB / 0.6842 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.6549, allocations: 166.6 kB / 0.6843 GB, free: 5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.6552, allocations: 154.6 kB / 0.6845 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.6554, allocations: 374.8 kB / 0.6848 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.6559, allocations: 229.8 kB / 0.685 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.6567, allocations: 0.669 MB / 0.6857 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.6581, allocations: 0.8645 MB / 0.6865 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.6581, allocations: 4 kB / 0.6865 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001711/0.6598, allocations: 0.8883 MB / 0.6874 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.6598, allocations: 12 kB / 0.6874 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.6598, allocations: 15.98 kB / 0.6874 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/0.663, allocations: 269.1 kB / 0.6877 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.6643, allocations: 283.6 kB / 0.688 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.6664, allocations: 1.999 MB / 0.6899 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.667, allocations: 31.98 kB / 0.69 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-05/0.6671, allocations: 43.94 kB / 0.69 GB, free: 14.69 MB / 0.5294 GB 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.0004892/0.6676, allocations: 280.2 kB / 0.6903 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.6678, allocations: 63.58 kB / 0.6903 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.6706, allocations: 2.096 MB / 0.6924 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.6707, allocations: 23.97 kB / 0.6924 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6707, allocations: 0 / 0.6924 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6707, allocations: 7.922 kB / 0.6924 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/0.6749, allocations: 2.808 MB / 0.6951 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.6749, allocations: 15.92 kB / 0.6952 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/0.6758, allocations: 187.8 kB / 0.6953 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/0.6777, allocations: 295.9 kB / 0.6956 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.6778, allocations: 19.94 kB / 0.6956 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.6799, allocations: 2.053 MB / 0.6976 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6799, allocations: 8.188 kB / 0.6976 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.6826, allocations: 1.984 MB / 0.6996 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.683, allocations: 147.2 kB / 0.6997 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.6832, allocations: 31.78 kB / 0.6998 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.6836, allocations: 12 kB / 0.6998 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.6837, allocations: 36.31 kB / 0.6998 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.6838, allocations: 19.98 kB / 0.6998 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007794/0.6845, allocations: 0.5068 MB / 0.7003 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6845, allocations: 0 / 0.7003 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003543/0.6881, allocations: 1.1 MB / 0.7014 GB, free: 2.809 MB / 0.5294 GB 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.005301/0.6934, allocations: 1.192 MB / 0.7026 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.6957, allocations: 0.9093 MB / 0.7034 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6957, allocations: 0 / 0.7034 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.697, allocations: 0.6046 MB / 0.704 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.6991, allocations: 332.1 kB / 0.7044 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.7031, allocations: 2.168 MB / 0.7065 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.7038, allocations: 0.496 MB / 0.707 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008265/0.7047, allocations: 333.5 kB / 0.7073 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.7048, allocations: 55.44 kB / 0.7073 GB, free: 12.66 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.7048, allocations: 0 / 0.7073 GB, free: 12.66 MB / 0.545 GB Notification: Performance of Templates: time 0.3093/1.014, allocations: 45.5 MB / 0.7518 GB, free: 157.1 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.851018032059073]