Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.00127/0.00127, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001965/0.001965, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2457/0.2457, allocations: 32.36 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.421e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4104/0.4104, allocations: 162.8 MB / 0.4978 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.4226, allocations: 6.818 MB / 0.5044 GB, free: 6.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.4235, allocations: 23.75 kB / 0.5045 GB, free: 6.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4247, allocations: 321.7 kB / 0.5048 GB, free: 5.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009078/0.4338, allocations: 2.804 MB / 0.5075 GB, free: 3.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.4372, allocations: 0.9462 MB / 0.5084 GB, free: 2.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.4405, allocations: 1.687 MB / 0.5101 GB, free: 496 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008073/0.4413, allocations: 394.7 kB / 0.5105 GB, free: 96 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.4438, allocations: 1.091 MB / 0.5115 GB, free: 15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009324/0.4447, allocations: 462.7 kB / 0.512 GB, free: 14.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.4448, allocations: 56 kB / 0.512 GB, free: 14.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.4493, allocations: 1.443 MB / 0.5134 GB, free: 13.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.4496, allocations: 187.3 kB / 0.5136 GB, free: 12.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.4501, allocations: 267.4 kB / 0.5139 GB, free: 12.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.454, allocations: 2.049 MB / 0.5159 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.454, allocations: 0 / 0.5159 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.454, allocations: 0 / 0.5159 GB, free: 10.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.454, allocations: 0 / 0.5159 GB, free: 10.55 MB / 394.7 MB 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.002922/0.457, allocations: 1.111 MB / 0.5169 GB, free: 9.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.457, allocations: 8.031 kB / 0.517 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.4583, allocations: 258.8 kB / 0.5172 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4594, allocations: 478 kB / 0.5177 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.4595, allocations: 37 kB / 0.5177 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4596, allocations: 44 kB / 0.5177 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.4613, allocations: 1.042 MB / 0.5187 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.4613, allocations: 4 kB / 0.5188 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.4614, allocations: 24 kB / 0.5188 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4614, allocations: 12 kB / 0.5188 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4625, allocations: 495.5 kB / 0.5193 GB, free: 6.855 MB / 394.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.003334/0.4658, allocations: 2.033 MB / 0.5212 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.4665, allocations: 292.3 kB / 0.5215 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.4668, allocations: 136.9 kB / 0.5217 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.4679, allocations: 422 kB / 0.5221 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.468, allocations: 42.55 kB / 0.5221 GB, free: 3.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.468, allocations: 3.938 kB / 0.5221 GB, free: 3.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.001884/0.4699, allocations: 0.638 MB / 0.5227 GB, free: 3.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.47, allocations: 162.2 kB / 0.5229 GB, free: 3.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.4707, allocations: 437.8 kB / 0.5233 GB, free: 2.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.4707, allocations: 33.7 kB / 0.5233 GB, free: 2.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.4713, allocations: 308.1 kB / 0.5236 GB, free: 2.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4715, allocations: 130.9 kB / 0.5237 GB, free: 2.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4717, allocations: 118.1 kB / 0.5239 GB, free: 1.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.4719, allocations: 358.8 kB / 0.5242 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.4722, allocations: 140.9 kB / 0.5243 GB, free: 1.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.4728, allocations: 417.1 kB / 0.5247 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/0.4737, allocations: 474.5 kB / 0.5252 GB, free: 464 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.4737, allocations: 4 kB / 0.5252 GB, free: 460 kB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001222/0.4749, allocations: 0.5755 MB / 0.5258 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4749, allocations: 4 kB / 0.5258 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4749, allocations: 8 kB / 0.5258 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.4766, allocations: 241.1 kB / 0.526 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.477, allocations: 111.9 kB / 0.5261 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006188/0.4776, allocations: 0.5952 MB / 0.5267 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.478, allocations: 43.67 kB / 0.5267 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4781, allocations: 55.97 kB / 0.5268 GB, free: 14.79 MB / 410.7 MB 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.0003262/0.4784, allocations: 193.6 kB / 0.527 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.4786, allocations: 71.61 kB / 0.527 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.4802, allocations: 0.7246 MB / 0.5277 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4803, allocations: 8 kB / 0.5277 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4803, allocations: 0 / 0.5277 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.4803, allocations: 3.984 kB / 0.5277 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.4818, allocations: 0.8481 MB / 0.5286 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4818, allocations: 0 / 0.5286 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.4821, allocations: 51.91 kB / 0.5286 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/0.4856, allocations: 444.4 kB / 0.5291 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.4856, allocations: 12 kB / 0.5291 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006128/0.4862, allocations: 0.5952 MB / 0.5296 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.4862, allocations: 8.016 kB / 0.5297 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.4872, allocations: 0.4916 MB / 0.5301 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.4873, allocations: 51.59 kB / 0.5302 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.369e-05/0.4874, allocations: 15.94 kB / 0.5302 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.4877, allocations: 19.92 kB / 0.5302 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.4878, allocations: 24.03 kB / 0.5302 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.4878, allocations: 27.92 kB / 0.5303 GB, free: 11.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007731/0.4886, allocations: 346.8 kB / 0.5306 GB, free: 10.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4886, allocations: 0 / 0.5306 GB, free: 10.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001376/0.49, allocations: 398.8 kB / 0.531 GB, free: 10.32 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.001431/0.4914, allocations: 0.5411 MB / 0.5315 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.4924, allocations: 352.6 kB / 0.5318 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4924, allocations: 0 / 0.5318 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.4927, allocations: 143.8 kB / 0.532 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.4943, allocations: 343.6 kB / 0.5323 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4961, allocations: 0.8922 MB / 0.5332 GB, free: 8.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4964, allocations: 267.5 kB / 0.5334 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000708/0.4971, allocations: 208.5 kB / 0.5336 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.4973, allocations: 76.47 kB / 0.5337 GB, free: 7.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4973, allocations: 3.938 kB / 0.5337 GB, free: 7.441 MB / 410.7 MB Notification: Performance of Templates: time 0.03373/0.5311, allocations: 18.11 MB / 0.5514 GB, free: 5.434 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.457734192954376]