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.001976/0.001976, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002449/0.002449, allocations: 214.5 kB / 24.48 MB, free: 3.93 MB / 14.72 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2425/0.2425, allocations: 46.95 MB / 361.6 MB, free: 3.938 MB / 286.1 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.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..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.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..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 0.002438/0.002438, allocations: 79.88 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3332, allocations: 66.1 MB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2174/0.5506, allocations: 160 MB / 0.7181 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007711/0.5583, allocations: 4.261 MB / 0.7223 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000712/0.559, allocations: 27.75 kB / 0.7223 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5601, allocations: 325.8 kB / 0.7226 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005619/0.5657, allocations: 1.833 MB / 0.7244 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.5685, allocations: 0.9683 MB / 0.7254 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.5714, allocations: 1.73 MB / 0.7271 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.5722, allocations: 374.5 kB / 0.7274 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.5742, allocations: 0.8799 MB / 0.7283 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009296/0.5751, allocations: 0.498 MB / 0.7288 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.5752, allocations: 60 kB / 0.7288 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.5778, allocations: 0.9828 MB / 0.7298 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.578, allocations: 175.3 kB / 0.73 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.5785, allocations: 326.7 kB / 0.7303 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.5816, allocations: 1.577 MB / 0.7318 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5816, allocations: 0 / 0.7318 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.534e-06/0.5816, allocations: 0 / 0.7318 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.5817, allocations: 0 / 0.7318 GB, free: 5.406 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0022/0.5839, allocations: 1.06 MB / 0.7328 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5839, allocations: 8.031 kB / 0.7328 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.5852, allocations: 159.5 kB / 0.733 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.5863, allocations: 457.5 kB / 0.7334 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.5863, allocations: 29 kB / 0.7335 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.5864, allocations: 44 kB / 0.7335 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5879, allocations: 1.045 MB / 0.7345 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5879, allocations: 7.938 kB / 0.7345 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.588, allocations: 27.98 kB / 0.7346 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.588, allocations: 12 kB / 0.7346 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5891, allocations: 499.6 kB / 0.735 GB, free: 1.883 MB / 0.5606 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.2442/0.8332, allocations: 2.004 MB / 0.737 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.8342, allocations: 297.6 kB / 0.7373 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.8345, allocations: 145.2 kB / 0.7374 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.8347, allocations: 57.23 kB / 0.7375 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.8348, allocations: 42.62 kB / 0.7375 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.8348, allocations: 2.203 kB / 0.7375 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001951/0.8367, allocations: 0.6274 MB / 0.7381 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.8368, allocations: 159.6 kB / 0.7383 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.8375, allocations: 454.2 kB / 0.7387 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.8375, allocations: 32.45 kB / 0.7388 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.8377, allocations: 314.7 kB / 0.7391 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.236e-05/0.8378, allocations: 128.1 kB / 0.7392 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.838, allocations: 123.1 kB / 0.7393 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.8381, allocations: 358.9 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.8383, allocations: 146.4 kB / 0.7398 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.8387, allocations: 419.3 kB / 0.7402 GB, free: 174 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.8393, allocations: 474.4 kB / 0.7406 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8393, allocations: 3.969 kB / 0.7406 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000887/0.8402, allocations: 0.5666 MB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8402, allocations: 12.67 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8402, allocations: 3.969 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.8417, allocations: 242.2 kB / 0.7414 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.8421, allocations: 122.7 kB / 0.7415 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003407/0.8424, allocations: 0.591 MB / 0.7421 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.8428, allocations: 50.66 kB / 0.7422 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.8429, allocations: 52.06 kB / 0.7422 GB, free: 172.8 MB / 0.5606 GB 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.0002975/0.8432, allocations: 197.7 kB / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.8433, allocations: 56.11 kB / 0.7425 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.8449, allocations: 1.106 MB / 0.7435 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8449, allocations: 7.969 kB / 0.7436 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8449, allocations: 0 / 0.7436 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.845, allocations: 0 / 0.7436 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.8461, allocations: 0.8581 MB / 0.7444 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8461, allocations: 0 / 0.7444 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.8463, allocations: 54.45 kB / 0.7444 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/0.8491, allocations: 443.5 kB / 0.7449 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.8492, allocations: 12 kB / 0.7449 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003415/0.8495, allocations: 0.6023 MB / 0.7455 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8495, allocations: 4.031 kB / 0.7455 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.8502, allocations: 491.4 kB / 0.7459 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.8503, allocations: 60.09 kB / 0.746 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.8504, allocations: 8 kB / 0.746 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.8507, allocations: 19.3 kB / 0.746 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.8507, allocations: 25.7 kB / 0.746 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.8508, allocations: 19.98 kB / 0.7461 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003487/0.8511, allocations: 358.8 kB / 0.7464 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8511, allocations: 0 / 0.7464 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008779/0.852, allocations: 310.7 kB / 0.7467 GB, free: 169.1 MB / 0.5606 GB 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.000679/0.8527, allocations: 386.6 kB / 0.7471 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007293/0.8534, allocations: 368 kB / 0.7474 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8534, allocations: 1.828 kB / 0.7474 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.8537, allocations: 140.9 kB / 0.7476 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.855, allocations: 309 kB / 0.7479 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.8564, allocations: 0.964 MB / 0.7488 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.8566, allocations: 267.5 kB / 0.749 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.8569, allocations: 126.3 kB / 0.7492 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.8569, allocations: 0 / 0.7492 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01891/0.8758, allocations: 14.86 MB / 0.7637 GB, free: 151.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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: 10.915999040007591]