Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00116/0.00116, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.002918, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001105/0.001105, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002621, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9403/0.9403, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08175/1.022, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.2552/0.2552, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02314/0.2783, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.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.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.351e-05, allocations: 5.141 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1574/0.1575, allocations: 148.7 MB / 441.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1823/0.3397, allocations: 3.499 MB / 445 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.3402, allocations: 24 kB / 445 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.3407, allocations: 188.2 kB / 445.2 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.3439, allocations: 1.516 MB / 446.7 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.345, allocations: 0.5631 MB / 447.3 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.3467, allocations: 1.542 MB / 448.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.3473, allocations: 369.4 kB / 449.2 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.3484, allocations: 0.8201 MB / 450 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.349, allocations: 465.6 kB / 450.5 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3491, allocations: 53.48 kB / 450.5 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.3512, allocations: 1.16 MB / 451.7 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3514, allocations: 126.2 kB / 451.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.3517, allocations: 211 kB / 452 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.3536, allocations: 1.246 MB / 453.3 MB, free: 3.355 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.3536, allocations: 0 / 453.3 MB, free: 3.355 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3536, allocations: 0.9375 kB / 453.3 MB, free: 3.355 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.3537, allocations: 0 / 453.3 MB, free: 3.355 MB / 426.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.001948/0.3556, allocations: 1.257 MB / 454.5 MB, free: 18.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3557, allocations: 14.7 kB / 454.5 MB, free: 18.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.3563, allocations: 216.3 kB / 454.7 MB, free: 18.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.3568, allocations: 361.9 kB / 455.1 MB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3568, allocations: 35.72 kB / 455.1 MB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.3569, allocations: 50.81 kB / 455.2 MB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.3575, allocations: 0.7488 MB / 455.9 MB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3575, allocations: 0 / 455.9 MB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.3576, allocations: 20.56 kB / 456 MB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3576, allocations: 15.19 kB / 456 MB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.3579, allocations: 218.1 kB / 456.2 MB, free: 17.95 MB / 442.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.001495/0.3593, allocations: 1.57 MB / 457.8 MB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3596, allocations: 158.4 kB / 457.9 MB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.3597, allocations: 107.2 kB / 458 MB, free: 16.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.3599, allocations: 96.95 kB / 458.1 MB, free: 16.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.36, allocations: 41.03 kB / 458.1 MB, free: 16.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.36, allocations: 0 / 458.1 MB, free: 16.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.000678/0.3606, allocations: 339 kB / 458.5 MB, free: 16.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3607, allocations: 56.66 kB / 458.5 MB, free: 16.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3609, allocations: 363.5 kB / 458.9 MB, free: 16.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.3609, allocations: 32.05 kB / 458.9 MB, free: 16.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.361, allocations: 248.3 kB / 459.2 MB, free: 16.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.3611, allocations: 118.8 kB / 459.3 MB, free: 16.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3612, allocations: 91.92 kB / 459.4 MB, free: 16.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003816/0.3616, allocations: 359.5 kB / 459.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.3616, allocations: 47.03 kB / 459.8 MB, free: 15.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3618, allocations: 255.6 kB / 460 MB, free: 15.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.362, allocations: 265.2 kB / 460.3 MB, free: 15.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.362, allocations: 0 / 460.3 MB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003229/0.3623, allocations: 268.9 kB / 460.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3623, allocations: 5.344 kB / 460.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3623, allocations: 10.08 kB / 460.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.363, allocations: 202.1 kB / 460.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3632, allocations: 122 kB / 460.9 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002604/0.3635, allocations: 0.5431 MB / 461.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.3636, allocations: 35.33 kB / 461.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.3637, allocations: 42.06 kB / 461.5 MB, free: 15.02 MB / 442.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.0001299/0.3638, allocations: 147.8 kB / 461.6 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.3639, allocations: 42.3 kB / 461.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.3647, allocations: 0.8761 MB / 462.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3647, allocations: 5.5 kB / 462.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3647, allocations: 4.922 kB / 462.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3647, allocations: 2.953 kB / 462.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.3654, allocations: 0.5643 MB / 463.1 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3654, allocations: 3.625 kB / 463.1 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3655, allocations: 59.19 kB / 463.2 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.3656, allocations: 42.83 kB / 463.2 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.3666, allocations: 316.9 kB / 463.5 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.3667, allocations: 6.562 kB / 463.5 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003263/0.367, allocations: 0.5583 MB / 464.1 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.367, allocations: 2.844 kB / 464.1 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3673, allocations: 324.6 kB / 464.4 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.3673, allocations: 13.8 kB / 464.4 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3675, allocations: 12.59 kB / 464.4 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3675, allocations: 24.34 kB / 464.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3676, allocations: 15.62 kB / 464.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3677, allocations: 168.4 kB / 464.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 3 kB / 464.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008674/0.3686, allocations: 339.1 kB / 465 MB, free: 13.65 MB / 442.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.0007967/0.3694, allocations: 417.9 kB / 465.4 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.3697, allocations: 201.3 kB / 465.6 MB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/0.3698, allocations: 9.125 kB / 465.6 MB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3699, allocations: 119.6 kB / 465.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3714, allocations: 1.829 MB / 467.5 MB, free: 11.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/0.379, allocations: 0.8674 MB / 468.4 MB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.3792, allocations: 126.7 kB / 468.5 MB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008549/0.38, allocations: 481.6 kB / 469 MB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/0.3807, allocations: 311.4 kB / 469.3 MB, free: 11.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3807, allocations: 0 / 469.3 MB, free: 11.05 MB / 442.7 MB Notification: Performance of Templates: time 0.02618/0.4069, allocations: 18.82 MB / 488.1 MB, free: 7.27 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.475574428215623]