Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 158.4 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9515/0.9515, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1586/0.1586, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.817e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.006666/0.006684, allocations: 8.296 MB / 388.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.009442, allocations: 2.308 MB / 390.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.009796, allocations: 27.75 kB / 390.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.01026, allocations: 222.5 kB / 390.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.01231, allocations: 1.376 MB / 392.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.01351, allocations: 0.908 MB / 393.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.01488, allocations: 1.934 MB / 395.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.01537, allocations: 453.7 kB / 395.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.01745, allocations: 2.241 MB / 397.8 MB, free: 4.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.01816, allocations: 0.6077 MB / 398.4 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.01825, allocations: 60 kB / 398.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/0.01889, allocations: 483.2 kB / 398.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.01905, allocations: 283.1 kB / 399.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.0193, allocations: 291.3 kB / 399.5 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009313/0.02023, allocations: 0.9892 MB / 400.5 MB, free: 2.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.02023, allocations: 4 kB / 400.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02023, allocations: 0 / 400.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.02024, allocations: 0 / 400.5 MB, free: 2.211 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.001077/0.02132, allocations: 1.126 MB / 401.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.02135, allocations: 8.031 kB / 401.6 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005805/0.02193, allocations: 243.8 kB / 401.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.02237, allocations: 488.7 kB / 402.3 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.02243, allocations: 152.4 kB / 402.5 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.0225, allocations: 56.36 kB / 402.5 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.02322, allocations: 0.9662 MB / 403.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.02324, allocations: 3.938 kB / 403.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.02328, allocations: 27.98 kB / 403.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.02333, allocations: 44.98 kB / 403.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.02369, allocations: 258.4 kB / 403.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.0261, allocations: 4.161 MB / 408 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.02636, allocations: 174.4 kB / 408.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.02644, allocations: 63.64 kB / 408.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/0.0265, allocations: 31.97 kB / 408.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/0.02657, allocations: 41.33 kB / 408.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.02657, allocations: 0 / 408.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001789/0.02836, allocations: 0.8962 MB / 409.2 MB, free: 8.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.02841, allocations: 140.5 kB / 409.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.02882, allocations: 0.5838 MB / 409.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.02885, allocations: 33.7 kB / 409.9 MB, free: 8.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.02909, allocations: 474.6 kB / 410.4 MB, free: 7.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.02917, allocations: 138.8 kB / 410.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.02933, allocations: 168.1 kB / 410.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003609/0.02969, allocations: 0.5585 MB / 411.3 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.02979, allocations: 65.94 kB / 411.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.0301, allocations: 0.6039 MB / 411.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.03053, allocations: 0.6301 MB / 412.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.03054, allocations: 4 kB / 412.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00072/0.03126, allocations: 0.6214 MB / 413.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.03127, allocations: 12 kB / 413.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.03128, allocations: 11.98 kB / 413.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.03187, allocations: 235.5 kB / 413.4 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.03208, allocations: 131.8 kB / 413.6 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009556/0.03304, allocations: 1.734 MB / 415.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.03325, allocations: 35.92 kB / 415.3 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.03329, allocations: 36 kB / 415.4 MB, free: 2.219 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.0001532/0.03344, allocations: 200.4 kB / 415.6 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.03353, allocations: 71.62 kB / 415.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.03423, allocations: 0.5297 MB / 416.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.03423, allocations: 4 kB / 416.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.03424, allocations: 0 / 416.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.03424, allocations: 7.922 kB / 416.2 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.03573, allocations: 0.7821 MB / 417 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.03573, allocations: 0 / 417 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.03584, allocations: 43.98 kB / 417 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/0.03636, allocations: 155.2 kB / 417.1 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.03639, allocations: 12 kB / 417.2 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008587/0.03725, allocations: 1.678 MB / 418.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.03725, allocations: 0 / 418.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.03796, allocations: 0.53 MB / 419.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.03812, allocations: 91.56 kB / 419.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.03819, allocations: 12.09 kB / 419.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.03836, allocations: 11.94 kB / 419.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.03841, allocations: 39.69 kB / 419.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.03844, allocations: 19.98 kB / 419.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.03868, allocations: 338.6 kB / 419.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03868, allocations: 0 / 419.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005962/0.03927, allocations: 227.8 kB / 420.1 MB, free: 13.3 MB / 346.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.0003278/0.0396, allocations: 230.9 kB / 420.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.04011, allocations: 352.4 kB / 420.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.04011, allocations: 0 / 420.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.04032, allocations: 145.5 kB / 420.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.04105, allocations: 289.3 kB / 421.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.04263, allocations: 1.102 MB / 422.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.04274, allocations: 167 kB / 422.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.04308, allocations: 185.4 kB / 422.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.04354, allocations: 341.9 kB / 422.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.04354, allocations: 0 / 422.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of Templates: time 0.01751/0.06105, allocations: 14.3 MB / 437.2 MB, free: 12.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.7288793702609837]