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.001196/0.001196, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001372/0.001372, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.02/1.02, allocations: 177.2 MB / 205 MB, free: 5.598 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.2645/0.2645, allocations: 34.25 MB / 295.7 MB, free: 0.7578 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.764e-06/1.764e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.87e-05, allocations: 6.25 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3054/0.3055, allocations: 148.8 MB / 0.5145 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004939/0.3104, allocations: 3.444 MB / 0.5179 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.3109, allocations: 24.09 kB / 0.5179 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.3115, allocations: 174.1 kB / 0.5181 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.3149, allocations: 1.545 MB / 0.5196 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3162, allocations: 0.5608 MB / 0.5201 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.3179, allocations: 1.538 MB / 0.5216 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.3185, allocations: 371.7 kB / 0.522 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3195, allocations: 0.7652 MB / 0.5227 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000748/0.3203, allocations: 488.6 kB / 0.5232 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3204, allocations: 55.56 kB / 0.5233 GB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.3223, allocations: 1.044 MB / 0.5243 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3225, allocations: 165.2 kB / 0.5244 GB, free: 10.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.3227, allocations: 246.8 kB / 0.5247 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.3246, allocations: 1.406 MB / 0.526 GB, free: 9.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3246, allocations: 0 / 0.526 GB, free: 9.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3246, allocations: 2.594 kB / 0.526 GB, free: 9.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3246, allocations: 0 / 0.526 GB, free: 9.547 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.001635/0.3263, allocations: 1.095 MB / 0.5271 GB, free: 8.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3263, allocations: 8.5 kB / 0.5271 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008399/0.3271, allocations: 219.8 kB / 0.5273 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.3277, allocations: 429.1 kB / 0.5277 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3277, allocations: 34 kB / 0.5278 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.3278, allocations: 47.28 kB / 0.5278 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007919/0.3286, allocations: 0.8 MB / 0.5286 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3286, allocations: 2.875 kB / 0.5286 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.3287, allocations: 21.22 kB / 0.5286 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3287, allocations: 12.16 kB / 0.5286 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.3292, allocations: 264.7 kB / 0.5289 GB, free: 7.676 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.001827/0.331, allocations: 2.27 MB / 0.5311 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.3314, allocations: 211.1 kB / 0.5313 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3316, allocations: 83.61 kB / 0.5314 GB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.3317, allocations: 44.39 kB / 0.5314 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3317, allocations: 40.23 kB / 0.5315 GB, free: 5.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.766e-06/0.3317, allocations: 4 kB / 0.5315 GB, free: 5.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001045/0.3328, allocations: 475.4 kB / 0.5319 GB, free: 5.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3328, allocations: 134.2 kB / 0.5321 GB, free: 5.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.3331, allocations: 424.1 kB / 0.5325 GB, free: 5.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.3332, allocations: 32.55 kB / 0.5325 GB, free: 5.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3333, allocations: 335.8 kB / 0.5328 GB, free: 4.848 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.3334, allocations: 125.7 kB / 0.5329 GB, free: 4.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3335, allocations: 108.9 kB / 0.533 GB, free: 4.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.3336, allocations: 0.5228 MB / 0.5335 GB, free: 4.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3337, allocations: 69.66 kB / 0.5336 GB, free: 4.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.334, allocations: 334.9 kB / 0.5339 GB, free: 3.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.3343, allocations: 321.1 kB / 0.5342 GB, free: 3.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3343, allocations: 0 / 0.5342 GB, free: 3.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005927/0.3349, allocations: 407.8 kB / 0.5346 GB, free: 3.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3349, allocations: 18.53 kB / 0.5346 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3349, allocations: 2.938 kB / 0.5346 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/0.3358, allocations: 201.3 kB / 0.5348 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.336, allocations: 100.3 kB / 0.5349 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002731/0.3363, allocations: 0.8282 MB / 0.5357 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3365, allocations: 39.2 kB / 0.5358 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.3366, allocations: 50.17 kB / 0.5358 GB, free: 2.559 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.0001364/0.3367, allocations: 191.2 kB / 0.536 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.3368, allocations: 56.22 kB / 0.5361 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.338, allocations: 0.9611 MB / 0.537 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.338, allocations: 2.562 kB / 0.537 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.338, allocations: 0 / 0.537 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.338, allocations: 1.922 kB / 0.537 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009207/0.3389, allocations: 0.8429 MB / 0.5378 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3389, allocations: 2.438 kB / 0.5378 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3391, allocations: 54.36 kB / 0.5379 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.3405, allocations: 313.5 kB / 0.5382 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3406, allocations: 19.2 kB / 0.5382 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002366/0.3408, allocations: 0.8362 MB / 0.539 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3408, allocations: 2.906 kB / 0.539 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.3412, allocations: 472.5 kB / 0.5395 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3413, allocations: 43.03 kB / 0.5395 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.3414, allocations: 12.47 kB / 0.5395 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.3415, allocations: 11.91 kB / 0.5395 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.3416, allocations: 25.17 kB / 0.5396 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3416, allocations: 28 kB / 0.5396 GB, free: 212 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3419, allocations: 309.1 kB / 0.5399 GB, free: 44 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 0.5399 GB, free: 44 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009661/0.3428, allocations: 345.6 kB / 0.5402 GB, free: 15.95 MB / 426.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.0007794/0.3436, allocations: 430.8 kB / 0.5406 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.3441, allocations: 252.2 kB / 0.5409 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3441, allocations: 7.219 kB / 0.5409 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3443, allocations: 115.8 kB / 0.541 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3453, allocations: 317.9 kB / 0.5413 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3469, allocations: 0.8405 MB / 0.5421 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.347, allocations: 125.1 kB / 0.5422 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007275/0.3477, allocations: 494.4 kB / 0.5427 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3479, allocations: 79.62 kB / 0.5428 GB, free: 14.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3479, allocations: 0 / 0.5428 GB, free: 14.71 MB / 426.7 MB Notification: Performance of Templates: time 0.02611/0.374, allocations: 18.01 MB / 0.5604 GB, free: 14.64 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 -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.9947289247065783]