Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001168/0.001168, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001189/0.001189, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1362/0.1362, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.236e-05, allocations: 5.406 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.312/0.312, allocations: 183.9 MB / 0.5192 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007793/0.3198, allocations: 6.041 MB / 0.5251 GB, free: 5.883 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.3201, allocations: 23.81 kB / 0.5251 GB, free: 5.859 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.321, allocations: 313.7 kB / 0.5254 GB, free: 5.551 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.3247, allocations: 2.002 MB / 0.5273 GB, free: 3.539 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3261, allocations: 0.7282 MB / 0.5281 GB, free: 2.809 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.3274, allocations: 1.559 MB / 0.5296 GB, free: 1.246 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.3279, allocations: 372.2 kB / 0.5299 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.3289, allocations: 0.7986 MB / 0.5307 GB, free: 80 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.3294, allocations: 410.8 kB / 0.5311 GB, free: 15.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.3295, allocations: 52 kB / 0.5312 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.3313, allocations: 1.372 MB / 0.5325 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3315, allocations: 171.3 kB / 0.5327 GB, free: 14.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.3317, allocations: 251.5 kB / 0.5329 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.3336, allocations: 1.651 MB / 0.5345 GB, free: 12.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3336, allocations: 0 / 0.5345 GB, free: 12.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3336, allocations: 4 kB / 0.5345 GB, free: 12.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3336, allocations: 0 / 0.5345 GB, free: 12.18 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.00154/0.3351, allocations: 1.156 MB / 0.5356 GB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3352, allocations: 12.03 kB / 0.5357 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009617/0.3361, allocations: 223 kB / 0.5359 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.3367, allocations: 444.9 kB / 0.5363 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3367, allocations: 29 kB / 0.5363 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.3368, allocations: 48 kB / 0.5364 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.3377, allocations: 0.8281 MB / 0.5372 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3377, allocations: 3.938 kB / 0.5372 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.3378, allocations: 23.94 kB / 0.5372 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3378, allocations: 12 kB / 0.5372 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.3386, allocations: 269.7 kB / 0.5375 GB, free: 8.949 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.002131/0.3407, allocations: 2.298 MB / 0.5397 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.3412, allocations: 210.5 kB / 0.5399 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3413, allocations: 84.2 kB / 0.54 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.3419, allocations: 410.5 kB / 0.5404 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.342, allocations: 45.66 kB / 0.5404 GB, free: 5.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.342, allocations: 0 / 0.5404 GB, free: 5.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001091/0.3431, allocations: 458.2 kB / 0.5409 GB, free: 5.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.3431, allocations: 144.4 kB / 0.541 GB, free: 5.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.3435, allocations: 442.5 kB / 0.5414 GB, free: 4.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.3435, allocations: 29.7 kB / 0.5415 GB, free: 4.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3437, allocations: 343.1 kB / 0.5418 GB, free: 4.355 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.3438, allocations: 119 kB / 0.5419 GB, free: 4.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3439, allocations: 107.8 kB / 0.542 GB, free: 4.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3441, allocations: 0.5235 MB / 0.5425 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3442, allocations: 68.95 kB / 0.5426 GB, free: 3.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.3445, allocations: 332.4 kB / 0.5429 GB, free: 3.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.3449, allocations: 331.2 kB / 0.5432 GB, free: 2.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3449, allocations: 7.062 kB / 0.5432 GB, free: 2.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006284/0.3455, allocations: 392.6 kB / 0.5436 GB, free: 2.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3456, allocations: 8 kB / 0.5436 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3456, allocations: 4 kB / 0.5436 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008678/0.3464, allocations: 195.8 kB / 0.5438 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3467, allocations: 99.83 kB / 0.5439 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007156/0.3474, allocations: 0.8468 MB / 0.5447 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3476, allocations: 31.78 kB / 0.5447 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.3476, allocations: 43.98 kB / 0.5448 GB, free: 1.059 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.0001551/0.3478, allocations: 184.5 kB / 0.545 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.3479, allocations: 63.66 kB / 0.545 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.3487, allocations: 0.6236 MB / 0.5456 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3487, allocations: 4 kB / 0.5456 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3487, allocations: 0 / 0.5456 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3487, allocations: 0 / 0.5456 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.3494, allocations: 0.7847 MB / 0.5464 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3494, allocations: 0 / 0.5464 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3495, allocations: 47.92 kB / 0.5464 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.3507, allocations: 348.6 kB / 0.5468 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3507, allocations: 8 kB / 0.5468 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003439/0.3511, allocations: 0.839 MB / 0.5476 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3511, allocations: 0 / 0.5476 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.3515, allocations: 463.8 kB / 0.548 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3515, allocations: 51.62 kB / 0.5481 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3515, allocations: 12.62 kB / 0.5481 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3517, allocations: 15.98 kB / 0.5481 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3517, allocations: 27.95 kB / 0.5482 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3518, allocations: 19.94 kB / 0.5482 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.352, allocations: 315 kB / 0.5485 GB, free: 13.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 0.5485 GB, free: 13.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005558/0.3525, allocations: 382.8 kB / 0.5488 GB, free: 12.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0008102/0.3533, allocations: 0.5284 MB / 0.5494 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.3538, allocations: 249.4 kB / 0.5496 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3538, allocations: 4 kB / 0.5496 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3539, allocations: 107.5 kB / 0.5497 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.3547, allocations: 324.4 kB / 0.55 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3559, allocations: 0.8288 MB / 0.5508 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.391e-05/0.356, allocations: 130.4 kB / 0.5509 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003738/0.3563, allocations: 186.2 kB / 0.5511 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3565, allocations: 72.48 kB / 0.5512 GB, free: 10.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3565, allocations: 0 / 0.5512 GB, free: 10.25 MB / 426.7 MB Notification: Performance of Templates: time 0.01789/0.3743, allocations: 17.43 MB / 0.5682 GB, free: 8.906 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.230651722056791]