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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 195.8 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2193/0.2193, allocations: 44.91 MB / 351.6 MB, free: 12.21 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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 0.001969/0.001969, allocations: 67.89 kB / 495.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3479, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2323/0.5802, allocations: 183.9 MB / 0.726 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007131/0.5874, allocations: 3.294 MB / 0.7292 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008829/0.5883, allocations: 11.94 kB / 0.7292 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.5898, allocations: 325.8 kB / 0.7296 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.5955, allocations: 1.421 MB / 0.7309 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.598, allocations: 0.7438 MB / 0.7317 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3677/0.9657, allocations: 1.543 MB / 0.7332 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.9668, allocations: 357.3 kB / 0.7335 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.9683, allocations: 0.5956 MB / 0.7341 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.9692, allocations: 484.5 kB / 0.7346 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.9694, allocations: 51.47 kB / 0.7346 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.9724, allocations: 1.209 MB / 0.7358 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.9727, allocations: 162 kB / 0.7359 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.9732, allocations: 349.3 kB / 0.7363 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.9763, allocations: 1.504 MB / 0.7377 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9763, allocations: 0.9688 kB / 0.7377 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9763, allocations: 0.9062 kB / 0.7377 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.9763, allocations: 0 / 0.7377 GB, free: 3.293 MB / 0.5606 GB 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.002077/0.9784, allocations: 1.08 MB / 0.7388 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.9784, allocations: 10.31 kB / 0.7388 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.9795, allocations: 143.4 kB / 0.7389 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.9804, allocations: 0.4952 MB / 0.7394 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.9804, allocations: 35.97 kB / 0.7395 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.9805, allocations: 37.09 kB / 0.7395 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.9814, allocations: 0.5946 MB / 0.7401 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.9814, allocations: 1.938 kB / 0.7401 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.9815, allocations: 19.44 kB / 0.7401 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.9815, allocations: 10.25 kB / 0.7401 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.9823, allocations: 485.6 kB / 0.7406 GB, free: 18.23 MB / 0.5762 GB 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.002913/0.9852, allocations: 2.678 MB / 0.7432 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.9858, allocations: 329 kB / 0.7435 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.9861, allocations: 160.1 kB / 0.7437 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.9865, allocations: 429.8 kB / 0.7441 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.9865, allocations: 42.83 kB / 0.7441 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.9865, allocations: 1.031 kB / 0.7441 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001549/0.9881, allocations: 0.7321 MB / 0.7448 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.9882, allocations: 137.1 kB / 0.745 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.9887, allocations: 494.8 kB / 0.7454 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.9887, allocations: 29.58 kB / 0.7455 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.9889, allocations: 294.1 kB / 0.7457 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.9889, allocations: 123.8 kB / 0.7459 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.9891, allocations: 100.6 kB / 0.7459 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.9893, allocations: 363 kB / 0.7463 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.9895, allocations: 151.5 kB / 0.7464 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.9899, allocations: 283.2 kB / 0.7467 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.9904, allocations: 438.8 kB / 0.7471 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9904, allocations: 2.125 kB / 0.7471 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008699/0.9913, allocations: 0.5478 MB / 0.7477 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9913, allocations: 6.766 kB / 0.7477 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9913, allocations: 3.625 kB / 0.7477 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.9928, allocations: 244.8 kB / 0.7479 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.9931, allocations: 98.58 kB / 0.748 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004783/0.9936, allocations: 0.6062 MB / 0.7486 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.994, allocations: 52.25 kB / 0.7486 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.994, allocations: 45.59 kB / 0.7487 GB, free: 13.98 MB / 0.5762 GB 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.0002494/0.9943, allocations: 190.5 kB / 0.7489 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.9944, allocations: 54.95 kB / 0.7489 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.996, allocations: 1.082 MB / 0.75 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.996, allocations: 11.67 kB / 0.75 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.996, allocations: 2.156 kB / 0.75 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.9961, allocations: 0 / 0.75 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.9974, allocations: 1.029 MB / 0.751 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9974, allocations: 0.7188 kB / 0.751 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.9976, allocations: 56.64 kB / 0.751 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003014/1.001, allocations: 444.7 kB / 0.7515 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/1.001, allocations: 13.19 kB / 0.7515 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000483/1.001, allocations: 0.6075 MB / 0.7521 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.001, allocations: 4.875 kB / 0.7521 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/1.002, allocations: 0.5137 MB / 0.7526 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/1.002, allocations: 144.6 kB / 0.7527 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/1.002, allocations: 9.062 kB / 0.7527 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/1.002, allocations: 16 kB / 0.7527 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/1.003, allocations: 36.83 kB / 0.7528 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.003, allocations: 17.19 kB / 0.7528 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00045/1.003, allocations: 424.9 kB / 0.7532 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.003, allocations: 0 / 0.7532 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008656/1.004, allocations: 292 kB / 0.7535 GB, free: 12.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0008352/1.005, allocations: 384.4 kB / 0.7538 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000782/1.005, allocations: 356.4 kB / 0.7542 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.005, allocations: 0 / 0.7542 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/1.006, allocations: 163.1 kB / 0.7543 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.007, allocations: 354.2 kB / 0.7547 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/1.009, allocations: 0.9161 MB / 0.7556 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.009, allocations: 0.8593 MB / 0.7564 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008903/1.01, allocations: 0.5611 MB / 0.757 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/1.01, allocations: 88.06 kB / 0.757 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.01, allocations: 1.203 kB / 0.757 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.02841/1.038, allocations: 16.17 MB / 0.7728 GB, free: 9.75 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.367760570719838]