Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.0008887/0.0008887, allocations: 88.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.0009425/0.0009425, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9759/0.9759, allocations: 177 MB / 205.2 MB, free: 5.043 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.2907/0.2907, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.484e-05, allocations: 2.312 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3243/0.3243, allocations: 148.2 MB / 474.2 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.3288, allocations: 3.078 MB / 477.3 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.3294, allocations: 20.44 kB / 477.3 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.3299, allocations: 191.9 kB / 477.5 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.3326, allocations: 1.196 MB / 478.7 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3339, allocations: 0.5942 MB / 479.3 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.3358, allocations: 1.557 MB / 480.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.3364, allocations: 375.7 kB / 481.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3374, allocations: 0.7715 MB / 482 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.3381, allocations: 465.1 kB / 482.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.3382, allocations: 56.31 kB / 482.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.3399, allocations: 0.8651 MB / 483.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.34, allocations: 167.7 kB / 483.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.3402, allocations: 246 kB / 483.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.3418, allocations: 1.204 MB / 484.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3418, allocations: 0 / 484.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3418, allocations: 0 / 484.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3418, allocations: 2.906 kB / 484.9 MB, free: 15.57 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.001337/0.3431, allocations: 0.9372 MB / 485.9 MB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3432, allocations: 8.688 kB / 485.9 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.3438, allocations: 219.1 kB / 486.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.3442, allocations: 380.3 kB / 486.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3442, allocations: 31.75 kB / 486.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.3442, allocations: 49.72 kB / 486.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.3447, allocations: 0.7428 MB / 487.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3447, allocations: 6.891 kB / 487.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.3448, allocations: 22.25 kB / 487.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3448, allocations: 15.88 kB / 487.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.3451, allocations: 217.8 kB / 487.5 MB, free: 14.26 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.001187/0.3463, allocations: 1.556 MB / 489.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3465, allocations: 174.1 kB / 489.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.3466, allocations: 104.5 kB / 489.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.3468, allocations: 94.45 kB / 489.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3468, allocations: 36.78 kB / 489.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.474e-06/0.3468, allocations: 4 kB / 489.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006178/0.3475, allocations: 352.1 kB / 489.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3475, allocations: 133.9 kB / 490 MB, free: 12.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3477, allocations: 361.1 kB / 490.3 MB, free: 12.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3477, allocations: 39.08 kB / 490.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.3478, allocations: 241.5 kB / 490.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.3478, allocations: 128.4 kB / 490.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.3479, allocations: 90.66 kB / 490.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.348, allocations: 358.7 kB / 491.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.3481, allocations: 47.03 kB / 491.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3482, allocations: 261.8 kB / 491.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3484, allocations: 247.9 kB / 491.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3484, allocations: 0 / 491.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002899/0.3487, allocations: 267.2 kB / 492 MB, free: 11.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3487, allocations: 11.83 kB / 492 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3487, allocations: 5.406 kB / 492 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.3493, allocations: 193.6 kB / 492.2 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3495, allocations: 106.7 kB / 492.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/0.3497, allocations: 0.5507 MB / 492.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3498, allocations: 35.66 kB / 492.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.3498, allocations: 37.7 kB / 492.9 MB, free: 11.2 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.0001132/0.3499, allocations: 148 kB / 493.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.35, allocations: 46.69 kB / 493.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008311/0.3508, allocations: 0.8699 MB / 494 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3508, allocations: 2.312 kB / 494 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.3508, allocations: 0 / 494 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3508, allocations: 2.438 kB / 494 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.3514, allocations: 0.5725 MB / 494.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3514, allocations: 0 / 494.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3515, allocations: 54.58 kB / 494.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3526, allocations: 320.3 kB / 494.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3526, allocations: 10.19 kB / 494.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001639/0.3527, allocations: 0.5547 MB / 495.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3527, allocations: 3.25 kB / 495.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.353, allocations: 323.6 kB / 495.8 MB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.353, allocations: 50.59 kB / 495.8 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.3531, allocations: 12.64 kB / 495.9 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3532, allocations: 17.14 kB / 495.9 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.3532, allocations: 26.52 kB / 495.9 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3532, allocations: 18.92 kB / 495.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3534, allocations: 171.3 kB / 496.1 MB, free: 9.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3534, allocations: 0 / 496.1 MB, free: 9.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.354, allocations: 286.3 kB / 496.4 MB, free: 9.809 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.0004743/0.3544, allocations: 334.6 kB / 496.7 MB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.3547, allocations: 206 kB / 496.9 MB, free: 9.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.3547, allocations: 5.469 kB / 496.9 MB, free: 9.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3549, allocations: 91.33 kB / 497 MB, free: 9.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.3555, allocations: 292.7 kB / 497.3 MB, free: 9.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/0.3565, allocations: 0.8306 MB / 498.1 MB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.3565, allocations: 127.5 kB / 498.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.3571, allocations: 475.9 kB / 498.7 MB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.3575, allocations: 302.6 kB / 499 MB, free: 8.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3575, allocations: 0 / 499 MB, free: 8.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01837/0.3759, allocations: 15.82 MB / 0.5027 GB, free: 15.39 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6863400577567518]