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.001914/0.001914, allocations: 103.5 kB / 20.97 MB, free: 3.441 MB / 18.57 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.001984/0.001984, allocations: 156.8 kB / 24.27 MB, free: 148 kB / 18.57 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.623/1.623, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.4171/0.4171, allocations: 34.26 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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 2.224e-06/2.224e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.76e-05, allocations: 3.859 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4889/0.4889, allocations: 177.8 MB / 0.542 GB, free: 11.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009471/0.4984, allocations: 5.033 MB / 0.5469 GB, free: 8.605 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.4995, allocations: 27.56 kB / 0.5469 GB, free: 8.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.5006, allocations: 329.7 kB / 0.5472 GB, free: 8.406 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.5078, allocations: 2.213 MB / 0.5494 GB, free: 7.211 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.5109, allocations: 0.946 MB / 0.5503 GB, free: 6.508 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.5137, allocations: 1.697 MB / 0.552 GB, free: 5.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006721/0.5143, allocations: 390.3 kB / 0.5523 GB, free: 5.227 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.5166, allocations: 1.106 MB / 0.5534 GB, free: 4.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007991/0.5174, allocations: 473.6 kB / 0.5539 GB, free: 4.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.5175, allocations: 54.38 kB / 0.5539 GB, free: 4.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.5214, allocations: 1.273 MB / 0.5552 GB, free: 3.703 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.5216, allocations: 186.4 kB / 0.5553 GB, free: 3.559 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.5222, allocations: 273.4 kB / 0.5556 GB, free: 3.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004581/0.5267, allocations: 1.936 MB / 0.5575 GB, free: 1.363 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5267, allocations: 0 / 0.5575 GB, free: 1.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5267, allocations: 0 / 0.5575 GB, free: 1.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.5268, allocations: 0 / 0.5575 GB, free: 1.363 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.00277/0.5295, allocations: 1.222 MB / 0.5587 GB, free: 100 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5296, allocations: 12.03 kB / 0.5587 GB, free: 88 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.5311, allocations: 259.6 kB / 0.5589 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5322, allocations: 467.8 kB / 0.5594 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.5323, allocations: 32.94 kB / 0.5594 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.5324, allocations: 52 kB / 0.5595 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.5342, allocations: 1.087 MB / 0.5605 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5342, allocations: 0 / 0.5605 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.5343, allocations: 24 kB / 0.5606 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5343, allocations: 19.94 kB / 0.5606 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.5353, allocations: 439.6 kB / 0.561 GB, free: 13.54 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.004001/0.5393, allocations: 2.618 MB / 0.5636 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.5401, allocations: 304.4 kB / 0.5638 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.5404, allocations: 136.2 kB / 0.564 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.5407, allocations: 55.83 kB / 0.564 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.5407, allocations: 45.33 kB / 0.5641 GB, free: 10.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.454e-06/0.5407, allocations: 0 / 0.5641 GB, free: 10.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.00194/0.5427, allocations: 0.6223 MB / 0.5647 GB, free: 9.652 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.5428, allocations: 162.2 kB / 0.5648 GB, free: 9.457 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.5435, allocations: 0.5453 MB / 0.5654 GB, free: 8.898 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.5436, allocations: 33.7 kB / 0.5654 GB, free: 8.859 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.5439, allocations: 374.9 kB / 0.5658 GB, free: 8.484 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5441, allocations: 142.8 kB / 0.5659 GB, free: 8.344 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.5443, allocations: 135.8 kB / 0.566 GB, free: 8.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003431/0.5446, allocations: 0.5587 MB / 0.5666 GB, free: 7.633 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.5449, allocations: 131.7 kB / 0.5667 GB, free: 7.508 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.5457, allocations: 491.9 kB / 0.5672 GB, free: 6.895 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.5466, allocations: 0.5137 MB / 0.5677 GB, free: 6.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5466, allocations: 4 kB / 0.5677 GB, free: 6.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00117/0.5477, allocations: 0.5709 MB / 0.5682 GB, free: 5.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5478, allocations: 9.094 kB / 0.5682 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5478, allocations: 4 kB / 0.5682 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.5493, allocations: 215.4 kB / 0.5684 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.5497, allocations: 115.9 kB / 0.5686 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/0.5505, allocations: 0.8624 MB / 0.5694 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.5508, allocations: 47.66 kB / 0.5694 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5509, allocations: 55.98 kB / 0.5695 GB, free: 4.371 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.0003674/0.5513, allocations: 228.4 kB / 0.5697 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.5515, allocations: 67.61 kB / 0.5698 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.5537, allocations: 1.157 MB / 0.5709 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5537, allocations: 4 kB / 0.5709 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5537, allocations: 0 / 0.5709 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5537, allocations: 0 / 0.5709 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.5559, allocations: 0.9957 MB / 0.5719 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5559, allocations: 0 / 0.5719 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.5562, allocations: 52.97 kB / 0.5719 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.5597, allocations: 351.4 kB / 0.5723 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.5597, allocations: 11.98 kB / 0.5723 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007186/0.5604, allocations: 0.8747 MB / 0.5731 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5604, allocations: 4.031 kB / 0.5731 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5617, allocations: 0.5601 MB / 0.5737 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.5618, allocations: 47.64 kB / 0.5737 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5619, allocations: 15.89 kB / 0.5737 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.5622, allocations: 22.8 kB / 0.5738 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.5623, allocations: 27.95 kB / 0.5738 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.5624, allocations: 12 kB / 0.5738 GB, free: 15.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005788/0.5629, allocations: 402.8 kB / 0.5742 GB, free: 15.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5629, allocations: 3.938 kB / 0.5742 GB, free: 15.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001334/0.5643, allocations: 370.9 kB / 0.5745 GB, free: 15 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.001163/0.5654, allocations: 460.2 kB / 0.575 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009525/0.5664, allocations: 386 kB / 0.5754 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5664, allocations: 0.8125 kB / 0.5754 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.5668, allocations: 159.4 kB / 0.5755 GB, free: 14.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.5685, allocations: 347.2 kB / 0.5758 GB, free: 13.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5703, allocations: 0.9187 MB / 0.5767 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.5707, allocations: 267.6 kB / 0.577 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5718, allocations: 0.5564 MB / 0.5775 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.5721, allocations: 84.45 kB / 0.5776 GB, free: 11.79 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5721, allocations: 0 / 0.5776 GB, free: 11.79 MB / 458.7 MB Notification: Performance of Templates: time 0.03296/0.6051, allocations: 17.44 MB / 0.5946 GB, free: 10.58 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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.461666547926143]