Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.0009914/0.0009914, allocations: 95.5 kB / 21.19 MB, free: 3.363 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.001107/0.001107, allocations: 156.5 kB / 24.55 MB, free: 8 kB / 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 1.06/1.06, allocations: 177 MB / 204.8 MB, free: 5.613 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.3034/0.3034, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.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.Glycol47,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.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.94e-05, allocations: 2.312 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.0086/0.00863, allocations: 8.369 MB / 387.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.0122, allocations: 2.242 MB / 389.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.01276, allocations: 31.69 kB / 389.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.0134, allocations: 206.5 kB / 389.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.01608, allocations: 1.29 MB / 390.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.01771, allocations: 0.8611 MB / 391.8 MB, free: 5.047 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.01997, allocations: 1.848 MB / 393.6 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.02064, allocations: 441.8 kB / 394.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.02298, allocations: 1.547 MB / 395.6 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.02419, allocations: 1.025 MB / 396.6 MB, free: 184 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.0243, allocations: 64 kB / 396.7 MB, free: 120 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.0252, allocations: 479.2 kB / 397.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.02542, allocations: 283.2 kB / 397.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.02569, allocations: 291.3 kB / 397.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.0269, allocations: 1.001 MB / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.02691, allocations: 0 / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02691, allocations: 0 / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.02692, allocations: 0 / 398.7 MB, free: 14.08 MB / 378.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.001478/0.0284, allocations: 1.138 MB / 399.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.02844, allocations: 8.031 kB / 399.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.02917, allocations: 239.8 kB / 400.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.02981, allocations: 0.5007 MB / 400.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.02993, allocations: 152.4 kB / 400.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/0.03002, allocations: 60.36 kB / 400.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009766/0.031, allocations: 1.033 MB / 401.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.03102, allocations: 11.89 kB / 401.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.03107, allocations: 31.92 kB / 401.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.03112, allocations: 36.98 kB / 401.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.03167, allocations: 313.4 kB / 402.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.03483, allocations: 4.27 MB / 406.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.03519, allocations: 186 kB / 406.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.0353, allocations: 71.58 kB / 406.7 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.809e-05/0.03538, allocations: 31.98 kB / 406.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.03541, allocations: 45.38 kB / 406.8 MB, free: 5.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.035e-06/0.03542, allocations: 7.938 kB / 406.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002356/0.03777, allocations: 1.017 MB / 407.8 MB, free: 4.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.03785, allocations: 132.5 kB / 408 MB, free: 4.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.03836, allocations: 0.5764 MB / 408.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.03839, allocations: 41.69 kB / 408.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.03865, allocations: 462.7 kB / 409 MB, free: 3.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.03873, allocations: 142.9 kB / 409.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.03888, allocations: 152.2 kB / 409.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.03906, allocations: 0.543 MB / 409.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.03921, allocations: 89.92 kB / 410 MB, free: 2.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.03961, allocations: 0.5845 MB / 410.6 MB, free: 1.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.04016, allocations: 0.6272 MB / 411.2 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.04016, allocations: 4 kB / 411.2 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009233/0.04108, allocations: 0.6606 MB / 411.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.04111, allocations: 16.19 kB / 411.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.04112, allocations: 11.94 kB / 411.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.04184, allocations: 235.1 kB / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.04208, allocations: 127.8 kB / 412.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009013/0.04298, allocations: 1.743 MB / 414 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.04325, allocations: 24 kB / 414 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.04329, allocations: 43.98 kB / 414 MB, free: 13.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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.0001992/0.04349, allocations: 212.3 kB / 414.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.04359, allocations: 79.58 kB / 414.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000833/0.04442, allocations: 0.536 MB / 414.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.04443, allocations: 4 kB / 414.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.04443, allocations: 7.922 kB / 414.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.04444, allocations: 0 / 414.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.04559, allocations: 0.9103 MB / 415.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.0456, allocations: 0 / 415.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.0457, allocations: 35.98 kB / 415.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.04615, allocations: 155.2 kB / 416 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.04618, allocations: 16.02 kB / 416 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007371/0.04692, allocations: 1.694 MB / 417.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.04692, allocations: 0 / 417.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.04762, allocations: 0.5653 MB / 418.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.04778, allocations: 111.6 kB / 418.3 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.04783, allocations: 12 kB / 418.4 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.048, allocations: 15.98 kB / 418.4 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.04806, allocations: 27.89 kB / 418.4 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.0481, allocations: 23.98 kB / 418.4 MB, free: 9.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002813/0.04838, allocations: 350.8 kB / 418.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.04838, allocations: 0 / 418.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006104/0.04899, allocations: 231.8 kB / 419 MB, free: 8.535 MB / 394.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.0003841/0.04937, allocations: 226.9 kB / 419.2 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.05002, allocations: 371.8 kB / 419.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.05002, allocations: 0 / 419.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.05026, allocations: 160.8 kB / 419.7 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.05105, allocations: 291.5 kB / 420 MB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.05283, allocations: 1.095 MB / 421.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.05294, allocations: 167 kB / 421.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.05334, allocations: 229.3 kB / 421.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.05344, allocations: 56.48 kB / 421.6 MB, free: 5.895 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.05344, allocations: 0 / 421.6 MB, free: 5.895 MB / 394.7 MB Notification: Performance of Templates: time 0.01507/0.0685, allocations: 12.93 MB / 434.5 MB, free: 9.211 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.837340180296451]