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.00137/0.00137, 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.001512/0.001512, allocations: 168.2 kB / 24.91 MB, free: 9.152 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.449 MB / 186.7 MB " [Timeout remaining time 179] 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.2917/0.2917, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 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.[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.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.[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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.579e-05, allocations: 6.969 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.322/0.322, allocations: 148.2 MB / 471.5 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.3271, allocations: 3.466 MB / 475 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.3277, allocations: 25.31 kB / 475 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.3282, allocations: 189.4 kB / 475.2 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.3317, allocations: 1.524 MB / 476.7 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3328, allocations: 0.5602 MB / 477.3 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.3346, allocations: 1.535 MB / 478.8 MB, free: 16.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.3352, allocations: 374.5 kB / 479.2 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.3363, allocations: 0.7624 MB / 479.9 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.3371, allocations: 464.1 kB / 480.4 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3372, allocations: 56.12 kB / 480.5 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.3397, allocations: 1.153 MB / 481.6 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3399, allocations: 165.7 kB / 481.8 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.3402, allocations: 254.8 kB / 482 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.3424, allocations: 1.437 MB / 483.5 MB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3424, allocations: 3.344 kB / 483.5 MB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3424, allocations: 0 / 483.5 MB, free: 16.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.3425, allocations: 0 / 483.5 MB, free: 16.03 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.001457/0.3439, allocations: 0.9667 MB / 484.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.344, allocations: 14.16 kB / 484.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.3449, allocations: 218.9 kB / 484.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.3453, allocations: 373 kB / 485 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3453, allocations: 35.56 kB / 485.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.3454, allocations: 45.31 kB / 485.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.3459, allocations: 0.7509 MB / 485.8 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3459, allocations: 4 kB / 485.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3459, allocations: 18.91 kB / 485.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.3459, allocations: 11.19 kB / 485.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.3462, allocations: 217.8 kB / 486.1 MB, free: 14.69 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.001264/0.3475, allocations: 1.567 MB / 487.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3477, allocations: 159.3 kB / 487.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.3478, allocations: 108.3 kB / 487.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.348, allocations: 87.36 kB / 488 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.348, allocations: 42.06 kB / 488 MB, free: 13.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.348, allocations: 0 / 488 MB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000626/0.3487, allocations: 342.9 kB / 488.4 MB, free: 13.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3487, allocations: 137.4 kB / 488.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3489, allocations: 353 kB / 488.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3489, allocations: 31.61 kB / 488.9 MB, free: 13.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.349, allocations: 250.9 kB / 489.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.3491, allocations: 129.9 kB / 489.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.3492, allocations: 93.38 kB / 489.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.3492, allocations: 357.7 kB / 489.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.3493, allocations: 47.12 kB / 489.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3494, allocations: 259.3 kB / 490 MB, free: 12.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3496, allocations: 255.9 kB / 490.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3496, allocations: 0 / 490.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000293/0.3499, allocations: 266.8 kB / 490.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3499, allocations: 12.38 kB / 490.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.35, allocations: 2.844 kB / 490.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.3506, allocations: 204.3 kB / 490.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.3507, allocations: 99.02 kB / 490.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001921/0.3509, allocations: 0.5399 MB / 491.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.3511, allocations: 35.5 kB / 491.4 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.3511, allocations: 46.36 kB / 491.4 MB, free: 11.62 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.0001014/0.3512, allocations: 143.6 kB / 491.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.3513, allocations: 39.92 kB / 491.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008244/0.3521, allocations: 0.8708 MB / 492.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3521, allocations: 7.516 kB / 492.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3521, allocations: 0 / 492.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3521, allocations: 2.016 kB / 492.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.3526, allocations: 0.5581 MB / 493.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3526, allocations: 2.906 kB / 493.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3527, allocations: 53.36 kB / 493.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009692/0.3537, allocations: 316.6 kB / 493.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3537, allocations: 12.97 kB / 493.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001552/0.3539, allocations: 0.5563 MB / 494 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3539, allocations: 2.406 kB / 494 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3541, allocations: 324.5 kB / 494.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.3541, allocations: 42.38 kB / 494.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3542, allocations: 17.81 kB / 494.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3543, allocations: 16.58 kB / 494.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3544, allocations: 31.09 kB / 494.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3544, allocations: 9.641 kB / 494.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3545, allocations: 166.5 kB / 494.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3545, allocations: 0 / 494.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007773/0.3553, allocations: 339.7 kB / 494.9 MB, free: 10.22 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.000609/0.3559, allocations: 394.3 kB / 495.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.3562, allocations: 205.6 kB / 495.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.3562, allocations: 9.094 kB / 495.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3564, allocations: 100.3 kB / 495.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.3571, allocations: 315.1 kB / 495.9 MB, free: 10 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3582, allocations: 0.8396 MB / 496.8 MB, free: 9.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.3583, allocations: 123.6 kB / 496.9 MB, free: 9.449 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005825/0.3589, allocations: 481.9 kB / 497.4 MB, free: 9.375 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.3594, allocations: 311.8 kB / 497.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3594, allocations: 0 / 497.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of Templates: time 0.01936/0.3788, allocations: 18.39 MB / 0.504 GB, free: 13.29 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.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.6973570161499083]