Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001346/0.001346, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.001567/0.001567, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 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.9568/0.9568, allocations: 177 MB / 205.2 MB, free: 5.605 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.2926/0.2926, allocations: 34.87 MB / 296.6 MB, free: 0.5781 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 378.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.686e-05, allocations: 2.312 kB / 378.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.312/0.312, allocations: 179.9 MB / 0.5456 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.3165, allocations: 3.649 MB / 0.5491 GB, free: 7.691 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.317, allocations: 19.97 kB / 0.5492 GB, free: 7.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008357/0.3179, allocations: 321 kB / 0.5495 GB, free: 7.496 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003635/0.3215, allocations: 1.78 MB / 0.5512 GB, free: 6.422 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3229, allocations: 0.7322 MB / 0.5519 GB, free: 5.883 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.3243, allocations: 1.555 MB / 0.5534 GB, free: 4.969 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.3249, allocations: 375.5 kB / 0.5538 GB, free: 4.707 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.3257, allocations: 0.8006 MB / 0.5546 GB, free: 4.223 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.3262, allocations: 410.2 kB / 0.555 GB, free: 4.016 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.3263, allocations: 51.88 kB / 0.555 GB, free: 4.016 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.328, allocations: 1.143 MB / 0.5561 GB, free: 3.457 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.3281, allocations: 164.8 kB / 0.5563 GB, free: 3.332 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.3284, allocations: 257.8 kB / 0.5565 GB, free: 3.133 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.3302, allocations: 1.48 MB / 0.558 GB, free: 1.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3302, allocations: 0 / 0.558 GB, free: 1.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3302, allocations: 0 / 0.558 GB, free: 1.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3302, allocations: 0 / 0.558 GB, free: 1.648 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.001481/0.3317, allocations: 1.129 MB / 0.5591 GB, free: 492 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3317, allocations: 11.97 kB / 0.5591 GB, free: 480 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.3325, allocations: 227 kB / 0.5593 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.3331, allocations: 424.7 kB / 0.5597 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3332, allocations: 33 kB / 0.5598 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.3332, allocations: 44 kB / 0.5598 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.334, allocations: 0.8274 MB / 0.5606 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.334, allocations: 7.688 kB / 0.5606 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.334, allocations: 20 kB / 0.5606 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3341, allocations: 12 kB / 0.5606 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.3345, allocations: 269.7 kB / 0.5609 GB, free: 14.47 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.0018/0.3363, allocations: 2.276 MB / 0.5631 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.3366, allocations: 204 kB / 0.5633 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3368, allocations: 88.3 kB / 0.5634 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.3369, allocations: 52.33 kB / 0.5634 GB, free: 11.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.337, allocations: 44.73 kB / 0.5635 GB, free: 11.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.337, allocations: 0 / 0.5635 GB, free: 11.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.000914/0.3379, allocations: 474.7 kB / 0.5639 GB, free: 11.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3379, allocations: 136.5 kB / 0.5641 GB, free: 11.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.3382, allocations: 426.6 kB / 0.5645 GB, free: 10.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.3383, allocations: 33.7 kB / 0.5645 GB, free: 10.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3384, allocations: 327.1 kB / 0.5648 GB, free: 10.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.3385, allocations: 126.9 kB / 0.5649 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.3386, allocations: 115.8 kB / 0.5651 GB, free: 10.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3387, allocations: 0.5274 MB / 0.5656 GB, free: 9.492 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3389, allocations: 68.95 kB / 0.5656 GB, free: 9.426 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3391, allocations: 328.4 kB / 0.5659 GB, free: 9.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3394, allocations: 335.2 kB / 0.5663 GB, free: 8.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3394, allocations: 0 / 0.5663 GB, free: 8.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006417/0.34, allocations: 408.5 kB / 0.5667 GB, free: 8.207 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3401, allocations: 4 kB / 0.5667 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3401, allocations: 4.438 kB / 0.5667 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.3408, allocations: 191.4 kB / 0.5668 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.341, allocations: 115.8 kB / 0.567 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003506/0.3413, allocations: 0.8233 MB / 0.5678 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3414, allocations: 39.72 kB / 0.5678 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.3415, allocations: 44 kB / 0.5678 GB, free: 6.957 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.0001371/0.3416, allocations: 188.4 kB / 0.568 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.3417, allocations: 63.66 kB / 0.5681 GB, free: 6.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3428, allocations: 0.9735 MB / 0.569 GB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3428, allocations: 4 kB / 0.569 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3428, allocations: 0 / 0.569 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3428, allocations: 0 / 0.569 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.3435, allocations: 0.7632 MB / 0.5698 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3435, allocations: 7.938 kB / 0.5698 GB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3436, allocations: 47.97 kB / 0.5698 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.3448, allocations: 339.3 kB / 0.5702 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3449, allocations: 8 kB / 0.5702 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/0.3452, allocations: 0.8429 MB / 0.571 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3452, allocations: 0 / 0.571 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3456, allocations: 461.9 kB / 0.5714 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.3456, allocations: 43.59 kB / 0.5715 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.3457, allocations: 15.89 kB / 0.5715 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3458, allocations: 16.86 kB / 0.5715 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.3459, allocations: 31.94 kB / 0.5715 GB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3459, allocations: 16 kB / 0.5715 GB, free: 2.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002301/0.3461, allocations: 315 kB / 0.5719 GB, free: 2.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 0 / 0.5719 GB, free: 2.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007457/0.3469, allocations: 354.9 kB / 0.5722 GB, free: 2.332 MB / 442.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.0007024/0.3476, allocations: 460.8 kB / 0.5726 GB, free: 1.875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004443/0.348, allocations: 248.8 kB / 0.5729 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.348, allocations: 4 kB / 0.5729 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3482, allocations: 103.5 kB / 0.573 GB, free: 1.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.349, allocations: 327.2 kB / 0.5733 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3504, allocations: 0.8208 MB / 0.5741 GB, free: 352 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.641e-05/0.3505, allocations: 126.4 kB / 0.5742 GB, free: 204 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006495/0.3511, allocations: 0.5404 MB / 0.5747 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3513, allocations: 92.39 kB / 0.5748 GB, free: 15.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3513, allocations: 0 / 0.5748 GB, free: 15.57 MB / 458.7 MB Notification: Performance of Templates: time 0.01949/0.3708, allocations: 16.22 MB / 0.5907 GB, free: 15.56 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.8420426971279085]