Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002356/0.002356, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00262/0.00262, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.574/1.574, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3383/0.3383, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.25e-05, allocations: 9.344 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3992/0.3992, allocations: 177.8 MB / 0.5401 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.4081, allocations: 5.025 MB / 0.545 GB, free: 10.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.4089, allocations: 26.53 kB / 0.545 GB, free: 10.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.4099, allocations: 334.9 kB / 0.5453 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.4162, allocations: 2.199 MB / 0.5475 GB, free: 9.418 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.4187, allocations: 0.9535 MB / 0.5484 GB, free: 8.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.421, allocations: 1.704 MB / 0.5501 GB, free: 7.832 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.4216, allocations: 390.8 kB / 0.5504 GB, free: 7.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.4235, allocations: 1.109 MB / 0.5515 GB, free: 6.879 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.4241, allocations: 454.4 kB / 0.552 GB, free: 6.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4242, allocations: 54.44 kB / 0.552 GB, free: 6.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.4269, allocations: 1.284 MB / 0.5533 GB, free: 6.035 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.4271, allocations: 179 kB / 0.5534 GB, free: 5.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.4275, allocations: 280.5 kB / 0.5537 GB, free: 5.777 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.4304, allocations: 1.932 MB / 0.5556 GB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4304, allocations: 0 / 0.5556 GB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4304, allocations: 0 / 0.5556 GB, free: 4.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.4304, allocations: 0 / 0.5556 GB, free: 4.551 MB / 426.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.002518/0.433, allocations: 1.226 MB / 0.5568 GB, free: 3.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.433, allocations: 12.03 kB / 0.5568 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.4346, allocations: 262.9 kB / 0.557 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.4355, allocations: 459.8 kB / 0.5575 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.4356, allocations: 37 kB / 0.5575 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.4357, allocations: 44 kB / 0.5576 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.4373, allocations: 1.091 MB / 0.5586 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4373, allocations: 4 kB / 0.5586 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.4374, allocations: 20 kB / 0.5587 GB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.4374, allocations: 15.94 kB / 0.5587 GB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009688/0.4384, allocations: 439.6 kB / 0.5591 GB, free: 0.7344 MB / 426.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.003813/0.4422, allocations: 2.622 MB / 0.5616 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.4429, allocations: 305.4 kB / 0.5619 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.4432, allocations: 139.8 kB / 0.5621 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.4435, allocations: 63.69 kB / 0.5621 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.4435, allocations: 41.39 kB / 0.5622 GB, free: 13.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.4435, allocations: 0 / 0.5622 GB, free: 13.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.001773/0.4453, allocations: 0.6276 MB / 0.5628 GB, free: 12.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4454, allocations: 158.2 kB / 0.5629 GB, free: 12.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.4461, allocations: 0.5454 MB / 0.5635 GB, free: 12.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.4462, allocations: 37.64 kB / 0.5635 GB, free: 12.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.4466, allocations: 382.8 kB / 0.5639 GB, free: 11.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.4468, allocations: 134.9 kB / 0.564 GB, free: 11.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.447, allocations: 131.8 kB / 0.5641 GB, free: 11.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003623/0.4474, allocations: 0.5508 MB / 0.5647 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.4477, allocations: 132.9 kB / 0.5648 GB, free: 10.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.4483, allocations: 491.9 kB / 0.5653 GB, free: 10.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/0.4492, allocations: 0.5165 MB / 0.5658 GB, free: 9.473 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4492, allocations: 0 / 0.5658 GB, free: 9.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001183/0.4504, allocations: 0.5862 MB / 0.5663 GB, free: 8.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4504, allocations: 4 kB / 0.5663 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4504, allocations: 8.625 kB / 0.5663 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.4519, allocations: 199.4 kB / 0.5665 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.4523, allocations: 122.6 kB / 0.5667 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007345/0.453, allocations: 0.8663 MB / 0.5675 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.4534, allocations: 47.72 kB / 0.5675 GB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4535, allocations: 55.97 kB / 0.5676 GB, free: 7.547 MB / 442.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.0003195/0.4538, allocations: 232.4 kB / 0.5678 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.454, allocations: 67.61 kB / 0.5679 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.4562, allocations: 1.15 MB / 0.569 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4562, allocations: 4 kB / 0.569 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4562, allocations: 0 / 0.569 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4562, allocations: 3.984 kB / 0.569 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.4579, allocations: 0.9918 MB / 0.57 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4579, allocations: 4 kB / 0.57 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.4581, allocations: 47.92 kB / 0.57 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/0.461, allocations: 355.3 kB / 0.5704 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.461, allocations: 16 kB / 0.5704 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.4619, allocations: 0.8702 MB / 0.5712 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4619, allocations: 0 / 0.5712 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.4628, allocations: 0.5682 MB / 0.5718 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4629, allocations: 51.69 kB / 0.5718 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.463, allocations: 19.88 kB / 0.5719 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.4633, allocations: 12 kB / 0.5719 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.4634, allocations: 27.95 kB / 0.5719 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.4634, allocations: 19.98 kB / 0.5719 GB, free: 2.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005333/0.464, allocations: 398.8 kB / 0.5723 GB, free: 2.551 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.464, allocations: 0 / 0.5723 GB, free: 2.551 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001165/0.4651, allocations: 366.9 kB / 0.5726 GB, free: 2.191 MB / 442.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.001044/0.4662, allocations: 463.2 kB / 0.5731 GB, free: 1.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008784/0.4671, allocations: 385.2 kB / 0.5735 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4671, allocations: 0 / 0.5735 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.4674, allocations: 159.7 kB / 0.5736 GB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.4691, allocations: 343 kB / 0.5739 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.4707, allocations: 0.9225 MB / 0.5748 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.471, allocations: 259.6 kB / 0.5751 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001127/0.4721, allocations: 0.5564 MB / 0.5756 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.4724, allocations: 92.44 kB / 0.5757 GB, free: 14.96 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.4724, allocations: 0 / 0.5757 GB, free: 14.96 MB / 458.7 MB Notification: Performance of Templates: time 0.03406/0.5064, allocations: 17.45 MB / 0.5928 GB, free: 13.79 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.242927695042454]