Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.0009819/0.0009819, 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.001252/0.001252, allocations: 170.6 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 0.948/0.948, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2585/0.2585, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.191e-05, allocations: 5.891 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.007733/0.007755, allocations: 8.353 MB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.01047, allocations: 2.356 MB / 336 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.01073, allocations: 27.75 kB / 336 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.0112, allocations: 214.5 kB / 336.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.01334, allocations: 1.372 MB / 337.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.01443, allocations: 0.9197 MB / 338.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.01574, allocations: 1.945 MB / 340.5 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.01614, allocations: 449.8 kB / 340.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.0181, allocations: 2.148 MB / 343 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.01861, allocations: 0.5726 MB / 343.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.01868, allocations: 60 kB / 343.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.01926, allocations: 487.1 kB / 344.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.01946, allocations: 287.2 kB / 344.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.01967, allocations: 283.3 kB / 344.7 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009058/0.02058, allocations: 0.9892 MB / 345.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.02058, allocations: 0 / 345.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02058, allocations: 0 / 345.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.02059, allocations: 0 / 345.7 MB, free: 3.195 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001162/0.02175, allocations: 0.9822 MB / 346.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.02178, allocations: 8.031 kB / 346.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005693/0.02235, allocations: 240.1 kB / 346.9 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.02284, allocations: 427.3 kB / 347.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.02294, allocations: 160.3 kB / 347.5 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.02301, allocations: 52.38 kB / 347.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.02372, allocations: 0.9154 MB / 348.5 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.02374, allocations: 0 / 348.5 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.02379, allocations: 23.98 kB / 348.5 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.02383, allocations: 48.97 kB / 348.5 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.02419, allocations: 237.4 kB / 348.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.02642, allocations: 2.954 MB / 351.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.02666, allocations: 154.2 kB / 351.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.02672, allocations: 52.83 kB / 351.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.02683, allocations: 60.55 kB / 352 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.02685, allocations: 38.56 kB / 352 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.02685, allocations: 0 / 352 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001801/0.02865, allocations: 0.8801 MB / 352.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.02872, allocations: 132.5 kB / 353 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.02906, allocations: 0.4987 MB / 353.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.02909, allocations: 33.7 kB / 353.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.02927, allocations: 372.8 kB / 353.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.86e-05/0.02936, allocations: 134.9 kB / 354 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02949, allocations: 146.5 kB / 354.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.02961, allocations: 386.6 kB / 354.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.02969, allocations: 61.95 kB / 354.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.02995, allocations: 469.5 kB / 355.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.03031, allocations: 0.5084 MB / 355.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.03032, allocations: 8 kB / 355.6 MB, free: 8.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005697/0.03089, allocations: 0.5031 MB / 356.1 MB, free: 7.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.03091, allocations: 8 kB / 356.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.03092, allocations: 23.86 kB / 356.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.03147, allocations: 212.5 kB / 356.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.03168, allocations: 131.8 kB / 356.5 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006841/0.03236, allocations: 1.173 MB / 357.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.03256, allocations: 28 kB / 357.7 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.0326, allocations: 44.05 kB / 357.7 MB, free: 6.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.03276, allocations: 164.4 kB / 357.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.03282, allocations: 51.94 kB / 357.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006289/0.03345, allocations: 474.5 kB / 358.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.03345, allocations: 4 kB / 358.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.03345, allocations: 3.938 kB / 358.4 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.03346, allocations: 3.984 kB / 358.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.03424, allocations: 0.668 MB / 359.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.03424, allocations: 0 / 359.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.601e-05/0.03433, allocations: 43.92 kB / 359.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.03469, allocations: 163.2 kB / 359.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.03471, allocations: 8 kB / 359.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006666/0.03538, allocations: 1.142 MB / 360.4 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.03538, allocations: 0 / 360.4 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.03582, allocations: 463 kB / 360.9 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.03593, allocations: 71.59 kB / 360.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.03598, allocations: 8 kB / 361 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.03612, allocations: 15.98 kB / 361 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.03617, allocations: 31.83 kB / 361 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.03621, allocations: 15.98 kB / 361 MB, free: 2.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.03637, allocations: 212.3 kB / 361.2 MB, free: 2.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03637, allocations: 4.031 kB / 361.2 MB, free: 2.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000441/0.03681, allocations: 239.7 kB / 361.5 MB, free: 2.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/0.03713, allocations: 200.1 kB / 361.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.03757, allocations: 333.6 kB / 362 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/0.03758, allocations: 20.41 kB / 362 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.03776, allocations: 138.9 kB / 362.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.03842, allocations: 304.8 kB / 362.4 MB, free: 1.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.03989, allocations: 1.088 MB / 363.5 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.03999, allocations: 159 kB / 363.7 MB, free: 104 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005942/0.04058, allocations: 185.4 kB / 363.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.04099, allocations: 283 kB / 364.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.04099, allocations: 0 / 364.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of Templates: time 0.01588/0.05688, allocations: 14.1 MB / 378.2 MB, free: 1.859 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.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: 3.3363760891370475]