Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001916/0.001916, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001952/0.001952, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3463/0.3463, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.0.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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.729e-05, allocations: 5.547 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3989/0.399, allocations: 179.9 MB / 0.5421 GB, free: 12.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00742/0.4064, allocations: 3.647 MB / 0.5457 GB, free: 10.36 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.4071, allocations: 27.22 kB / 0.5457 GB, free: 10.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4082, allocations: 315.9 kB / 0.546 GB, free: 10.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005118/0.4133, allocations: 1.793 MB / 0.5478 GB, free: 9.301 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.4154, allocations: 0.7244 MB / 0.5485 GB, free: 8.898 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.4179, allocations: 1.557 MB / 0.55 GB, free: 7.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.4186, allocations: 376.7 kB / 0.5504 GB, free: 7.715 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.4199, allocations: 0.8032 MB / 0.5511 GB, free: 7.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.4206, allocations: 417.9 kB / 0.5515 GB, free: 7.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4207, allocations: 51.03 kB / 0.5516 GB, free: 7.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.424, allocations: 1.204 MB / 0.5528 GB, free: 6.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.4243, allocations: 160.2 kB / 0.5529 GB, free: 6.309 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.4247, allocations: 266.4 kB / 0.5532 GB, free: 6.188 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.4289, allocations: 1.783 MB / 0.5549 GB, free: 5.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4289, allocations: 0 / 0.5549 GB, free: 5.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4289, allocations: 2.844 kB / 0.5549 GB, free: 5.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4289, allocations: 4 kB / 0.5549 GB, free: 5.09 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.002523/0.4314, allocations: 1.158 MB / 0.5561 GB, free: 4.043 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4315, allocations: 12.03 kB / 0.5561 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.4327, allocations: 219.1 kB / 0.5563 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.4337, allocations: 443.9 kB / 0.5567 GB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.4337, allocations: 33 kB / 0.5567 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4338, allocations: 44 kB / 0.5568 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.4353, allocations: 0.929 MB / 0.5577 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4354, allocations: 7.875 kB / 0.5577 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/0.4354, allocations: 27.98 kB / 0.5577 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.4355, allocations: 12 kB / 0.5577 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.4364, allocations: 411.6 kB / 0.5581 GB, free: 1.773 MB / 426.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.003713/0.4401, allocations: 2.432 MB / 0.5605 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.4409, allocations: 321.9 kB / 0.5608 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.4413, allocations: 144.2 kB / 0.5609 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.4415, allocations: 60.23 kB / 0.561 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.4416, allocations: 41.67 kB / 0.561 GB, free: 14.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 6.502e-06/0.4416, allocations: 3.984 kB / 0.561 GB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001859/0.4434, allocations: 0.6307 MB / 0.5617 GB, free: 14.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.4436, allocations: 132.5 kB / 0.5618 GB, free: 13.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.4448, allocations: 0.5142 MB / 0.5623 GB, free: 13.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.4448, allocations: 33.7 kB / 0.5623 GB, free: 13.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.4452, allocations: 359 kB / 0.5627 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.4453, allocations: 127 kB / 0.5628 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.4456, allocations: 119.8 kB / 0.5629 GB, free: 12.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003803/0.4459, allocations: 0.543 MB / 0.5634 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.4463, allocations: 136.9 kB / 0.5636 GB, free: 12.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.4469, allocations: 408.3 kB / 0.5639 GB, free: 11.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.4477, allocations: 456.1 kB / 0.5644 GB, free: 11.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4477, allocations: 4 kB / 0.5644 GB, free: 11 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001127/0.4488, allocations: 0.5278 MB / 0.5649 GB, free: 10.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4488, allocations: 8 kB / 0.5649 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4489, allocations: 4.438 kB / 0.5649 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.4503, allocations: 207.4 kB / 0.5651 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.4507, allocations: 107.8 kB / 0.5652 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.4515, allocations: 0.8741 MB / 0.5661 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.4519, allocations: 35.72 kB / 0.5661 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.452, allocations: 47.98 kB / 0.5661 GB, free: 9.152 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.0003345/0.4523, allocations: 216.5 kB / 0.5664 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4525, allocations: 63.61 kB / 0.5664 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.4547, allocations: 1.129 MB / 0.5675 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4547, allocations: 4 kB / 0.5675 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4547, allocations: 0 / 0.5675 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4547, allocations: 1.5 kB / 0.5675 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.4565, allocations: 0.9919 MB / 0.5685 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4565, allocations: 0 / 0.5685 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.4567, allocations: 47.97 kB / 0.5685 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/0.4599, allocations: 359.3 kB / 0.5689 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.4599, allocations: 8 kB / 0.5689 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007849/0.4607, allocations: 0.8825 MB / 0.5697 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4607, allocations: 8.031 kB / 0.5698 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.4618, allocations: 0.5625 MB / 0.5703 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4619, allocations: 43.66 kB / 0.5703 GB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.462, allocations: 24.88 kB / 0.5704 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.4623, allocations: 12 kB / 0.5704 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.4624, allocations: 31.89 kB / 0.5704 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.4624, allocations: 19.98 kB / 0.5704 GB, free: 4.598 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005423/0.463, allocations: 371 kB / 0.5708 GB, free: 4.234 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.463, allocations: 4 kB / 0.5708 GB, free: 4.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001212/0.4642, allocations: 350.9 kB / 0.5711 GB, free: 3.887 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.001162/0.4654, allocations: 450.9 kB / 0.5716 GB, free: 3.438 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.4663, allocations: 368.8 kB / 0.5719 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4663, allocations: 0 / 0.5719 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.4667, allocations: 176.5 kB / 0.5721 GB, free: 2.898 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.4683, allocations: 318.9 kB / 0.5724 GB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.47, allocations: 0.8812 MB / 0.5732 GB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4703, allocations: 259.2 kB / 0.5735 GB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00115/0.4715, allocations: 0.5363 MB / 0.574 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.4718, allocations: 88.44 kB / 0.5741 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4718, allocations: 0 / 0.5741 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of Templates: time 0.03271/0.5045, allocations: 16.7 MB / 0.5904 GB, free: 312 kB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0264204419218]