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.001493/0.001493, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001649/0.001649, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9362/0.9362, allocations: 177.1 MB / 206 MB, free: 4.504 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.1371/0.1371, allocations: 32.8 MB / 295.4 MB, free: 15.41 MB / 282.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.332e-06/1.332e-06, allocations: 0 / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.126e-05, allocations: 2.312 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.307/0.307, allocations: 146.1 MB / 0.5111 GB, free: 17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.311, allocations: 3.399 MB / 0.5144 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.3115, allocations: 26.59 kB / 0.5144 GB, free: 16.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.312, allocations: 188.7 kB / 0.5146 GB, free: 16.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.315, allocations: 1.558 MB / 0.5161 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.316, allocations: 0.5619 MB / 0.5167 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3176, allocations: 1.541 MB / 0.5182 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005632/0.3182, allocations: 372.8 kB / 0.5185 GB, free: 16.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009453/0.3192, allocations: 0.7702 MB / 0.5193 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006256/0.3198, allocations: 484 kB / 0.5198 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3199, allocations: 55.78 kB / 0.5198 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.3217, allocations: 1.103 MB / 0.5209 GB, free: 16.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3218, allocations: 165.5 kB / 0.5211 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.322, allocations: 254.8 kB / 0.5213 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.3237, allocations: 1.437 MB / 0.5227 GB, free: 16.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3237, allocations: 0 / 0.5227 GB, free: 16.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3237, allocations: 0 / 0.5227 GB, free: 16.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3237, allocations: 0 / 0.5227 GB, free: 16.32 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.001259/0.325, allocations: 1.122 MB / 0.5238 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.325, allocations: 12.48 kB / 0.5238 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/0.3256, allocations: 214.1 kB / 0.524 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.326, allocations: 423.5 kB / 0.5244 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.326, allocations: 33.69 kB / 0.5244 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.3261, allocations: 49.09 kB / 0.5245 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.3266, allocations: 0.7677 MB / 0.5252 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3266, allocations: 4 kB / 0.5252 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.3266, allocations: 19.38 kB / 0.5253 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3267, allocations: 11.06 kB / 0.5253 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.3269, allocations: 228.9 kB / 0.5255 GB, free: 14.79 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.001303/0.3282, allocations: 2.201 MB / 0.5276 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3285, allocations: 193.2 kB / 0.5278 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.3286, allocations: 72.8 kB / 0.5279 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3287, allocations: 53.11 kB / 0.5279 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3287, allocations: 46.2 kB / 0.528 GB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.3287, allocations: 0 / 0.528 GB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006961/0.3294, allocations: 438.7 kB / 0.5284 GB, free: 13.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.3295, allocations: 135.2 kB / 0.5285 GB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3297, allocations: 421 kB / 0.5289 GB, free: 12.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.3297, allocations: 35.17 kB / 0.529 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3298, allocations: 346.7 kB / 0.5293 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.3298, allocations: 129 kB / 0.5294 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/0.3299, allocations: 106.9 kB / 0.5295 GB, free: 12.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.33, allocations: 0.529 MB / 0.53 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3301, allocations: 58.89 kB / 0.5301 GB, free: 11.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3302, allocations: 318.1 kB / 0.5304 GB, free: 11.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3304, allocations: 300.1 kB / 0.5307 GB, free: 11.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3304, allocations: 0 / 0.5307 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004006/0.3308, allocations: 383.1 kB / 0.5311 GB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3308, allocations: 7.969 kB / 0.5311 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3309, allocations: 7 kB / 0.5311 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.3315, allocations: 198 kB / 0.5313 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.3317, allocations: 99.78 kB / 0.5314 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002143/0.3319, allocations: 0.8234 MB / 0.5322 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.332, allocations: 41.02 kB / 0.5322 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.3321, allocations: 46.95 kB / 0.5322 GB, free: 10.51 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.0001188/0.3322, allocations: 183.3 kB / 0.5324 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3323, allocations: 58.22 kB / 0.5325 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.3336, allocations: 0.9581 MB / 0.5334 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3336, allocations: 5.344 kB / 0.5334 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3336, allocations: 0 / 0.5334 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3336, allocations: 0 / 0.5334 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/0.3346, allocations: 0.7555 MB / 0.5342 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3346, allocations: 2.875 kB / 0.5342 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.3348, allocations: 53.44 kB / 0.5342 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.3367, allocations: 316.3 kB / 0.5345 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.3367, allocations: 12.59 kB / 0.5345 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002824/0.337, allocations: 0.8364 MB / 0.5353 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.337, allocations: 3 kB / 0.5353 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.3374, allocations: 447.3 kB / 0.5358 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.3375, allocations: 58.25 kB / 0.5358 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.3376, allocations: 18.3 kB / 0.5358 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.3378, allocations: 15 kB / 0.5359 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.3379, allocations: 29.67 kB / 0.5359 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3379, allocations: 14.91 kB / 0.5359 GB, free: 8.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3381, allocations: 293.5 kB / 0.5362 GB, free: 8.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3381, allocations: 0 / 0.5362 GB, free: 8.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001064/0.3392, allocations: 336.9 kB / 0.5365 GB, free: 8.395 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.0008526/0.34, allocations: 421.1 kB / 0.5369 GB, free: 8.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.3406, allocations: 234.4 kB / 0.5371 GB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3406, allocations: 6.844 kB / 0.5371 GB, free: 8.211 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3408, allocations: 106.5 kB / 0.5372 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3419, allocations: 326.8 kB / 0.5375 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3436, allocations: 0.8375 MB / 0.5384 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.3437, allocations: 128.1 kB / 0.5385 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009218/0.3446, allocations: 473 kB / 0.5389 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007587/0.3454, allocations: 365.5 kB / 0.5393 GB, free: 7.426 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3454, allocations: 4 kB / 0.5393 GB, free: 7.422 MB / 410.7 MB Notification: Performance of Templates: time 0.02928/0.3747, allocations: 18.66 MB / 0.5575 GB, free: 11.64 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 -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: 4.010047092102468]