Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 169 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.2606/0.2606, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.565e-05, allocations: 5.547 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2612/0.2612, allocations: 146 MB / 0.5103 GB, free: 18.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.2652, allocations: 3.411 MB / 0.5136 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.2655, allocations: 26.31 kB / 0.5136 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.266, allocations: 174.5 kB / 0.5138 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.2688, allocations: 1.55 MB / 0.5153 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009917/0.2698, allocations: 0.5711 MB / 0.5159 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009658/0.2708, allocations: 1.526 MB / 0.5174 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.2711, allocations: 370.6 kB / 0.5177 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.2717, allocations: 0.7693 MB / 0.5185 GB, free: 14.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.2721, allocations: 492.5 kB / 0.5189 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.2722, allocations: 49.31 kB / 0.519 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.2733, allocations: 1.041 MB / 0.52 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2734, allocations: 159.9 kB / 0.5202 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2736, allocations: 255 kB / 0.5204 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.2748, allocations: 1.407 MB / 0.5218 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2748, allocations: 2.297 kB / 0.5218 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2748, allocations: 0 / 0.5218 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2749, allocations: 0 / 0.5218 GB, free: 13.12 MB / 410.7 MB 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.000966/0.2758, allocations: 1.098 MB / 0.5229 GB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2759, allocations: 9.406 kB / 0.5229 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005277/0.2764, allocations: 223.8 kB / 0.5231 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2768, allocations: 420.3 kB / 0.5235 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2768, allocations: 35.88 kB / 0.5235 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.2768, allocations: 46.78 kB / 0.5236 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.2773, allocations: 0.7735 MB / 0.5243 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2773, allocations: 2.875 kB / 0.5243 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.2774, allocations: 17.69 kB / 0.5243 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2774, allocations: 10.81 kB / 0.5243 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.2776, allocations: 221.2 kB / 0.5246 GB, free: 11.28 MB / 410.7 MB 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.001181/0.2788, allocations: 2.191 MB / 0.5267 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.2791, allocations: 191.9 kB / 0.5269 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.2791, allocations: 72.52 kB / 0.5269 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.2792, allocations: 62.08 kB / 0.527 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.2793, allocations: 42.95 kB / 0.527 GB, free: 9.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.2793, allocations: 0 / 0.527 GB, free: 9.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000649/0.2799, allocations: 444.7 kB / 0.5275 GB, free: 9.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.2799, allocations: 131.5 kB / 0.5276 GB, free: 9.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2801, allocations: 415.2 kB / 0.528 GB, free: 8.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2801, allocations: 32.7 kB / 0.528 GB, free: 8.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.2802, allocations: 340.9 kB / 0.5283 GB, free: 8.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2803, allocations: 122.7 kB / 0.5285 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.2804, allocations: 105.3 kB / 0.5286 GB, free: 8.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.2804, allocations: 0.535 MB / 0.5291 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.2805, allocations: 54.45 kB / 0.5291 GB, free: 7.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2806, allocations: 318.9 kB / 0.5294 GB, free: 7.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.2809, allocations: 303.9 kB / 0.5297 GB, free: 7.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2809, allocations: 2.562 kB / 0.5297 GB, free: 7.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003565/0.2812, allocations: 375.2 kB / 0.5301 GB, free: 7.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2812, allocations: 10.31 kB / 0.5301 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2812, allocations: 9.156 kB / 0.5301 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.2818, allocations: 201.3 kB / 0.5303 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.282, allocations: 100.2 kB / 0.5304 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001885/0.2822, allocations: 0.832 MB / 0.5312 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2823, allocations: 37.61 kB / 0.5313 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.2823, allocations: 42.06 kB / 0.5313 GB, free: 6.254 MB / 410.7 MB 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.0001028/0.2824, allocations: 186.9 kB / 0.5315 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.2825, allocations: 62.03 kB / 0.5315 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00083/0.2833, allocations: 0.9454 MB / 0.5325 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2833, allocations: 2.531 kB / 0.5325 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2833, allocations: 3.875 kB / 0.5325 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2833, allocations: 2.109 kB / 0.5325 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.2839, allocations: 0.7511 MB / 0.5332 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2839, allocations: 2.375 kB / 0.5332 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.284, allocations: 51.78 kB / 0.5332 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.2851, allocations: 318.4 kB / 0.5335 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2851, allocations: 9.219 kB / 0.5336 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001624/0.2852, allocations: 0.8426 MB / 0.5344 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2852, allocations: 0 / 0.5344 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.2855, allocations: 456.1 kB / 0.5348 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.2855, allocations: 47.78 kB / 0.5349 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.2856, allocations: 11.86 kB / 0.5349 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2857, allocations: 12.56 kB / 0.5349 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.2857, allocations: 26.28 kB / 0.5349 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2858, allocations: 15.19 kB / 0.5349 GB, free: 3.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2859, allocations: 291.6 kB / 0.5352 GB, free: 3.812 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2859, allocations: 0 / 0.5352 GB, free: 3.812 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.2864, allocations: 347.2 kB / 0.5355 GB, free: 3.719 MB / 410.7 MB 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.0005012/0.2869, allocations: 425.3 kB / 0.5359 GB, free: 3.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.2872, allocations: 234.9 kB / 0.5362 GB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2872, allocations: 2.969 kB / 0.5362 GB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2873, allocations: 110.5 kB / 0.5363 GB, free: 3.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.288, allocations: 313.5 kB / 0.5366 GB, free: 3.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.289, allocations: 0.8409 MB / 0.5374 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.289, allocations: 126.3 kB / 0.5375 GB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.2895, allocations: 473.9 kB / 0.538 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.29, allocations: 362.1 kB / 0.5383 GB, free: 2.555 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.29, allocations: 0 / 0.5383 GB, free: 2.555 MB / 410.7 MB Notification: Performance of Templates: time 0.01736/0.3073, allocations: 17.96 MB / 0.5558 GB, free: 4.086 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.62650961894542]