Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.00146/0.00146, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001627/0.001627, allocations: 217.8 kB / 24.49 MB, free: 4.172 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.333/1.333, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.2071/0.2071, 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.Bend,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.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,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.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79.88 kB / 0.4974 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2732, allocations: 66.08 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.456/0.7292, allocations: 184.9 MB / 0.7426 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.7352, allocations: 5.033 MB / 0.7475 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.7359, allocations: 29.02 kB / 0.7475 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.7368, allocations: 342.6 kB / 0.7478 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.7424, allocations: 2.171 MB / 0.75 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.7445, allocations: 0.9486 MB / 0.7509 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.7464, allocations: 1.695 MB / 0.7525 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/0.7471, allocations: 379.5 kB / 0.7529 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.7488, allocations: 0.885 MB / 0.7538 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000866/0.7497, allocations: 0.5179 MB / 0.7543 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.7498, allocations: 53.31 kB / 0.7543 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.7534, allocations: 2.527 MB / 0.7568 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.7537, allocations: 175.6 kB / 0.757 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005595/0.7542, allocations: 374.2 kB / 0.7573 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.7573, allocations: 2.136 MB / 0.7594 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7573, allocations: 0.7188 kB / 0.7594 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7573, allocations: 0 / 0.7594 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.7573, allocations: 1.969 kB / 0.7594 GB, free: 1.531 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.002292/0.7596, allocations: 1.092 MB / 0.7605 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.7596, allocations: 11.56 kB / 0.7605 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.7609, allocations: 163.5 kB / 0.7606 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.7617, allocations: 440.8 kB / 0.7611 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.7617, allocations: 34.36 kB / 0.7611 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.7618, allocations: 48.83 kB / 0.7611 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.7627, allocations: 0.6434 MB / 0.7618 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.7628, allocations: 4.031 kB / 0.7618 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.7628, allocations: 25.97 kB / 0.7618 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.7628, allocations: 11.66 kB / 0.7618 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.7636, allocations: 0.4895 MB / 0.7623 GB, free: 16.56 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.00283/0.7664, allocations: 2.599 MB / 0.7648 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.767, allocations: 300.3 kB / 0.7651 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.7672, allocations: 141 kB / 0.7652 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.7674, allocations: 61.16 kB / 0.7653 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.7674, allocations: 37.81 kB / 0.7653 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.7674, allocations: 2.844 kB / 0.7653 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001342/0.7688, allocations: 0.6243 MB / 0.7659 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.7689, allocations: 166.5 kB / 0.7661 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.7693, allocations: 0.5088 MB / 0.7666 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.7694, allocations: 31.61 kB / 0.7666 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.7695, allocations: 299.1 kB / 0.7669 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.7696, allocations: 134.7 kB / 0.767 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.7698, allocations: 116.7 kB / 0.7672 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7699, allocations: 367.1 kB / 0.7675 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.7702, allocations: 144.9 kB / 0.7676 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.7705, allocations: 320 kB / 0.7679 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.771, allocations: 470.1 kB / 0.7684 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.771, allocations: 4.547 kB / 0.7684 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008527/0.7719, allocations: 0.5728 MB / 0.769 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7719, allocations: 9.562 kB / 0.769 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7719, allocations: 4.781 kB / 0.769 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.7733, allocations: 238.1 kB / 0.7692 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.7736, allocations: 117.9 kB / 0.7693 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/0.7741, allocations: 0.5822 MB / 0.7699 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.7744, allocations: 70.48 kB / 0.7699 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.7745, allocations: 52.22 kB / 0.77 GB, free: 12.81 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.0002349/0.7747, allocations: 189.6 kB / 0.7702 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.7749, allocations: 59.58 kB / 0.7702 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.7764, allocations: 1.089 MB / 0.7713 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.7764, allocations: 4.781 kB / 0.7713 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7764, allocations: 4.969 kB / 0.7713 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7764, allocations: 3.406 kB / 0.7713 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.7776, allocations: 0.9682 MB / 0.7723 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7776, allocations: 0 / 0.7723 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.7778, allocations: 55.42 kB / 0.7723 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/0.7807, allocations: 437.1 kB / 0.7727 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.7807, allocations: 8.156 kB / 0.7727 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/0.7812, allocations: 0.5952 MB / 0.7733 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7812, allocations: 4.578 kB / 0.7733 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.7819, allocations: 0.4935 MB / 0.7738 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.782, allocations: 67.84 kB / 0.7739 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7821, allocations: 15.92 kB / 0.7739 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.7825, allocations: 15.19 kB / 0.7739 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.7825, allocations: 30.77 kB / 0.7739 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.7825, allocations: 23.16 kB / 0.7739 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004382/0.783, allocations: 428.7 kB / 0.7744 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.783, allocations: 0 / 0.7744 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009623/0.7839, allocations: 356.8 kB / 0.7747 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.001026/0.785, allocations: 445.4 kB / 0.7751 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006835/0.7857, allocations: 363.8 kB / 0.7755 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7857, allocations: 0 / 0.7755 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.7859, allocations: 147.2 kB / 0.7756 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.7876, allocations: 418.8 kB / 0.776 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.7891, allocations: 0.9689 MB / 0.777 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.7895, allocations: 0.8657 MB / 0.7778 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.7899, allocations: 137.7 kB / 0.7779 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7899, allocations: 0 / 0.7779 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.02195/0.8118, allocations: 16.73 MB / 0.7943 GB, free: 4.879 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.024487145012245]