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.0007551/0.0007551, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009444/0.001699, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007182/0.0007182, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009009/0.001619, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8753/0.8753, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07872/0.954, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2638/0.2638, allocations: 34.27 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02163/0.2855, allocations: 13.09 MB / 291.3 MB, free: 7.371 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.333e-06/1.333e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.203e-05, allocations: 4.562 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1293/0.1293, allocations: 148.7 MB / 441.3 MB, free: 1.039 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1839/0.3132, allocations: 3.488 MB / 444.8 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.3138, allocations: 23 kB / 444.8 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.3143, allocations: 192.3 kB / 445 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.3174, allocations: 1.514 MB / 446.5 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3185, allocations: 0.5662 MB / 447.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.3199, allocations: 1.536 MB / 448.6 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.3203, allocations: 372.6 kB / 449 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.3211, allocations: 0.8187 MB / 449.8 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.3216, allocations: 472.8 kB / 450.3 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.3217, allocations: 50.94 kB / 450.3 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3233, allocations: 1.161 MB / 451.5 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3234, allocations: 120.3 kB / 451.6 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3236, allocations: 211.8 kB / 451.8 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.325, allocations: 1.245 MB / 453 MB, free: 3.438 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.325, allocations: 4.688 kB / 453.1 MB, free: 3.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.325, allocations: 0 / 453.1 MB, free: 3.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.325, allocations: 0.75 kB / 453.1 MB, free: 3.434 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.001562/0.3266, allocations: 1.262 MB / 454.3 MB, free: 18.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3266, allocations: 9.594 kB / 454.3 MB, free: 18.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.3273, allocations: 215.1 kB / 454.5 MB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.3278, allocations: 369.8 kB / 454.9 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3278, allocations: 33.09 kB / 454.9 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.3279, allocations: 50.16 kB / 455 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.3285, allocations: 0.7489 MB / 455.7 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3285, allocations: 0 / 455.7 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.3286, allocations: 22.91 kB / 455.7 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3286, allocations: 8.688 kB / 455.8 MB, free: 18.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.3289, allocations: 219.8 kB / 456 MB, free: 18.03 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.001558/0.3305, allocations: 1.569 MB / 457.5 MB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3308, allocations: 166 kB / 457.7 MB, free: 17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.3309, allocations: 104.8 kB / 457.8 MB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.3311, allocations: 95.41 kB / 457.9 MB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.3311, allocations: 38 kB / 457.9 MB, free: 16.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.3311, allocations: 0.9062 kB / 457.9 MB, free: 16.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007167/0.3318, allocations: 343.6 kB / 458.3 MB, free: 16.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.3318, allocations: 54.91 kB / 458.3 MB, free: 16.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.332, allocations: 365.5 kB / 458.7 MB, free: 16.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.3321, allocations: 32.7 kB / 458.7 MB, free: 16.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.3322, allocations: 245.6 kB / 459 MB, free: 16.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.3322, allocations: 121.7 kB / 459.1 MB, free: 16.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3323, allocations: 88.02 kB / 459.2 MB, free: 16.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.3324, allocations: 357.7 kB / 459.5 MB, free: 16.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.3325, allocations: 55.16 kB / 459.6 MB, free: 16.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3327, allocations: 254.5 kB / 459.8 MB, free: 15.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3329, allocations: 254.9 kB / 460.1 MB, free: 15.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3329, allocations: 3.625 kB / 460.1 MB, free: 15.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000351/0.3333, allocations: 265.7 kB / 460.3 MB, free: 15.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3333, allocations: 8.938 kB / 460.3 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3333, allocations: 4.578 kB / 460.3 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.334, allocations: 208 kB / 460.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.3342, allocations: 120.8 kB / 460.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002655/0.3345, allocations: 0.5403 MB / 461.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3347, allocations: 40.8 kB / 461.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.3347, allocations: 36.33 kB / 461.3 MB, free: 15.09 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.0001273/0.3349, allocations: 148 kB / 461.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.3349, allocations: 40.84 kB / 461.5 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000978/0.3359, allocations: 0.866 MB / 462.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3359, allocations: 3.469 kB / 462.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.3359, allocations: 0.9688 kB / 462.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3359, allocations: 3 kB / 462.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.3366, allocations: 0.5712 MB / 462.9 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3366, allocations: 2.938 kB / 462.9 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3367, allocations: 56.73 kB / 463 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3368, allocations: 52.44 kB / 463 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.338, allocations: 309.7 kB / 463.3 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.338, allocations: 10.53 kB / 463.3 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002534/0.3383, allocations: 0.5534 MB / 463.9 MB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3383, allocations: 6.688 kB / 463.9 MB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3386, allocations: 328.9 kB / 464.2 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.3386, allocations: 16.17 kB / 464.2 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3388, allocations: 17.38 kB / 464.2 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3388, allocations: 25.77 kB / 464.3 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.3389, allocations: 13.39 kB / 464.3 MB, free: 13.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.339, allocations: 161.6 kB / 464.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.339, allocations: 1 kB / 464.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006257/0.3396, allocations: 339.5 kB / 464.8 MB, free: 13.72 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.0006784/0.3403, allocations: 426 kB / 465.2 MB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.3406, allocations: 198.2 kB / 465.4 MB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.3406, allocations: 7.969 kB / 465.4 MB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.3408, allocations: 93.45 kB / 465.5 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.3416, allocations: 373.9 kB / 465.8 MB, free: 13.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.3548, allocations: 0.8629 MB / 466.7 MB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.712e-05/0.3549, allocations: 126.5 kB / 466.8 MB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006341/0.3555, allocations: 479.3 kB / 467.3 MB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.3561, allocations: 313 kB / 467.6 MB, free: 12.87 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3561, allocations: 0 / 467.6 MB, free: 12.87 MB / 442.7 MB Notification: Performance of Templates: time 0.0605/0.4166, allocations: 18.92 MB / 486.5 MB, free: 9.062 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.574205399490893]