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.0009448/0.0009448, allocations: 82.59 kB / 21.43 MB, free: 3.07 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: 166.1 kB / 24.82 MB, free: 9.258 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.9433/0.9433, allocations: 177 MB / 205.1 MB, free: 5.484 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.2598/0.2598, 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 2.264e-06/2.264e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.655e-05, allocations: 2.312 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3181/0.3181, allocations: 146.3 MB / 0.5133 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.3224, allocations: 3.753 MB / 0.5169 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.3229, allocations: 30.75 kB / 0.517 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.3234, allocations: 192.8 kB / 0.5171 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.3259, allocations: 1.358 MB / 0.5185 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3272, allocations: 0.7885 MB / 0.5192 GB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3288, allocations: 1.757 MB / 0.521 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.3294, allocations: 398.2 kB / 0.5213 GB, free: 11.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3306, allocations: 0.9806 MB / 0.5223 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.3312, allocations: 0.5199 MB / 0.5228 GB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3313, allocations: 55.66 kB / 0.5229 GB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.3327, allocations: 0.8544 MB / 0.5237 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3328, allocations: 175.6 kB / 0.5239 GB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.3331, allocations: 283.2 kB / 0.5241 GB, free: 10.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.3347, allocations: 1.278 MB / 0.5254 GB, free: 9.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3347, allocations: 0 / 0.5254 GB, free: 9.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3347, allocations: 0 / 0.5254 GB, free: 9.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.3348, allocations: 0 / 0.5254 GB, free: 9.59 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.001364/0.3361, allocations: 1.129 MB / 0.5265 GB, free: 8.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3362, allocations: 10.88 kB / 0.5265 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007037/0.3369, allocations: 266.6 kB / 0.5267 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.3373, allocations: 445.1 kB / 0.5272 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3373, allocations: 32.84 kB / 0.5272 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.3374, allocations: 52.53 kB / 0.5272 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.338, allocations: 0.9215 MB / 0.5281 GB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.338, allocations: 3.938 kB / 0.5282 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.338, allocations: 20.16 kB / 0.5282 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.338, allocations: 10.91 kB / 0.5282 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.3384, allocations: 252 kB / 0.5284 GB, free: 7.543 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.001461/0.3398, allocations: 2.37 MB / 0.5307 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.3401, allocations: 202.6 kB / 0.5309 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.3402, allocations: 79.23 kB / 0.531 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.3404, allocations: 61.36 kB / 0.5311 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3404, allocations: 43.33 kB / 0.5311 GB, free: 5.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.3404, allocations: 0 / 0.5311 GB, free: 5.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007879/0.3412, allocations: 469.3 kB / 0.5316 GB, free: 5.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3412, allocations: 159.4 kB / 0.5317 GB, free: 5.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3415, allocations: 456 kB / 0.5321 GB, free: 4.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3415, allocations: 32.3 kB / 0.5322 GB, free: 4.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3416, allocations: 371.5 kB / 0.5325 GB, free: 4.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.3417, allocations: 137 kB / 0.5327 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3418, allocations: 128.1 kB / 0.5328 GB, free: 4.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.3419, allocations: 0.5346 MB / 0.5333 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.342, allocations: 63.48 kB / 0.5334 GB, free: 3.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3422, allocations: 420.5 kB / 0.5338 GB, free: 3.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.3426, allocations: 378.1 kB / 0.5341 GB, free: 3.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3426, allocations: 0 / 0.5341 GB, free: 3.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000519/0.3431, allocations: 442.4 kB / 0.5345 GB, free: 2.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.3431, allocations: 9.203 kB / 0.5346 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3431, allocations: 9.281 kB / 0.5346 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.3437, allocations: 191.2 kB / 0.5347 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3439, allocations: 124.6 kB / 0.5349 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002518/0.3442, allocations: 0.8245 MB / 0.5357 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3443, allocations: 43 kB / 0.5357 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.3444, allocations: 51.03 kB / 0.5358 GB, free: 2.047 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.0001218/0.3445, allocations: 191.1 kB / 0.5359 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3446, allocations: 64.45 kB / 0.536 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3456, allocations: 1.019 MB / 0.537 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3456, allocations: 2.781 kB / 0.537 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3456, allocations: 6.25 kB / 0.537 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3456, allocations: 0 / 0.537 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.3463, allocations: 0.7217 MB / 0.5377 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3463, allocations: 2.875 kB / 0.5377 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3464, allocations: 45.67 kB / 0.5378 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.3474, allocations: 320 kB / 0.5381 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3475, allocations: 15.59 kB / 0.5381 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002142/0.3477, allocations: 0.8304 MB / 0.5389 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3477, allocations: 2.578 kB / 0.5389 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.3481, allocations: 461 kB / 0.5393 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.3481, allocations: 47.88 kB / 0.5394 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.3482, allocations: 21.11 kB / 0.5394 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3483, allocations: 19.12 kB / 0.5394 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.3484, allocations: 30.56 kB / 0.5394 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3484, allocations: 17.45 kB / 0.5395 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.3486, allocations: 318.6 kB / 0.5398 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3486, allocations: 3.938 kB / 0.5398 GB, free: 15.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007539/0.3494, allocations: 297.6 kB / 0.54 GB, free: 15.47 MB / 426.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.0005101/0.3499, allocations: 357.2 kB / 0.5404 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3502, allocations: 237.8 kB / 0.5406 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3502, allocations: 0 / 0.5406 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3504, allocations: 106.1 kB / 0.5407 GB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.3512, allocations: 335.8 kB / 0.541 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3524, allocations: 0.8782 MB / 0.5419 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.851e-05/0.3525, allocations: 128.5 kB / 0.542 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007274/0.3532, allocations: 0.5452 MB / 0.5426 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.3538, allocations: 399.8 kB / 0.5429 GB, free: 14.1 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3538, allocations: 3.938 kB / 0.5429 GB, free: 14.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01914/0.3729, allocations: 16.53 MB / 0.5591 GB, free: 15.39 MB / 442.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 -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.897037087008357]