Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.0009383/0.0009383, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.0009368/0.0009368, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9573/0.9573, allocations: 158.6 MB / 185.9 MB, free: 2.395 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1318/0.1318, allocations: 32.38 MB / 270.7 MB, free: 14.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.589e-05, allocations: 5.406 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.007932/0.007948, allocations: 11.03 MB / 359.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.01105, allocations: 2.242 MB / 361.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.01154, allocations: 27.75 kB / 361.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.01215, allocations: 206.5 kB / 361.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.01462, allocations: 1.318 MB / 363 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.01599, allocations: 0.8651 MB / 363.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.01804, allocations: 1.851 MB / 365.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.01868, allocations: 450 kB / 366.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.02116, allocations: 1.968 MB / 368.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.0219, allocations: 0.6038 MB / 368.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.02199, allocations: 60 kB / 368.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/0.02268, allocations: 0.4913 MB / 369.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.02288, allocations: 295.1 kB / 369.5 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.02309, allocations: 283.3 kB / 369.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009547/0.02405, allocations: 1.009 MB / 370.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.02405, allocations: 0 / 370.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02405, allocations: 0 / 370.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.02406, allocations: 0 / 370.8 MB, free: 2.383 MB / 298.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.001246/0.0253, allocations: 1.125 MB / 371.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.02534, allocations: 8.031 kB / 372 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.02596, allocations: 251.7 kB / 372.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.02647, allocations: 492.8 kB / 372.7 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.02656, allocations: 152.4 kB / 372.8 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.02663, allocations: 60.33 kB / 372.9 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.02741, allocations: 0.9956 MB / 373.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.02743, allocations: 4.125 kB / 373.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.02747, allocations: 27.94 kB / 373.9 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.02752, allocations: 44.98 kB / 374 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.02789, allocations: 250.5 kB / 374.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.03085, allocations: 4.246 MB / 378.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.03113, allocations: 173.5 kB / 378.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.0312, allocations: 51.66 kB / 378.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.03135, allocations: 99.22 kB / 378.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.03139, allocations: 45.33 kB / 378.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.03139, allocations: 0 / 378.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001856/0.03324, allocations: 0.9385 MB / 379.8 MB, free: 8.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.0333, allocations: 132.5 kB / 379.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.03371, allocations: 0.58 MB / 380.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.03374, allocations: 33.7 kB / 380.5 MB, free: 8.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.03397, allocations: 474.5 kB / 381 MB, free: 7.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.03405, allocations: 138.9 kB / 381.1 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.0342, allocations: 172.1 kB / 381.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005099/0.03471, allocations: 0.5585 MB / 381.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.03481, allocations: 69.94 kB / 381.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.03516, allocations: 0.6 MB / 382.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.03563, allocations: 0.6379 MB / 383.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.03564, allocations: 0 / 383.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007114/0.03635, allocations: 0.6336 MB / 383.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.03637, allocations: 8 kB / 383.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.03638, allocations: 15.94 kB / 383.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.03696, allocations: 235.1 kB / 384 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.03716, allocations: 131.7 kB / 384.1 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007165/0.03788, allocations: 1.743 MB / 385.9 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.03809, allocations: 31.94 kB / 385.9 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.03813, allocations: 39.98 kB / 386 MB, free: 2.16 MB / 314.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.0001661/0.03829, allocations: 212.3 kB / 386.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.03838, allocations: 79.58 kB / 386.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.03905, allocations: 457.3 kB / 386.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.03905, allocations: 4 kB / 386.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.03906, allocations: 0 / 386.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.03906, allocations: 7.922 kB / 386.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.03992, allocations: 0.8288 MB / 387.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03992, allocations: 0 / 387.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.307e-05/0.04001, allocations: 39.92 kB / 387.6 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.04045, allocations: 183.2 kB / 387.7 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.04046, allocations: 8 kB / 387.8 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009774/0.04144, allocations: 1.686 MB / 389.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.04144, allocations: 4 kB / 389.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.04199, allocations: 0.5495 MB / 390 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.04211, allocations: 99.52 kB / 390.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.04215, allocations: 15.94 kB / 390.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.0423, allocations: 8 kB / 390.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.04234, allocations: 36 kB / 390.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.04237, allocations: 19.98 kB / 390.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.04257, allocations: 330.7 kB / 390.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04257, allocations: 0 / 390.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.04303, allocations: 239.8 kB / 390.7 MB, free: 13.2 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.0004076/0.04343, allocations: 267.1 kB / 391 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.04389, allocations: 344.8 kB / 391.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.04389, allocations: 0 / 391.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.04408, allocations: 160.5 kB / 391.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.04477, allocations: 295.8 kB / 391.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.04621, allocations: 1.089 MB / 392.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.679e-05/0.04631, allocations: 167 kB / 393 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.04657, allocations: 138 kB / 393.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.04701, allocations: 341.9 kB / 393.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.011e-06/0.04701, allocations: 0 / 393.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of Templates: time 0.01817/0.06518, allocations: 14.53 MB / 408 MB, free: 11.94 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.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.49404135113582]