Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.000958/0.000958, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001195/0.001195, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 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 0.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.2417/0.2417, allocations: 34.26 MB / 296.1 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 180] 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.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.02e-05, allocations: 6.438 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3267/0.3268, allocations: 148.2 MB / 473.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.3315, allocations: 3.465 MB / 476.9 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.3321, allocations: 22.44 kB / 476.9 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.3326, allocations: 182.9 kB / 477.1 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.3358, allocations: 1.558 MB / 478.6 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.337, allocations: 0.5749 MB / 479.2 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.339, allocations: 1.527 MB / 480.7 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.3398, allocations: 381.5 kB / 481.1 MB, free: 16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.3414, allocations: 0.7595 MB / 481.9 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.3422, allocations: 470 kB / 482.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.3423, allocations: 51.53 kB / 482.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3447, allocations: 1.037 MB / 483.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.3449, allocations: 172.2 kB / 483.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.3453, allocations: 249.2 kB / 483.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.3476, allocations: 1.404 MB / 485.2 MB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3476, allocations: 4 kB / 485.2 MB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3476, allocations: 0 / 485.2 MB, free: 15.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.3477, allocations: 0 / 485.2 MB, free: 15.65 MB / 410.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.00135/0.349, allocations: 0.9666 MB / 486.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.349, allocations: 8.969 kB / 486.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/0.3496, allocations: 217.8 kB / 486.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.3501, allocations: 367.7 kB / 486.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3501, allocations: 38.72 kB / 486.8 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.3502, allocations: 44.44 kB / 486.9 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.3507, allocations: 0.7454 MB / 487.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3507, allocations: 8.25 kB / 487.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.3508, allocations: 19.28 kB / 487.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3508, allocations: 10.53 kB / 487.7 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.3511, allocations: 213.1 kB / 487.9 MB, free: 14.32 MB / 410.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.001277/0.3523, allocations: 1.557 MB / 489.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3526, allocations: 169.6 kB / 489.6 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.3527, allocations: 108.3 kB / 489.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.3529, allocations: 89.48 kB / 489.8 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3529, allocations: 38.62 kB / 489.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.3529, allocations: 0 / 489.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007072/0.3536, allocations: 334.2 kB / 490.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3537, allocations: 141.7 kB / 490.3 MB, free: 12.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3539, allocations: 348.2 kB / 490.6 MB, free: 12.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3539, allocations: 31.77 kB / 490.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.354, allocations: 244.4 kB / 490.9 MB, free: 12.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.3541, allocations: 121.8 kB / 491 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/0.3542, allocations: 93.48 kB / 491.1 MB, free: 12.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.3542, allocations: 356.3 kB / 491.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.3543, allocations: 52.72 kB / 491.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3544, allocations: 255.8 kB / 491.7 MB, free: 12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3547, allocations: 250.8 kB / 492 MB, free: 11.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3547, allocations: 6.75 kB / 492 MB, free: 11.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004819/0.3552, allocations: 262.1 kB / 492.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3552, allocations: 12.88 kB / 492.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3552, allocations: 2.438 kB / 492.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/0.3559, allocations: 196.7 kB / 492.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3561, allocations: 93.16 kB / 492.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002216/0.3563, allocations: 0.5476 MB / 493.1 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3565, allocations: 37.52 kB / 493.1 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.3566, allocations: 41.69 kB / 493.2 MB, free: 11.26 MB / 410.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.0001747/0.3567, allocations: 144.2 kB / 493.3 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.3568, allocations: 40.52 kB / 493.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00091/0.3577, allocations: 0.8733 MB / 494.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3577, allocations: 7.125 kB / 494.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3577, allocations: 0 / 494.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3577, allocations: 2.531 kB / 494.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.3585, allocations: 0.5567 MB / 494.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3585, allocations: 5.219 kB / 494.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3586, allocations: 46.7 kB / 494.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.3597, allocations: 310.8 kB / 495.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3597, allocations: 7.828 kB / 495.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000179/0.3599, allocations: 0.5673 MB / 495.7 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3599, allocations: 3.359 kB / 495.7 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.3601, allocations: 322.6 kB / 496 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.3602, allocations: 51.72 kB / 496.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3602, allocations: 6.344 kB / 496.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3604, allocations: 13.58 kB / 496.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3604, allocations: 29.97 kB / 496.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3604, allocations: 13.75 kB / 496.2 MB, free: 9.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3606, allocations: 162.8 kB / 496.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3606, allocations: 0 / 496.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007693/0.3614, allocations: 340.4 kB / 496.6 MB, free: 9.852 MB / 410.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.0006628/0.362, allocations: 420.4 kB / 497.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.3624, allocations: 203.8 kB / 497.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.3624, allocations: 5.188 kB / 497.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3625, allocations: 90.58 kB / 497.4 MB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.3632, allocations: 303.7 kB / 497.6 MB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3643, allocations: 0.8305 MB / 498.5 MB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.279e-05/0.3644, allocations: 130.3 kB / 498.6 MB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005659/0.365, allocations: 468.5 kB / 499.1 MB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.3654, allocations: 315.8 kB / 499.4 MB, free: 8.867 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3654, allocations: 0 / 499.4 MB, free: 8.867 MB / 410.7 MB Notification: Performance of Templates: time 0.02113/0.3866, allocations: 17.86 MB / 0.5051 GB, free: 12.83 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8723857733421028]