Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001308/0.001308, allocations: 71.75 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001427/0.001427, allocations: 157.8 kB / 24.5 MB, free: 3.723 MB / 14.72 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.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 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.2027/0.2027, allocations: 32.8 MB / 294.1 MB, free: 64 kB / 270.1 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.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.CurvedBend") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 440.6 MB, free: 9.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 65.45 MB / 0.4942 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2083/0.5251, allocations: 161.7 MB / 0.6521 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006949/0.532, allocations: 3.4 MB / 0.6554 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.5327, allocations: 19.81 kB / 0.6555 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.5337, allocations: 309.9 kB / 0.6558 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.5386, allocations: 1.767 MB / 0.6575 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.5408, allocations: 0.7141 MB / 0.6582 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5432, allocations: 1.552 MB / 0.6597 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006561/0.5439, allocations: 363.8 kB / 0.66 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.545, allocations: 0.6072 MB / 0.6606 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.5457, allocations: 462 kB / 0.6611 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.5458, allocations: 52 kB / 0.6611 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.549, allocations: 1.196 MB / 0.6623 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.5492, allocations: 159.4 kB / 0.6624 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.5496, allocations: 294.8 kB / 0.6627 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.5526, allocations: 1.667 MB / 0.6643 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5526, allocations: 0 / 0.6643 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5526, allocations: 0 / 0.6643 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.5526, allocations: 7.938 kB / 0.6644 GB, free: 10.23 MB / 0.5606 GB 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.002131/0.5547, allocations: 1.029 MB / 0.6654 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5548, allocations: 8.031 kB / 0.6654 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5558, allocations: 139.5 kB / 0.6655 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008867/0.5567, allocations: 429.6 kB / 0.6659 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.5567, allocations: 32.94 kB / 0.6659 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.5568, allocations: 40 kB / 0.666 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5582, allocations: 0.9035 MB / 0.6669 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5582, allocations: 3.938 kB / 0.6669 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.5583, allocations: 20 kB / 0.6669 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.5583, allocations: 15.98 kB / 0.6669 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.5593, allocations: 471.6 kB / 0.6674 GB, free: 6.988 MB / 0.5606 GB 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.002993/0.5623, allocations: 1.881 MB / 0.6692 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/0.5631, allocations: 319.5 kB / 0.6695 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.5634, allocations: 165.3 kB / 0.6697 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.5637, allocations: 44.25 kB / 0.6697 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.5637, allocations: 38.84 kB / 0.6697 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 6.813e-06/0.5637, allocations: 3.984 kB / 0.6697 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0018/0.5655, allocations: 0.6437 MB / 0.6704 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.5656, allocations: 136.5 kB / 0.6705 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.5662, allocations: 409.9 kB / 0.6709 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.5662, allocations: 33.7 kB / 0.6709 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.5664, allocations: 284.3 kB / 0.6712 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5666, allocations: 134.9 kB / 0.6713 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.5667, allocations: 106.1 kB / 0.6714 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5669, allocations: 350.8 kB / 0.6718 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.5672, allocations: 156.9 kB / 0.6719 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.5678, allocations: 357.4 kB / 0.6722 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.5685, allocations: 437.6 kB / 0.6727 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5685, allocations: 3.938 kB / 0.6727 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00107/0.5696, allocations: 0.5368 MB / 0.6732 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.5696, allocations: 11.92 kB / 0.6732 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5696, allocations: 4 kB / 0.6732 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.5713, allocations: 237 kB / 0.6734 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.5717, allocations: 107.8 kB / 0.6735 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005478/0.5723, allocations: 0.5876 MB / 0.6741 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.5726, allocations: 43.72 kB / 0.6741 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.5727, allocations: 47.98 kB / 0.6742 GB, free: 15.66 MB / 0.5762 GB 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.0002855/0.5729, allocations: 182.3 kB / 0.6744 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5731, allocations: 47.72 kB / 0.6744 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.5751, allocations: 1.092 MB / 0.6755 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5751, allocations: 8 kB / 0.6755 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5751, allocations: 0 / 0.6755 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5751, allocations: 3.984 kB / 0.6755 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.5766, allocations: 0.8504 MB / 0.6763 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5766, allocations: 0 / 0.6763 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.5768, allocations: 55.91 kB / 0.6764 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.5801, allocations: 444.4 kB / 0.6768 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.5802, allocations: 11.94 kB / 0.6768 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005195/0.5807, allocations: 0.6031 MB / 0.6774 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5807, allocations: 4.031 kB / 0.6774 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.5815, allocations: 0.5079 MB / 0.6779 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.5816, allocations: 43.66 kB / 0.6779 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.5817, allocations: 12 kB / 0.678 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.582, allocations: 24.05 kB / 0.678 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.5821, allocations: 27.95 kB / 0.678 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.5821, allocations: 19.98 kB / 0.678 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004015/0.5825, allocations: 323.1 kB / 0.6783 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5825, allocations: 0 / 0.6783 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001102/0.5836, allocations: 366.7 kB / 0.6787 GB, free: 10.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0009412/0.5846, allocations: 422.1 kB / 0.6791 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008762/0.5854, allocations: 356.7 kB / 0.6794 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5854, allocations: 3.938 kB / 0.6794 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.5858, allocations: 156.5 kB / 0.6796 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5872, allocations: 287.8 kB / 0.6798 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5888, allocations: 0.9096 MB / 0.6807 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.589, allocations: 259.2 kB / 0.681 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009782/0.59, allocations: 0.5403 MB / 0.6815 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.5903, allocations: 96.44 kB / 0.6816 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.5903, allocations: 0 / 0.6816 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of Templates: time 0.2496/0.8399, allocations: 16.67 MB / 0.6979 GB, free: 168.5 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.1750561479711905]