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.001459/0.001459, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001615/0.001615, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.323/1.323, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 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.2067/0.2067, allocations: 46.92 MB / 361.5 MB, free: 4.191 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.002205/0.002205, allocations: 87.86 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2686, allocations: 66.08 MB / 0.562 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4565/0.7251, allocations: 184.9 MB / 0.7425 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006037/0.7312, allocations: 4.647 MB / 0.7471 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006473/0.7318, allocations: 26.81 kB / 0.7471 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.7326, allocations: 341.8 kB / 0.7474 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.7365, allocations: 1.84 MB / 0.7492 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.7385, allocations: 0.9698 MB / 0.7502 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.7403, allocations: 1.735 MB / 0.7519 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.7409, allocations: 381.6 kB / 0.7522 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.7424, allocations: 0.8749 MB / 0.7531 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/0.7432, allocations: 0.5175 MB / 0.7536 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.7433, allocations: 55.61 kB / 0.7536 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.7455, allocations: 1.348 MB / 0.755 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.7456, allocations: 172.9 kB / 0.7551 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.746, allocations: 375.5 kB / 0.7555 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.7478, allocations: 1.644 MB / 0.7571 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7478, allocations: 3.438 kB / 0.7571 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7478, allocations: 3.969 kB / 0.7571 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7478, allocations: 0 / 0.7571 GB, free: 1.516 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.001629/0.7494, allocations: 1.06 MB / 0.7581 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.7495, allocations: 8.594 kB / 0.7581 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.7506, allocations: 164.5 kB / 0.7583 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.7513, allocations: 447.1 kB / 0.7587 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.7513, allocations: 36.28 kB / 0.7588 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.7514, allocations: 45.97 kB / 0.7588 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009171/0.7523, allocations: 0.6451 MB / 0.7594 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.7523, allocations: 3.812 kB / 0.7594 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.7523, allocations: 25.78 kB / 0.7595 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.7524, allocations: 10.91 kB / 0.7595 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.7531, allocations: 0.4915 MB / 0.76 GB, free: 16.57 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.002749/0.7558, allocations: 2.614 MB / 0.7625 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.7564, allocations: 302.3 kB / 0.7628 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.7566, allocations: 147 kB / 0.7629 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.7569, allocations: 57 kB / 0.763 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.7569, allocations: 37.72 kB / 0.763 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.7569, allocations: 3.094 kB / 0.763 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001357/0.7583, allocations: 0.6336 MB / 0.7636 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7584, allocations: 162.5 kB / 0.7638 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.7588, allocations: 0.5199 MB / 0.7643 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.7589, allocations: 40.48 kB / 0.7643 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.759, allocations: 312 kB / 0.7646 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.7591, allocations: 132.5 kB / 0.7648 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.7593, allocations: 116.7 kB / 0.7649 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7594, allocations: 366.7 kB / 0.7652 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.7596, allocations: 144.7 kB / 0.7654 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.7599, allocations: 320.8 kB / 0.7657 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.7605, allocations: 476.9 kB / 0.7661 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7605, allocations: 0 / 0.7661 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008481/0.7614, allocations: 0.5744 MB / 0.7667 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7614, allocations: 12.44 kB / 0.7667 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7614, allocations: 2.906 kB / 0.7667 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.7628, allocations: 241.5 kB / 0.7669 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.7631, allocations: 117.6 kB / 0.7671 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004427/0.7636, allocations: 0.5875 MB / 0.7676 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.7639, allocations: 59.86 kB / 0.7677 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.764, allocations: 55.84 kB / 0.7677 GB, free: 12.82 MB / 0.5762 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.0002576/0.7642, allocations: 192.2 kB / 0.7679 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7644, allocations: 57.77 kB / 0.768 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.7659, allocations: 1.106 MB / 0.7691 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7659, allocations: 4.75 kB / 0.7691 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.7659, allocations: 6.109 kB / 0.7691 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7659, allocations: 3 kB / 0.7691 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.7671, allocations: 0.9801 MB / 0.77 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.7671, allocations: 3.406 kB / 0.77 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.7673, allocations: 53.09 kB / 0.7701 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/0.7702, allocations: 445.4 kB / 0.7705 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.7703, allocations: 11.34 kB / 0.7705 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004341/0.7707, allocations: 0.6013 MB / 0.7711 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7707, allocations: 3.094 kB / 0.7711 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.7714, allocations: 0.5101 MB / 0.7716 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.7715, allocations: 66.78 kB / 0.7717 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.7716, allocations: 14.56 kB / 0.7717 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.7719, allocations: 18.66 kB / 0.7717 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.772, allocations: 30.73 kB / 0.7717 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.772, allocations: 20.19 kB / 0.7717 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004434/0.7725, allocations: 446 kB / 0.7722 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7725, allocations: 0.875 kB / 0.7722 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008183/0.7733, allocations: 294.4 kB / 0.7725 GB, free: 11.21 MB / 0.5762 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.000648/0.7739, allocations: 382.4 kB / 0.7728 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000674/0.7746, allocations: 359 kB / 0.7732 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7746, allocations: 4.609 kB / 0.7732 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.7749, allocations: 144.3 kB / 0.7733 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.7765, allocations: 403.1 kB / 0.7737 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.7779, allocations: 0.9819 MB / 0.7746 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.7783, allocations: 0.8622 MB / 0.7755 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.7786, allocations: 134.2 kB / 0.7756 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.7786, allocations: 1 kB / 0.7756 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of Templates: time 0.01847/0.7971, allocations: 15.71 MB / 0.791 GB, free: 6.094 MB / 0.5762 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: 9.652096417034045]