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.001017/0.001017, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.0009/0.0009, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.9954/0.9954, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1424/0.1424, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.673e-06/1.673e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.246e-05, allocations: 6.25 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.009666/0.009688, allocations: 11.17 MB / 358.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.01354, allocations: 2.253 MB / 361.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005585/0.0141, allocations: 27.75 kB / 361.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.01473, allocations: 202.5 kB / 361.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.01803, allocations: 1.326 MB / 362.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.02002, allocations: 0.8613 MB / 363.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.02228, allocations: 1.847 MB / 365.4 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007157/0.023, allocations: 442.1 kB / 365.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.02542, allocations: 1.972 MB / 367.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006939/0.02611, allocations: 0.6077 MB / 368.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.02619, allocations: 60 kB / 368.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.02699, allocations: 495.1 kB / 368.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.02722, allocations: 291.1 kB / 369.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.02747, allocations: 283.3 kB / 369.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.02856, allocations: 1.012 MB / 370.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.02857, allocations: 0 / 370.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.02857, allocations: 0 / 370.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.02858, allocations: 4 kB / 370.5 MB, free: 2.512 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.001497/0.03007, allocations: 1.129 MB / 371.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.03012, allocations: 8.031 kB / 371.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007025/0.03082, allocations: 259.7 kB / 371.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.03142, allocations: 496.8 kB / 372.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.03154, allocations: 152.4 kB / 372.5 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.03162, allocations: 60.31 kB / 372.6 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000952/0.03257, allocations: 1.031 MB / 373.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.03259, allocations: 4.125 kB / 373.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.03264, allocations: 31.94 kB / 373.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/0.03269, allocations: 40.98 kB / 373.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.03319, allocations: 305.4 kB / 374 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.03609, allocations: 4.333 MB / 378.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.03643, allocations: 179.2 kB / 378.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.03652, allocations: 75.64 kB / 378.6 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.03667, allocations: 96.45 kB / 378.7 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.0367, allocations: 41.39 kB / 378.7 MB, free: 9.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.0367, allocations: 0 / 378.7 MB, free: 9.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002142/0.03884, allocations: 1.024 MB / 379.7 MB, free: 8.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.0389, allocations: 136.5 kB / 379.9 MB, free: 8.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.03939, allocations: 0.5881 MB / 380.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.03946, allocations: 33.7 kB / 380.5 MB, free: 7.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.0397, allocations: 470.6 kB / 381 MB, free: 7.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.03978, allocations: 134.9 kB / 381.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.03994, allocations: 168.2 kB / 381.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.04013, allocations: 0.5508 MB / 381.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.04028, allocations: 93.88 kB / 381.9 MB, free: 6.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.04068, allocations: 0.6156 MB / 382.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.04123, allocations: 0.6614 MB / 383.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.04124, allocations: 0 / 383.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008974/0.04213, allocations: 0.6874 MB / 383.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.04216, allocations: 8 kB / 383.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.04217, allocations: 12.81 kB / 383.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.04283, allocations: 251 kB / 384.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.04309, allocations: 131.8 kB / 384.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009834/0.04407, allocations: 1.759 MB / 386 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.0443, allocations: 24 kB / 386 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.04435, allocations: 47.98 kB / 386.1 MB, free: 1.84 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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[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.0001782/0.04453, allocations: 204.3 kB / 386.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.04462, allocations: 83.52 kB / 386.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.04535, allocations: 475.2 kB / 386.8 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.04536, allocations: 4 kB / 386.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.04536, allocations: 3.938 kB / 386.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.04537, allocations: 3.984 kB / 386.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009849/0.04635, allocations: 0.9221 MB / 387.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.04635, allocations: 0 / 387.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.04645, allocations: 43.97 kB / 387.8 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.04686, allocations: 167.1 kB / 388 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.04689, allocations: 15.98 kB / 388 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007156/0.04761, allocations: 1.69 MB / 389.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.04761, allocations: 8 kB / 389.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.04823, allocations: 0.5691 MB / 390.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.04836, allocations: 111.5 kB / 390.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.04841, allocations: 4 kB / 390.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.04857, allocations: 24.02 kB / 390.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.04863, allocations: 27.95 kB / 390.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.04866, allocations: 23.98 kB / 390.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.04893, allocations: 354.7 kB / 390.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04893, allocations: 0 / 390.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005212/0.04945, allocations: 239.8 kB / 391 MB, free: 12.71 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.0005159/0.04997, allocations: 269 kB / 391.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.05058, allocations: 377.3 kB / 391.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.05058, allocations: 256 / 391.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.05081, allocations: 167.8 kB / 391.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.05157, allocations: 304.2 kB / 392.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.05328, allocations: 1.093 MB / 393.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.05339, allocations: 174.9 kB / 393.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.05376, allocations: 184.8 kB / 393.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.05386, allocations: 56.48 kB / 393.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.05386, allocations: 0 / 393.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Templates: time 0.0191/0.07295, allocations: 14.39 MB / 408 MB, free: 11.75 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.7294779350049794]