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.001302/0.001302, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.001392/0.001392, allocations: 166.4 kB / 24.5 MB, free: 3.848 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.464/1.464, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.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.2083/0.2083, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.002455/0.002455, allocations: 79.81 kB / 443.2 MB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3039, allocations: 66.05 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2189/0.5228, allocations: 160 MB / 0.6535 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009067/0.5319, allocations: 4.612 MB / 0.658 GB, free: 404 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.5325, allocations: 23.75 kB / 0.6581 GB, free: 380 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.5335, allocations: 333.8 kB / 0.6584 GB, free: 44 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005618/0.5391, allocations: 2.18 MB / 0.6605 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.5416, allocations: 0.9314 MB / 0.6614 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.5439, allocations: 1.695 MB / 0.6631 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/0.5444, allocations: 362.6 kB / 0.6634 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.5461, allocations: 0.8955 MB / 0.6643 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007424/0.5468, allocations: 0.5019 MB / 0.6648 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.5469, allocations: 52 kB / 0.6648 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.5497, allocations: 1.268 MB / 0.6661 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.5499, allocations: 179.3 kB / 0.6662 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.5503, allocations: 310.8 kB / 0.6665 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.5529, allocations: 1.807 MB / 0.6683 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5529, allocations: 4 kB / 0.6683 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5529, allocations: 3.938 kB / 0.6683 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.5529, allocations: 4 kB / 0.6683 GB, free: 5.848 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.001988/0.5549, allocations: 1.083 MB / 0.6694 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.555, allocations: 16.02 kB / 0.6694 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.5562, allocations: 159.5 kB / 0.6695 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.5571, allocations: 449.5 kB / 0.67 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.5571, allocations: 33 kB / 0.67 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.5572, allocations: 47.98 kB / 0.67 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5585, allocations: 1.045 MB / 0.6711 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5586, allocations: 7.938 kB / 0.6711 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.5586, allocations: 24 kB / 0.6711 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5586, allocations: 12 kB / 0.6711 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.5596, allocations: 491.6 kB / 0.6716 GB, free: 2.309 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.003321/0.563, allocations: 1.997 MB / 0.6735 GB, free: 244 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.5637, allocations: 302.2 kB / 0.6738 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.564, allocations: 144.9 kB / 0.674 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.5642, allocations: 55.95 kB / 0.674 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.5643, allocations: 42.47 kB / 0.674 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.5643, allocations: 0 / 0.674 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001635/0.5659, allocations: 0.6194 MB / 0.6746 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.566, allocations: 162.2 kB / 0.6748 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.5665, allocations: 437.8 kB / 0.6752 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.5666, allocations: 29.7 kB / 0.6753 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.5668, allocations: 312.1 kB / 0.6755 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5669, allocations: 130.8 kB / 0.6757 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.5671, allocations: 122.1 kB / 0.6758 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.5673, allocations: 354.8 kB / 0.6761 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.5676, allocations: 144.9 kB / 0.6763 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.5682, allocations: 425.1 kB / 0.6767 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.569, allocations: 466.8 kB / 0.6771 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.569, allocations: 0 / 0.6771 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001051/0.57, allocations: 0.5599 MB / 0.6777 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.57, allocations: 11.94 kB / 0.6777 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.57, allocations: 4 kB / 0.6777 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.5717, allocations: 245.1 kB / 0.6779 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.5721, allocations: 119.9 kB / 0.678 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005471/0.5726, allocations: 0.5836 MB / 0.6786 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.573, allocations: 47.72 kB / 0.6786 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.883e-05/0.5731, allocations: 48 kB / 0.6787 GB, free: 10.65 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.0003071/0.5734, allocations: 193.6 kB / 0.6789 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.5735, allocations: 59.66 kB / 0.6789 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.5756, allocations: 1.1 MB / 0.68 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5756, allocations: 4 kB / 0.68 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5756, allocations: 4 kB / 0.68 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.5756, allocations: 3.984 kB / 0.68 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.577, allocations: 0.8359 MB / 0.6808 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.577, allocations: 4 kB / 0.6808 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.5772, allocations: 51.91 kB / 0.6809 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/0.5805, allocations: 432.4 kB / 0.6813 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.5805, allocations: 19.92 kB / 0.6813 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000501/0.581, allocations: 0.5914 MB / 0.6819 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.581, allocations: 3.938 kB / 0.6819 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.5818, allocations: 0.4895 MB / 0.6824 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.5819, allocations: 43.61 kB / 0.6824 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.582, allocations: 31.86 kB / 0.6824 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.5823, allocations: 19.94 kB / 0.6825 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.5824, allocations: 23.95 kB / 0.6825 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.5824, allocations: 24.05 kB / 0.6825 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004598/0.5829, allocations: 350.8 kB / 0.6828 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5829, allocations: 0 / 0.6828 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001123/0.584, allocations: 366.9 kB / 0.6832 GB, free: 5.863 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.0009695/0.585, allocations: 435.6 kB / 0.6836 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.5858, allocations: 359.4 kB / 0.684 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5858, allocations: 3.938 kB / 0.684 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.5861, allocations: 145.8 kB / 0.6841 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.5877, allocations: 316.6 kB / 0.6844 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.5894, allocations: 0.9258 MB / 0.6853 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5897, allocations: 267.6 kB / 0.6856 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001106/0.5908, allocations: 0.5525 MB / 0.6861 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.5911, allocations: 96.45 kB / 0.6862 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.5911, allocations: 0 / 0.6862 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of Templates: time 0.2693/0.8604, allocations: 17.42 MB / 0.7032 GB, free: 165.7 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 -s ida -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: 6.134132000966929]