Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009338/0.0009338, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9466/0.9466, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.202e-05, allocations: 3.016 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3192/0.3192, allocations: 148.9 MB / 0.5153 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.3242, allocations: 3.444 MB / 0.5186 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.3245, allocations: 20.78 kB / 0.5187 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.325, allocations: 177.9 kB / 0.5188 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.328, allocations: 1.567 MB / 0.5204 GB, free: 11.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3291, allocations: 0.566 MB / 0.5209 GB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3304, allocations: 1.53 MB / 0.5224 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.3309, allocations: 376.5 kB / 0.5228 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008234/0.3318, allocations: 0.7652 MB / 0.5235 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.3323, allocations: 491.5 kB / 0.524 GB, free: 9.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.956e-05/0.3324, allocations: 51.88 kB / 0.524 GB, free: 9.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.3339, allocations: 1.104 MB / 0.5251 GB, free: 9.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.334, allocations: 165.2 kB / 0.5253 GB, free: 9.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3342, allocations: 257.8 kB / 0.5255 GB, free: 9.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.336, allocations: 1.43 MB / 0.5269 GB, free: 8.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.336, allocations: 2.938 kB / 0.5269 GB, free: 8.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.336, allocations: 3.938 kB / 0.5269 GB, free: 8.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.336, allocations: 0 / 0.5269 GB, free: 8.895 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.001572/0.3376, allocations: 1.102 MB / 0.528 GB, free: 8.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.3376, allocations: 8.281 kB / 0.528 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.3383, allocations: 221.1 kB / 0.5282 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.3388, allocations: 434.8 kB / 0.5286 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3388, allocations: 34 kB / 0.5287 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.3389, allocations: 47.34 kB / 0.5287 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.3395, allocations: 0.7983 MB / 0.5295 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3395, allocations: 3.938 kB / 0.5295 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.3396, allocations: 17.97 kB / 0.5295 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.3396, allocations: 11.47 kB / 0.5295 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.34, allocations: 274.3 kB / 0.5298 GB, free: 7.016 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.001558/0.3415, allocations: 2.27 MB / 0.532 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.3419, allocations: 214.6 kB / 0.5322 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.342, allocations: 88.03 kB / 0.5323 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.3422, allocations: 43.11 kB / 0.5323 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3422, allocations: 45.72 kB / 0.5324 GB, free: 5.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/0.3422, allocations: 0 / 0.5324 GB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009327/0.3431, allocations: 486.1 kB / 0.5328 GB, free: 4.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3432, allocations: 131.1 kB / 0.5329 GB, free: 4.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3434, allocations: 433.5 kB / 0.5334 GB, free: 4.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3435, allocations: 35.08 kB / 0.5334 GB, free: 4.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3436, allocations: 336.3 kB / 0.5337 GB, free: 4.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3437, allocations: 126.1 kB / 0.5338 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3438, allocations: 107.8 kB / 0.5339 GB, free: 4.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.3439, allocations: 0.5233 MB / 0.5344 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.344, allocations: 74.03 kB / 0.5345 GB, free: 3.508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3442, allocations: 332.5 kB / 0.5348 GB, free: 3.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.3445, allocations: 325.5 kB / 0.5351 GB, free: 2.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3445, allocations: 0 / 0.5351 GB, free: 2.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004786/0.3449, allocations: 411.8 kB / 0.5355 GB, free: 2.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.345, allocations: 9.469 kB / 0.5355 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.345, allocations: 2.969 kB / 0.5356 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.3457, allocations: 200.1 kB / 0.5357 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3459, allocations: 108.4 kB / 0.5358 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002583/0.3461, allocations: 0.8243 MB / 0.5367 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3463, allocations: 39.48 kB / 0.5367 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3463, allocations: 48.66 kB / 0.5367 GB, free: 1.887 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.0001168/0.3464, allocations: 180.9 kB / 0.5369 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.3465, allocations: 56.12 kB / 0.537 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.3475, allocations: 0.9706 MB / 0.5379 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3475, allocations: 7.469 kB / 0.5379 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3475, allocations: 2.844 kB / 0.5379 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3475, allocations: 2.672 kB / 0.5379 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.3482, allocations: 0.8427 MB / 0.5387 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3482, allocations: 0 / 0.5387 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3484, allocations: 54.91 kB / 0.5388 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.3495, allocations: 320.5 kB / 0.5391 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.3495, allocations: 13.5 kB / 0.5391 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/0.3498, allocations: 0.8393 MB / 0.5399 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3498, allocations: 64 / 0.5399 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.3502, allocations: 475.4 kB / 0.5404 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3502, allocations: 45.34 kB / 0.5404 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.3503, allocations: 17.98 kB / 0.5404 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3504, allocations: 14.2 kB / 0.5405 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.3505, allocations: 25.02 kB / 0.5405 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3505, allocations: 24.45 kB / 0.5405 GB, free: 15.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3507, allocations: 308.3 kB / 0.5408 GB, free: 15.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3507, allocations: 0 / 0.5408 GB, free: 15.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000703/0.3514, allocations: 340.2 kB / 0.5411 GB, free: 15.28 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.0006759/0.3521, allocations: 423.8 kB / 0.5415 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.3525, allocations: 254.3 kB / 0.5418 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3525, allocations: 0 / 0.5418 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3527, allocations: 118.3 kB / 0.5419 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/0.3535, allocations: 318.5 kB / 0.5422 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3548, allocations: 0.8483 MB / 0.543 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.508e-05/0.3549, allocations: 134.2 kB / 0.5431 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.3555, allocations: 480 kB / 0.5436 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3557, allocations: 82.67 kB / 0.5437 GB, free: 13.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3557, allocations: 0 / 0.5437 GB, free: 13.95 MB / 426.7 MB Notification: Performance of Templates: time 0.02122/0.3769, allocations: 18.56 MB / 0.5618 GB, free: 13.05 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.791910832747817]