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.004444/0.004444, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.004444/0.004444, allocations: 169.2 kB / 24.84 MB, free: 9.297 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 1.01/1.01, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.153/0.153, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.624e-06/1.624e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.987e-05, allocations: 2.312 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.01308/0.01311, allocations: 11.04 MB / 360 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004929/0.01804, allocations: 2.238 MB / 362.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009466/0.01898, allocations: 31.69 kB / 362.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.01972, allocations: 206.5 kB / 362.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.02353, allocations: 1.314 MB / 363.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.02588, allocations: 0.8651 MB / 364.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.02837, allocations: 1.851 MB / 366.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007502/0.02912, allocations: 450 kB / 366.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.03181, allocations: 1.972 MB / 368.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007799/0.03259, allocations: 0.596 MB / 369.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.0327, allocations: 60 kB / 369.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009427/0.03364, allocations: 495.1 kB / 370 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.03388, allocations: 295.1 kB / 370.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.03417, allocations: 291.3 kB / 370.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.03551, allocations: 1.005 MB / 371.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.03551, allocations: 3.938 kB / 371.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03552, allocations: 0 / 371.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.03553, allocations: 0 / 371.6 MB, free: 2.398 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.001342/0.03687, allocations: 1.129 MB / 372.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.0369, allocations: 8.031 kB / 372.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/0.03751, allocations: 251.7 kB / 373 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.03805, allocations: 492.8 kB / 373.5 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/0.03813, allocations: 152.4 kB / 373.6 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.03819, allocations: 60.27 kB / 373.7 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.03895, allocations: 0.9956 MB / 374.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.03897, allocations: 8.125 kB / 374.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.03901, allocations: 31.92 kB / 374.7 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.03905, allocations: 32.98 kB / 374.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.03942, allocations: 262.5 kB / 375 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.04216, allocations: 4.236 MB / 379.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.04242, allocations: 163.2 kB / 379.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.0425, allocations: 59.64 kB / 379.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.04265, allocations: 84.52 kB / 379.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.04267, allocations: 45.33 kB / 379.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.212e-06/0.04267, allocations: 0 / 379.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001793/0.04447, allocations: 0.8918 MB / 380.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.04451, allocations: 132.5 kB / 380.6 MB, free: 8.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.0449, allocations: 0.5838 MB / 381.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.04494, allocations: 33.7 kB / 381.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.04517, allocations: 478.5 kB / 381.7 MB, free: 7.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.04525, allocations: 138.9 kB / 381.8 MB, free: 7.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.04539, allocations: 168.1 kB / 382 MB, free: 7.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.04555, allocations: 0.5585 MB / 382.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.04565, allocations: 73.94 kB / 382.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.04598, allocations: 0.6 MB / 383.2 MB, free: 5.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.04642, allocations: 0.6301 MB / 383.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.04643, allocations: 0 / 383.8 MB, free: 5.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007396/0.04716, allocations: 0.6297 MB / 384.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.04718, allocations: 12 kB / 384.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.04719, allocations: 8 kB / 384.5 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.04779, allocations: 241.3 kB / 384.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.048, allocations: 127.8 kB / 384.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008006/0.0488, allocations: 1.733 MB / 386.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.04906, allocations: 31.94 kB / 386.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.0491, allocations: 39.98 kB / 386.7 MB, free: 2.246 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.0001792/0.04928, allocations: 212.3 kB / 386.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.04938, allocations: 79.58 kB / 386.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/0.05003, allocations: 446.6 kB / 387.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.05003, allocations: 4 kB / 387.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.05003, allocations: 4 kB / 387.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.05004, allocations: 3.938 kB / 387.4 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.05097, allocations: 0.817 MB / 388.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.05097, allocations: 64 / 388.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.923e-05/0.05106, allocations: 47.92 kB / 388.2 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.05149, allocations: 163.2 kB / 388.4 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.05151, allocations: 8 kB / 388.4 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006377/0.05214, allocations: 1.686 MB / 390.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05215, allocations: 4 kB / 390.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.05268, allocations: 0.5379 MB / 390.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.05284, allocations: 107.5 kB / 390.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.05289, allocations: 4 kB / 390.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.05305, allocations: 12 kB / 390.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.0531, allocations: 31.83 kB / 390.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.05313, allocations: 27.97 kB / 390.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.05334, allocations: 334.6 kB / 391.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.05334, allocations: 0 / 391.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006241/0.05397, allocations: 235.8 kB / 391.4 MB, free: 13.33 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.0004842/0.05445, allocations: 268.5 kB / 391.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.05499, allocations: 360.2 kB / 392 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.05499, allocations: 0 / 392 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.05519, allocations: 149.2 kB / 392.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.05592, allocations: 297.8 kB / 392.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.05749, allocations: 1.088 MB / 393.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.0576, allocations: 167 kB / 393.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.05796, allocations: 137.3 kB / 393.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.05844, allocations: 345.9 kB / 394.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05844, allocations: 4 kB / 394.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01901/0.07745, allocations: 14.7 MB / 408.9 MB, free: 11.88 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.72278095735237]