Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001785/0.001785, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001882/0.001882, allocations: 169.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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3556/0.3556, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.321e-05/4.49e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4902/0.4903, allocations: 177.8 MB / 0.542 GB, free: 11.92 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009282/0.4996, allocations: 5.026 MB / 0.5469 GB, free: 8.586 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.5007, allocations: 27.56 kB / 0.547 GB, free: 8.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.502, allocations: 335.3 kB / 0.5473 GB, free: 8.379 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007464/0.5094, allocations: 2.208 MB / 0.5495 GB, free: 7.238 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.5125, allocations: 0.9555 MB / 0.5504 GB, free: 6.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.5156, allocations: 1.696 MB / 0.552 GB, free: 5.527 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.5163, allocations: 396.7 kB / 0.5524 GB, free: 5.242 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.5187, allocations: 1.113 MB / 0.5535 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007565/0.5194, allocations: 457.5 kB / 0.5539 GB, free: 4.344 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.5195, allocations: 54.28 kB / 0.554 GB, free: 4.344 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.5231, allocations: 1.27 MB / 0.5552 GB, free: 3.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.5234, allocations: 190.2 kB / 0.5554 GB, free: 3.582 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.5238, allocations: 270.6 kB / 0.5557 GB, free: 3.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003909/0.5278, allocations: 1.94 MB / 0.5576 GB, free: 1.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.5278, allocations: 0 / 0.5576 GB, free: 1.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5278, allocations: 0 / 0.5576 GB, free: 1.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.5278, allocations: 0 / 0.5576 GB, free: 1.414 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.002731/0.5305, allocations: 1.222 MB / 0.5588 GB, free: 152 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5306, allocations: 8.031 kB / 0.5588 GB, free: 144 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.532, allocations: 266.9 kB / 0.559 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009364/0.5329, allocations: 459.8 kB / 0.5595 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.533, allocations: 36.94 kB / 0.5595 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5331, allocations: 55.94 kB / 0.5596 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.5347, allocations: 1.087 MB / 0.5606 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5347, allocations: 0 / 0.5606 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.5348, allocations: 24 kB / 0.5606 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.5348, allocations: 15.94 kB / 0.5607 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.5358, allocations: 443.5 kB / 0.5611 GB, free: 13.59 MB / 442.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.003878/0.5396, allocations: 2.614 MB / 0.5636 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.5405, allocations: 307.9 kB / 0.5639 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.5407, allocations: 135.6 kB / 0.564 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.541, allocations: 55.83 kB / 0.5641 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.541, allocations: 41.39 kB / 0.5641 GB, free: 10.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.541, allocations: 0 / 0.5641 GB, free: 10.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002128/0.5432, allocations: 0.6314 MB / 0.5648 GB, free: 9.699 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.5433, allocations: 162.2 kB / 0.5649 GB, free: 9.504 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.5441, allocations: 0.5415 MB / 0.5654 GB, free: 8.949 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.5441, allocations: 37.7 kB / 0.5655 GB, free: 8.906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.5447, allocations: 378.8 kB / 0.5658 GB, free: 8.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.5449, allocations: 130.9 kB / 0.566 GB, free: 8.398 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.5452, allocations: 135.8 kB / 0.5661 GB, free: 8.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003411/0.5455, allocations: 0.5509 MB / 0.5666 GB, free: 7.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.5458, allocations: 136.9 kB / 0.5668 GB, free: 7.562 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/0.5465, allocations: 491.8 kB / 0.5672 GB, free: 6.953 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.5475, allocations: 0.5166 MB / 0.5677 GB, free: 6.348 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.5475, allocations: 4 kB / 0.5677 GB, free: 6.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00124/0.5487, allocations: 0.5745 MB / 0.5683 GB, free: 5.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.5487, allocations: 8 kB / 0.5683 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5487, allocations: 4 kB / 0.5683 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.5503, allocations: 216.1 kB / 0.5685 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.5507, allocations: 115.8 kB / 0.5686 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008331/0.5516, allocations: 0.8663 MB / 0.5695 GB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.5519, allocations: 47.67 kB / 0.5695 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.5521, allocations: 52.98 kB / 0.5696 GB, free: 4.422 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.0003658/0.5524, allocations: 224.4 kB / 0.5698 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.5526, allocations: 75.61 kB / 0.5699 GB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5549, allocations: 1.142 MB / 0.571 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5549, allocations: 4 kB / 0.571 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5549, allocations: 3.984 kB / 0.571 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5549, allocations: 0 / 0.571 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.5568, allocations: 1.003 MB / 0.572 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5568, allocations: 0 / 0.572 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.557, allocations: 51.91 kB / 0.572 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/0.5603, allocations: 351.4 kB / 0.5723 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.5603, allocations: 8 kB / 0.5724 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/0.5613, allocations: 0.8763 MB / 0.5732 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5613, allocations: 6.688 kB / 0.5732 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5625, allocations: 0.5614 MB / 0.5738 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.5626, allocations: 43.64 kB / 0.5738 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5627, allocations: 23.92 kB / 0.5738 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.563, allocations: 15.98 kB / 0.5738 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.5631, allocations: 23.97 kB / 0.5739 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.5631, allocations: 15.98 kB / 0.5739 GB, free: 15.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005701/0.5637, allocations: 402.8 kB / 0.5743 GB, free: 15.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5637, allocations: 3.938 kB / 0.5743 GB, free: 15.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001248/0.5649, allocations: 366.9 kB / 0.5746 GB, free: 15.07 MB / 458.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.001257/0.5662, allocations: 458 kB / 0.5751 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.5672, allocations: 389.2 kB / 0.5754 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5672, allocations: 0 / 0.5754 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.5675, allocations: 155.7 kB / 0.5756 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5692, allocations: 351.9 kB / 0.5759 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.5709, allocations: 0.9199 MB / 0.5768 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.5713, allocations: 263.6 kB / 0.5771 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001171/0.5724, allocations: 0.5564 MB / 0.5776 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.5727, allocations: 96.38 kB / 0.5777 GB, free: 11.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.412e-06/0.5727, allocations: 0 / 0.5777 GB, free: 11.84 MB / 458.7 MB Notification: Performance of Templates: time 0.03363/0.6063, allocations: 17.43 MB / 0.5947 GB, free: 10.66 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.232966294977814]