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.0009636/0.0009636, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.00105/0.00105, allocations: 165.3 kB / 24.91 MB, free: 9.184 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.9782/0.9782, allocations: 177 MB / 205.2 MB, free: 5.438 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.2918/0.2918, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.953e-06/1.953e-06, allocations: 3.938 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.854e-05, allocations: 3.859 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.01161/0.01164, allocations: 8.354 MB / 334.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.01556, allocations: 2.287 MB / 336.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.01585, allocations: 35.69 kB / 336.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.0164, allocations: 198.6 kB / 336.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.01875, allocations: 1.263 MB / 338.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.02, allocations: 0.8339 MB / 338.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.02129, allocations: 1.855 MB / 340.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.02169, allocations: 421.8 kB / 341.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.02356, allocations: 1.918 MB / 343.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.02425, allocations: 0.5687 MB / 343.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.02432, allocations: 60 kB / 343.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006581/0.02498, allocations: 0.4991 MB / 344.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.02517, allocations: 279.2 kB / 344.5 MB, free: 4.477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.02541, allocations: 291.3 kB / 344.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.02632, allocations: 0.9969 MB / 345.8 MB, free: 3.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02633, allocations: 0 / 345.8 MB, free: 3.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02633, allocations: 0 / 345.8 MB, free: 3.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.02634, allocations: 0 / 345.8 MB, free: 3.191 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.001125/0.02746, allocations: 0.9861 MB / 346.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.02749, allocations: 8.031 kB / 346.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.02816, allocations: 232.2 kB / 347 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.02865, allocations: 431.3 kB / 347.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-05/0.02874, allocations: 152.4 kB / 347.6 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.02881, allocations: 64.3 kB / 347.7 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.02953, allocations: 0.9116 MB / 348.6 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.02955, allocations: 7.922 kB / 348.6 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.02959, allocations: 24 kB / 348.6 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.02963, allocations: 32.98 kB / 348.6 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.03, allocations: 241.3 kB / 348.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.03231, allocations: 2.966 MB / 351.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.03255, allocations: 145.3 kB / 352 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.03261, allocations: 48.83 kB / 352 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.03272, allocations: 60.55 kB / 352.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.03274, allocations: 42.5 kB / 352.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.172e-06/0.03274, allocations: 0 / 352.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001785/0.03453, allocations: 0.8815 MB / 353 MB, free: 11.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.03458, allocations: 132.5 kB / 353.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.03491, allocations: 0.4987 MB / 353.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.03494, allocations: 37.7 kB / 353.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.0351, allocations: 364.8 kB / 354 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.03517, allocations: 138.9 kB / 354.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.03531, allocations: 150.4 kB / 354.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.03543, allocations: 382.6 kB / 354.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.03552, allocations: 65.95 kB / 354.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.0358, allocations: 473.5 kB / 355.2 MB, free: 9.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.0362, allocations: 0.5045 MB / 355.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.0362, allocations: 8 kB / 355.7 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006633/0.03687, allocations: 0.507 MB / 356.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.03688, allocations: 12 kB / 356.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.03689, allocations: 11.98 kB / 356.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.03744, allocations: 224.3 kB / 356.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.03765, allocations: 131.8 kB / 356.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007052/0.03836, allocations: 1.166 MB / 357.8 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.03856, allocations: 28.06 kB / 357.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.0386, allocations: 43.98 kB / 357.8 MB, free: 6.273 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.0001472/0.03875, allocations: 172.4 kB / 358 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.03881, allocations: 55.88 kB / 358.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.03944, allocations: 478.2 kB / 358.5 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.03945, allocations: 4 kB / 358.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.03945, allocations: 3.938 kB / 358.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.03945, allocations: 7.984 kB / 358.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.04016, allocations: 0.6601 MB / 359.2 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.04017, allocations: 4 kB / 359.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.04026, allocations: 47.91 kB / 359.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.04063, allocations: 150.8 kB / 359.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.04065, allocations: 11.98 kB / 359.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004793/0.04113, allocations: 1.138 MB / 360.6 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.04114, allocations: 0 / 360.6 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.04157, allocations: 470.9 kB / 361 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.04168, allocations: 71.59 kB / 361.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.04173, allocations: 8 kB / 361.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.04187, allocations: 16 kB / 361.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.04192, allocations: 23.89 kB / 361.1 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.04195, allocations: 15.98 kB / 361.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.0421, allocations: 212.4 kB / 361.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0421, allocations: 0 / 361.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.04257, allocations: 235.8 kB / 361.6 MB, free: 2.359 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.0003076/0.04287, allocations: 208.1 kB / 361.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.0433, allocations: 340.1 kB / 362.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.04332, allocations: 12.5 kB / 362.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.0435, allocations: 132.4 kB / 362.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.04415, allocations: 306.4 kB / 362.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.04561, allocations: 1.1 MB / 363.7 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.0457, allocations: 163 kB / 363.8 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.04601, allocations: 185.1 kB / 364 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.04644, allocations: 275 kB / 364.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.04644, allocations: 4 kB / 364.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Templates: time 0.01572/0.06216, allocations: 14.22 MB / 378.5 MB, free: 1.719 MB / 346.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 -s gbode -gbm=radauIIA3 -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.400517836213112]