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.001284/0.001284, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002085/0.003369, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001281/0.001281, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002991, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.033/1.033, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08407/1.117, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.2757/0.2757, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0235/0.2992, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.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.293e-06/1.293e-06, allocations: 0 / 292.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.978e-05, allocations: 4.422 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1508/0.1508, allocations: 148.6 MB / 441.5 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.199/0.3498, allocations: 3.495 MB / 445 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006229/0.3504, allocations: 27.06 kB / 445 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.3509, allocations: 183.6 kB / 445.2 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.3541, allocations: 1.518 MB / 446.7 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3553, allocations: 0.5665 MB / 447.3 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.3572, allocations: 1.528 MB / 448.8 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.3578, allocations: 369.9 kB / 449.2 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3589, allocations: 0.8165 MB / 450 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.3597, allocations: 461.8 kB / 450.4 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.3598, allocations: 53.19 kB / 450.5 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.3619, allocations: 1.096 MB / 451.6 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3621, allocations: 124.1 kB / 451.7 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.3623, allocations: 207.3 kB / 451.9 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.3639, allocations: 1.22 MB / 453.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.3639, allocations: 0 / 453.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3639, allocations: 0 / 453.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.364, allocations: 0.8125 kB / 453.1 MB, free: 3.375 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001799/0.3658, allocations: 1.257 MB / 454.4 MB, free: 18.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3658, allocations: 16.72 kB / 454.4 MB, free: 18.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.3664, allocations: 213.9 kB / 454.6 MB, free: 18.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.3668, allocations: 372.7 kB / 455 MB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3669, allocations: 32.59 kB / 455 MB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.3669, allocations: 49.84 kB / 455 MB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.3675, allocations: 0.7477 MB / 455.8 MB, free: 17.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3675, allocations: 0.75 kB / 455.8 MB, free: 17.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.3675, allocations: 22.38 kB / 455.8 MB, free: 17.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3675, allocations: 12.78 kB / 455.8 MB, free: 17.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.3678, allocations: 206.8 kB / 456 MB, free: 17.96 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.00134/0.3692, allocations: 1.571 MB / 457.6 MB, free: 16.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.3694, allocations: 152.9 kB / 457.7 MB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.3695, allocations: 110.2 kB / 457.9 MB, free: 16.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.3697, allocations: 93.55 kB / 457.9 MB, free: 16.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3697, allocations: 36.97 kB / 458 MB, free: 16.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/0.3697, allocations: 0 / 458 MB, free: 16.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006382/0.3704, allocations: 342.5 kB / 458.3 MB, free: 16.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.3704, allocations: 58.62 kB / 458.4 MB, free: 16.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3706, allocations: 354.3 kB / 458.7 MB, free: 16.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.3706, allocations: 33.08 kB / 458.7 MB, free: 16.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.3707, allocations: 240.6 kB / 459 MB, free: 16.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.3708, allocations: 123.9 kB / 459.1 MB, free: 16.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.3708, allocations: 97 kB / 459.2 MB, free: 16.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.3709, allocations: 357 kB / 459.5 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.371, allocations: 45.66 kB / 459.6 MB, free: 15.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3711, allocations: 262.2 kB / 459.8 MB, free: 15.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3713, allocations: 257.9 kB / 460.1 MB, free: 15.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3713, allocations: 2.906 kB / 460.1 MB, free: 15.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003063/0.3716, allocations: 268.5 kB / 460.4 MB, free: 15.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3717, allocations: 8.719 kB / 460.4 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3717, allocations: 2.5 kB / 460.4 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.3722, allocations: 205.9 kB / 460.6 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3724, allocations: 124.2 kB / 460.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003075/0.3728, allocations: 0.5457 MB / 461.2 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.373, allocations: 34.73 kB / 461.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.3731, allocations: 42.8 kB / 461.3 MB, free: 15.03 MB / 442.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.0001667/0.3732, allocations: 138.4 kB / 461.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.3733, allocations: 41.31 kB / 461.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3745, allocations: 0.8746 MB / 462.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3745, allocations: 2.656 kB / 462.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3745, allocations: 0.9375 kB / 462.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3745, allocations: 3.094 kB / 462.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.3753, allocations: 0.563 MB / 462.9 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3753, allocations: 0.8438 kB / 462.9 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3754, allocations: 62.28 kB / 463 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.3755, allocations: 40.47 kB / 463 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009907/0.3765, allocations: 314.8 kB / 463.3 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3765, allocations: 9.594 kB / 463.4 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002567/0.3768, allocations: 0.5516 MB / 463.9 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3768, allocations: 3.188 kB / 463.9 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.377, allocations: 325.6 kB / 464.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.3771, allocations: 11.08 kB / 464.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3772, allocations: 18.86 kB / 464.3 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.3773, allocations: 27.27 kB / 464.3 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3773, allocations: 12.81 kB / 464.3 MB, free: 13.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.3774, allocations: 159.4 kB / 464.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3774, allocations: 1.031 kB / 464.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007885/0.3782, allocations: 343.7 kB / 464.8 MB, free: 13.66 MB / 442.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.000692/0.3789, allocations: 439.8 kB / 465.2 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.3792, allocations: 209.5 kB / 465.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/0.3793, allocations: 10.41 kB / 465.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3794, allocations: 112.9 kB / 465.5 MB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.3806, allocations: 1.745 MB / 467.3 MB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.3861, allocations: 0.8424 MB / 468.1 MB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.601e-05/0.3862, allocations: 139.1 kB / 468.3 MB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007118/0.3869, allocations: 473.1 kB / 468.7 MB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.3874, allocations: 317 kB / 469 MB, free: 11.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3874, allocations: 0 / 469 MB, free: 11.15 MB / 442.7 MB Notification: Performance of Templates: time 0.02534/0.4127, allocations: 18.06 MB / 487.1 MB, free: 7.82 MB / 442.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6913182782009244]