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.001199/0.001199, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001725/0.001725, allocations: 168.9 kB / 24.82 MB, free: 9.297 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 1.15/1.15, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.297/0.297, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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.282e-06/1.282e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.628e-05, allocations: 5.547 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3178/0.3178, allocations: 146 MB / 0.5123 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.3226, allocations: 3.404 MB / 0.5156 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006656/0.3233, allocations: 20.91 kB / 0.5156 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.3238, allocations: 185 kB / 0.5158 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.3271, allocations: 1.546 MB / 0.5173 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3282, allocations: 0.576 MB / 0.5179 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.3297, allocations: 1.519 MB / 0.5193 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.3302, allocations: 377 kB / 0.5197 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009088/0.3311, allocations: 0.7635 MB / 0.5204 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.3318, allocations: 499.1 kB / 0.5209 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.3319, allocations: 50.12 kB / 0.521 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.3337, allocations: 1.042 MB / 0.522 GB, free: 11.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3339, allocations: 169.5 kB / 0.5222 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.3341, allocations: 247.4 kB / 0.5224 GB, free: 11.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.3362, allocations: 1.4 MB / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3362, allocations: 3.25 kB / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.3362, allocations: 0 / 0.5238 GB, free: 10.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3362, allocations: 0 / 0.5238 GB, free: 10.96 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.001723/0.3379, allocations: 1.105 MB / 0.5248 GB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.338, allocations: 11.06 kB / 0.5248 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006606/0.3386, allocations: 223.2 kB / 0.5251 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.3391, allocations: 421.4 kB / 0.5255 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3391, allocations: 31.31 kB / 0.5255 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.3392, allocations: 51.14 kB / 0.5255 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.3398, allocations: 0.7635 MB / 0.5263 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3398, allocations: 3 kB / 0.5263 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.3398, allocations: 17.47 kB / 0.5263 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3398, allocations: 14.88 kB / 0.5263 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3401, allocations: 227.5 kB / 0.5265 GB, free: 9.109 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.001516/0.3416, allocations: 2.19 MB / 0.5287 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.3419, allocations: 184.3 kB / 0.5289 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.342, allocations: 81.19 kB / 0.5289 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.3422, allocations: 56.75 kB / 0.529 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3422, allocations: 40.55 kB / 0.529 GB, free: 7.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.3422, allocations: 0 / 0.529 GB, free: 7.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007595/0.343, allocations: 443.1 kB / 0.5294 GB, free: 7.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.343, allocations: 137.9 kB / 0.5296 GB, free: 6.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3432, allocations: 411.4 kB / 0.53 GB, free: 6.672 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3432, allocations: 36.08 kB / 0.53 GB, free: 6.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3433, allocations: 343.7 kB / 0.5303 GB, free: 6.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.3434, allocations: 121.9 kB / 0.5304 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.3435, allocations: 108.1 kB / 0.5305 GB, free: 6.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.3436, allocations: 0.5267 MB / 0.5311 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.3436, allocations: 57.06 kB / 0.5311 GB, free: 5.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3438, allocations: 323.5 kB / 0.5314 GB, free: 5.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.344, allocations: 304 kB / 0.5317 GB, free: 5.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.344, allocations: 2.938 kB / 0.5317 GB, free: 5.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004324/0.3445, allocations: 379.5 kB / 0.5321 GB, free: 4.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3445, allocations: 5.844 kB / 0.5321 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3445, allocations: 6.688 kB / 0.5321 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.3451, allocations: 192.7 kB / 0.5323 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3454, allocations: 111.8 kB / 0.5324 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002625/0.3456, allocations: 0.8201 MB / 0.5332 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.3458, allocations: 37.2 kB / 0.5332 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.3458, allocations: 42.48 kB / 0.5333 GB, free: 4.098 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.0001225/0.346, allocations: 188.3 kB / 0.5334 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.346, allocations: 58.22 kB / 0.5335 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009378/0.347, allocations: 0.9539 MB / 0.5344 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.347, allocations: 2.656 kB / 0.5344 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.347, allocations: 0 / 0.5344 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.347, allocations: 5.75 kB / 0.5344 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.3477, allocations: 0.7485 MB / 0.5352 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3477, allocations: 1.969 kB / 0.5352 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3478, allocations: 59.55 kB / 0.5352 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.3489, allocations: 307.6 kB / 0.5355 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.3489, allocations: 15.66 kB / 0.5355 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002256/0.3492, allocations: 0.8329 MB / 0.5363 GB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3492, allocations: 11 kB / 0.5364 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.3495, allocations: 446.2 kB / 0.5368 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.3495, allocations: 47.39 kB / 0.5368 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.3496, allocations: 12.98 kB / 0.5368 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3497, allocations: 16.5 kB / 0.5369 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.3498, allocations: 27.19 kB / 0.5369 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3498, allocations: 12.61 kB / 0.5369 GB, free: 1.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.35, allocations: 290.1 kB / 0.5372 GB, free: 1.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.35, allocations: 0 / 0.5372 GB, free: 1.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008745/0.3508, allocations: 346.9 kB / 0.5375 GB, free: 1.566 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.0006459/0.3515, allocations: 433.3 kB / 0.5379 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.3518, allocations: 230.6 kB / 0.5381 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3519, allocations: 11.16 kB / 0.5381 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.352, allocations: 105.5 kB / 0.5382 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.3527, allocations: 313.4 kB / 0.5385 GB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3539, allocations: 0.8376 MB / 0.5394 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.636e-05/0.354, allocations: 126.8 kB / 0.5395 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005612/0.3545, allocations: 479.3 kB / 0.5399 GB, free: 488 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.355, allocations: 363.6 kB / 0.5403 GB, free: 404 kB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.355, allocations: 0 / 0.5403 GB, free: 404 kB / 410.7 MB Notification: Performance of Templates: time 0.02253/0.3776, allocations: 17.97 MB / 0.5578 GB, free: 0.8555 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: 4.367610868066549]