Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001141/0.001141, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001217/0.001217, allocations: 174.2 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9524/0.9524, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.003e-05, allocations: 2.312 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3518/0.3518, allocations: 148.2 MB / 471.5 MB, free: 16.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.3557, allocations: 3.087 MB / 474.6 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.3562, allocations: 21.72 kB / 474.6 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.3568, allocations: 186 kB / 474.8 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.3593, allocations: 1.193 MB / 476 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3605, allocations: 0.5943 MB / 476.6 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.3622, allocations: 1.555 MB / 478.1 MB, free: 16.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.3628, allocations: 378.3 kB / 478.5 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.3639, allocations: 0.7749 MB / 479.3 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.3646, allocations: 468 kB / 479.7 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3648, allocations: 51.66 kB / 479.8 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.3667, allocations: 0.8614 MB / 480.6 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.3669, allocations: 168 kB / 480.8 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.3672, allocations: 250.8 kB / 481 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.3694, allocations: 1.2 MB / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3694, allocations: 0 / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3694, allocations: 0 / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.3694, allocations: 0 / 482.2 MB, free: 16.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001289/0.3707, allocations: 0.9366 MB / 483.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3707, allocations: 8.5 kB / 483.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.3713, allocations: 216.2 kB / 483.4 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3718, allocations: 382.2 kB / 483.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3718, allocations: 36.28 kB / 483.8 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.3719, allocations: 50.75 kB / 483.9 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.3724, allocations: 0.7453 MB / 484.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3724, allocations: 2.75 kB / 484.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.3724, allocations: 20.34 kB / 484.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3725, allocations: 12.61 kB / 484.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3727, allocations: 230.7 kB / 484.9 MB, free: 14.77 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.374, allocations: 1.562 MB / 486.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3743, allocations: 164 kB / 486.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.3743, allocations: 105.3 kB / 486.7 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.3745, allocations: 93.97 kB / 486.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3746, allocations: 40.41 kB / 486.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.3746, allocations: 0 / 486.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006355/0.3752, allocations: 350.1 kB / 487.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3752, allocations: 136.3 kB / 487.3 MB, free: 13.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3754, allocations: 364.5 kB / 487.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3754, allocations: 35.48 kB / 487.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.3755, allocations: 239.7 kB / 487.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.3756, allocations: 127 kB / 488 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.3757, allocations: 90.97 kB / 488.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.3757, allocations: 357.8 kB / 488.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.3758, allocations: 50.33 kB / 488.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3759, allocations: 259.9 kB / 488.8 MB, free: 12.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3761, allocations: 254.9 kB / 489 MB, free: 12.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3761, allocations: 3.125 kB / 489 MB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002899/0.3764, allocations: 265.4 kB / 489.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3764, allocations: 14.5 kB / 489.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3764, allocations: 2.781 kB / 489.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.377, allocations: 193 kB / 489.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.3772, allocations: 105.1 kB / 489.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001917/0.3774, allocations: 0.547 MB / 490.1 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3775, allocations: 36.64 kB / 490.2 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.3776, allocations: 40.5 kB / 490.2 MB, free: 11.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.3777, allocations: 145.3 kB / 490.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.3778, allocations: 44.44 kB / 490.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/0.3786, allocations: 0.8719 MB / 491.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3786, allocations: 2.5 kB / 491.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3786, allocations: 5.562 kB / 491.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3786, allocations: 0 / 491.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.3792, allocations: 0.5647 MB / 491.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3792, allocations: 3.125 kB / 491.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3793, allocations: 57.19 kB / 491.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009967/0.3803, allocations: 314.4 kB / 492.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3803, allocations: 10.34 kB / 492.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000154/0.3804, allocations: 0.5571 MB / 492.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3805, allocations: 4.031 kB / 492.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3807, allocations: 326.6 kB / 493.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.3807, allocations: 51.77 kB / 493.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3807, allocations: 12.95 kB / 493.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3809, allocations: 14.88 kB / 493.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3809, allocations: 24.48 kB / 493.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3809, allocations: 16.14 kB / 493.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3811, allocations: 169.8 kB / 493.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3811, allocations: 0 / 493.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000565/0.3816, allocations: 289.7 kB / 493.7 MB, free: 10.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004842/0.3821, allocations: 341.8 kB / 494 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3824, allocations: 197.2 kB / 494.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.3824, allocations: 11.59 kB / 494.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.3825, allocations: 88.28 kB / 494.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.3832, allocations: 295.1 kB / 494.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.3842, allocations: 0.8319 MB / 495.4 MB, free: 9.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.3842, allocations: 128.6 kB / 495.5 MB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005577/0.3848, allocations: 475.1 kB / 496 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.3853, allocations: 303.5 kB / 496.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3853, allocations: 0 / 496.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of Templates: time 0.01587/0.4012, allocations: 15.82 MB / 0.5001 GB, free: 0.8516 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.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.62971867993474]