Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.0009684/0.0009684, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001242/0.001242, allocations: 161.9 kB / 24.91 MB, free: 9.152 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 1.028/1.028, allocations: 177 MB / 205.2 MB, free: 5.449 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.262/0.262, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 326 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.111e-05, allocations: 2.312 kB / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3368/0.3368, allocations: 148.5 MB / 474.5 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.3415, allocations: 3.829 MB / 478.3 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.342, allocations: 26.31 kB / 478.3 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.3425, allocations: 191.9 kB / 478.5 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.3458, allocations: 1.33 MB / 479.8 MB, free: 16.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3474, allocations: 0.7811 MB / 480.6 MB, free: 16.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.3493, allocations: 1.764 MB / 482.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/0.3498, allocations: 395 kB / 482.8 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3511, allocations: 0.9624 MB / 483.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/0.3518, allocations: 0.5099 MB / 484.2 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.3519, allocations: 53.94 kB / 484.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.3534, allocations: 0.8926 MB / 485.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3535, allocations: 189.7 kB / 485.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.3538, allocations: 269.2 kB / 485.6 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.3553, allocations: 1.29 MB / 486.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3553, allocations: 0 / 486.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3553, allocations: 0 / 486.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.3553, allocations: 0 / 486.9 MB, free: 15.43 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001252/0.3566, allocations: 0.9846 MB / 487.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3566, allocations: 14.41 kB / 487.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.3575, allocations: 263.8 kB / 488.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.3579, allocations: 390.8 kB / 488.6 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3579, allocations: 37.91 kB / 488.6 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.358, allocations: 49.81 kB / 488.6 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.3586, allocations: 0.8886 MB / 489.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3586, allocations: 0 / 489.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.3586, allocations: 25.53 kB / 489.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3586, allocations: 10.84 kB / 489.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.3589, allocations: 240.3 kB / 489.8 MB, free: 13.94 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.0014/0.3603, allocations: 1.674 MB / 491.5 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3606, allocations: 176.9 kB / 491.6 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.3607, allocations: 108.5 kB / 491.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.3609, allocations: 97.42 kB / 491.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3609, allocations: 41.7 kB / 491.9 MB, free: 12.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.3609, allocations: 0 / 491.9 MB, free: 12.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006832/0.3616, allocations: 362.5 kB / 492.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.3616, allocations: 159.2 kB / 492.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3619, allocations: 386.2 kB / 492.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3619, allocations: 35.27 kB / 492.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.362, allocations: 266.7 kB / 493.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.362, allocations: 128.2 kB / 493.2 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3621, allocations: 113.2 kB / 493.3 MB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.3622, allocations: 365.6 kB / 493.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.3623, allocations: 51.83 kB / 493.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3624, allocations: 340.8 kB / 494 MB, free: 11.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.3627, allocations: 299 kB / 494.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3627, allocations: 2.781 kB / 494.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003442/0.363, allocations: 321.1 kB / 494.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.363, allocations: 5.656 kB / 494.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.363, allocations: 9.531 kB / 494.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.3636, allocations: 194 kB / 494.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3639, allocations: 118.6 kB / 495 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/0.3641, allocations: 0.5496 MB / 495.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3642, allocations: 46.27 kB / 495.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.3643, allocations: 45.36 kB / 495.6 MB, free: 10.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0001242/0.3644, allocations: 143.2 kB / 495.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.3645, allocations: 47.92 kB / 495.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000985/0.3655, allocations: 0.921 MB / 496.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3655, allocations: 3.188 kB / 496.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3655, allocations: 6.531 kB / 496.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3655, allocations: 5.484 kB / 496.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3661, allocations: 0.5435 MB / 497.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3661, allocations: 3.938 kB / 497.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3662, allocations: 51.92 kB / 497.3 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.3672, allocations: 312.5 kB / 497.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3673, allocations: 19.55 kB / 497.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001686/0.3674, allocations: 0.5514 MB / 498.2 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3674, allocations: 5.781 kB / 498.2 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.3677, allocations: 330.1 kB / 498.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.3677, allocations: 45.84 kB / 498.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.3678, allocations: 24.11 kB / 498.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3679, allocations: 12.06 kB / 498.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.368, allocations: 24.36 kB / 498.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.368, allocations: 17.39 kB / 498.7 MB, free: 9.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.3681, allocations: 187 kB / 498.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3681, allocations: 0 / 498.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006549/0.3688, allocations: 298.2 kB / 499.1 MB, free: 9.184 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.000502/0.3693, allocations: 339.6 kB / 499.5 MB, free: 9.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.3696, allocations: 218.8 kB / 499.7 MB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.3697, allocations: 16.19 kB / 499.7 MB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.3698, allocations: 93.2 kB / 499.8 MB, free: 9.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.3705, allocations: 322.2 kB / 0.4884 GB, free: 8.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3716, allocations: 0.8737 MB / 0.4892 GB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.3717, allocations: 133.5 kB / 0.4894 GB, free: 8.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006275/0.3723, allocations: 0.5396 MB / 0.4899 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.3729, allocations: 333.9 kB / 0.4902 GB, free: 7.914 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3729, allocations: 0 / 0.4902 GB, free: 7.914 MB / 410.7 MB Notification: Performance of Templates: time 0.02033/0.3932, allocations: 16.47 MB / 0.5063 GB, free: 12.87 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.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.9057795819826424]