Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008515/0.0008515, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008393/0.0008393, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.7806/0.7806, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1165/0.1165, allocations: 32.37 MB / 270.4 MB, free: 15.04 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.115e-06, allocations: 0 / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.515e-05, allocations: 6.078 kB / 408.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3371/0.3372, allocations: 164.9 MB / 0.5596 GB, free: 0.793 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.3427, allocations: 5.595 MB / 0.565 GB, free: 12.87 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.3431, allocations: 22.03 kB / 0.5651 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.3438, allocations: 324.4 kB / 0.5654 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.3471, allocations: 2.007 MB / 0.5673 GB, free: 11.24 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3483, allocations: 0.7373 MB / 0.5681 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3494, allocations: 1.562 MB / 0.5696 GB, free: 9.781 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.3498, allocations: 359.5 kB / 0.5699 GB, free: 9.531 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.3504, allocations: 0.7997 MB / 0.5707 GB, free: 9.047 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.3507, allocations: 409.7 kB / 0.5711 GB, free: 8.844 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.3508, allocations: 54.53 kB / 0.5711 GB, free: 8.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.3524, allocations: 1.368 MB / 0.5725 GB, free: 8.172 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3525, allocations: 168.7 kB / 0.5726 GB, free: 8.043 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.3527, allocations: 250 kB / 0.5729 GB, free: 7.934 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.3544, allocations: 1.907 MB / 0.5747 GB, free: 6.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3544, allocations: 0 / 0.5747 GB, free: 6.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3544, allocations: 0 / 0.5747 GB, free: 6.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3544, allocations: 2.719 kB / 0.5747 GB, free: 6.75 MB / 458.7 MB 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.001223/0.3556, allocations: 1.068 MB / 0.5758 GB, free: 5.938 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3556, allocations: 10.75 kB / 0.5758 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.3561, allocations: 134 kB / 0.5759 GB, free: 5.879 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.3566, allocations: 431 kB / 0.5763 GB, free: 5.539 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3567, allocations: 28.59 kB / 0.5764 GB, free: 5.527 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.3567, allocations: 42.75 kB / 0.5764 GB, free: 5.512 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.3575, allocations: 0.8892 MB / 0.5773 GB, free: 4.746 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3575, allocations: 4 kB / 0.5773 GB, free: 4.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.3575, allocations: 25.22 kB / 0.5773 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3575, allocations: 10.66 kB / 0.5773 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.3581, allocations: 472 kB / 0.5778 GB, free: 4.512 MB / 458.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.001857/0.3599, allocations: 1.915 MB / 0.5796 GB, free: 2.941 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.3604, allocations: 314.3 kB / 0.5799 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.3605, allocations: 157.3 kB / 0.5801 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.361, allocations: 412.1 kB / 0.5805 GB, free: 2.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3611, allocations: 42.83 kB / 0.5805 GB, free: 2.109 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.3611, allocations: 3.938 kB / 0.5805 GB, free: 2.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009722/0.362, allocations: 0.6362 MB / 0.5811 GB, free: 1.461 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.3621, allocations: 136.5 kB / 0.5813 GB, free: 1.297 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.3624, allocations: 413.8 kB / 0.5817 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3624, allocations: 37.7 kB / 0.5817 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3625, allocations: 288.4 kB / 0.582 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.3626, allocations: 122.9 kB / 0.5821 GB, free: 444 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3627, allocations: 99.67 kB / 0.5822 GB, free: 340 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3628, allocations: 350.8 kB / 0.5825 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.363, allocations: 152.9 kB / 0.5827 GB, free: 15.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3633, allocations: 353.4 kB / 0.583 GB, free: 15.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.3637, allocations: 440.7 kB / 0.5834 GB, free: 14.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3637, allocations: 0 / 0.5834 GB, free: 14.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005772/0.3643, allocations: 0.529 MB / 0.5839 GB, free: 14.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3643, allocations: 8 kB / 0.5839 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3643, allocations: 0 / 0.5839 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007238/0.365, allocations: 245 kB / 0.5842 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3652, allocations: 99.83 kB / 0.5843 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/0.3655, allocations: 0.603 MB / 0.5849 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.3657, allocations: 43.72 kB / 0.5849 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.3657, allocations: 44 kB / 0.585 GB, free: 13.34 MB / 474.7 MB 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.0001543/0.3659, allocations: 173.8 kB / 0.5851 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3659, allocations: 51.66 kB / 0.5852 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3671, allocations: 0.7335 MB / 0.5859 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3671, allocations: 4 kB / 0.5859 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3671, allocations: 1.375 kB / 0.5859 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3671, allocations: 3.984 kB / 0.5859 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.3679, allocations: 0.8553 MB / 0.5867 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3679, allocations: 4.156 kB / 0.5867 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.368, allocations: 59.84 kB / 0.5868 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.3693, allocations: 440.2 kB / 0.5872 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3693, allocations: 8 kB / 0.5872 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002617/0.3695, allocations: 0.6147 MB / 0.5878 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3695, allocations: 8.016 kB / 0.5878 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.37, allocations: 0.4925 MB / 0.5883 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.37, allocations: 43.59 kB / 0.5883 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.3701, allocations: 19.83 kB / 0.5884 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3702, allocations: 15.98 kB / 0.5884 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3703, allocations: 27.95 kB / 0.5884 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3703, allocations: 19.98 kB / 0.5884 GB, free: 9.637 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.3705, allocations: 323.1 kB / 0.5887 GB, free: 9.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 0 / 0.5887 GB, free: 9.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006359/0.3712, allocations: 378.9 kB / 0.5891 GB, free: 8.949 MB / 474.7 MB 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.000796/0.3719, allocations: 0.5244 MB / 0.5896 GB, free: 8.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004921/0.3724, allocations: 357.6 kB / 0.5899 GB, free: 8.078 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3724, allocations: 0 / 0.5899 GB, free: 8.078 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.3726, allocations: 163.7 kB / 0.5901 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.3734, allocations: 294 kB / 0.5904 GB, free: 7.637 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.3743, allocations: 0.8865 MB / 0.5912 GB, free: 6.707 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.3744, allocations: 255.2 kB / 0.5915 GB, free: 6.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.3746, allocations: 96.47 kB / 0.5916 GB, free: 6.336 MB / 474.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3746, allocations: 3.938 kB / 0.5916 GB, free: 6.332 MB / 474.7 MB Notification: Performance of Templates: time 0.01358/0.3882, allocations: 15.45 MB / 0.6067 GB, free: 6.91 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.908385249786079]