Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001955/0.001955, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00109/0.00109, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9841/0.9841, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.605e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2664/0.2664, allocations: 146.5 MB / 445.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.2733, allocations: 5.859 MB / 451.5 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.274, allocations: 31.75 kB / 451.6 MB, free: 5.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006847/0.2747, allocations: 182.5 kB / 451.7 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.2785, allocations: 1.571 MB / 453.3 MB, free: 3.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2797, allocations: 0.5494 MB / 453.8 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2814, allocations: 1.532 MB / 455.4 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.282, allocations: 377.6 kB / 455.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.2831, allocations: 0.7521 MB / 456.5 MB, free: 364 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1826/0.4657, allocations: 467.4 kB / 457 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.466, allocations: 49.88 kB / 457 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.4688, allocations: 1.152 MB / 458.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.4689, allocations: 170.3 kB / 458.3 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.4693, allocations: 249.3 kB / 458.6 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.4717, allocations: 1.432 MB / 460 MB, free: 5.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4718, allocations: 0.625 kB / 460 MB, free: 5.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4718, allocations: 0.6094 kB / 460 MB, free: 5.535 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.4718, allocations: 2.031 kB / 460 MB, free: 5.535 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.001607/0.4734, allocations: 0.9738 MB / 461 MB, free: 5.008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4734, allocations: 9.406 kB / 461 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.4741, allocations: 225.2 kB / 461.2 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.4746, allocations: 376.4 kB / 461.6 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4747, allocations: 32.62 kB / 461.6 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.4747, allocations: 44.78 kB / 461.6 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.4753, allocations: 0.7475 MB / 462.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4753, allocations: 1.906 kB / 462.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.4753, allocations: 23.03 kB / 462.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4753, allocations: 10.34 kB / 462.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4757, allocations: 212.1 kB / 462.6 MB, free: 4.234 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.001651/0.4773, allocations: 1.592 MB / 464.2 MB, free: 19.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.4776, allocations: 149.9 kB / 464.4 MB, free: 19.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.4777, allocations: 114.8 kB / 464.5 MB, free: 19.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.4781, allocations: 281.2 kB / 464.8 MB, free: 19.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4781, allocations: 36.69 kB / 464.8 MB, free: 19.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.402e-06/0.4781, allocations: 0 / 464.8 MB, free: 19.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006882/0.4788, allocations: 335.9 kB / 465.1 MB, free: 19.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4788, allocations: 140.3 kB / 465.3 MB, free: 18.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.4791, allocations: 358 kB / 465.6 MB, free: 18.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.4791, allocations: 34.8 kB / 465.6 MB, free: 18.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4792, allocations: 241.6 kB / 465.9 MB, free: 18.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.4793, allocations: 124.3 kB / 466 MB, free: 18.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.4794, allocations: 92.27 kB / 466.1 MB, free: 18.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.4795, allocations: 356 kB / 466.4 MB, free: 18.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.4796, allocations: 49.94 kB / 466.5 MB, free: 18.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4797, allocations: 264.6 kB / 466.7 MB, free: 17.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4799, allocations: 246.5 kB / 467 MB, free: 17.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4799, allocations: 1.344 kB / 467 MB, free: 17.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003555/0.4803, allocations: 263.8 kB / 467.2 MB, free: 17.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4803, allocations: 7.812 kB / 467.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4803, allocations: 2.75 kB / 467.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.4809, allocations: 191.2 kB / 467.4 MB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.4812, allocations: 105.9 kB / 467.6 MB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002704/0.4814, allocations: 0.5427 MB / 468.1 MB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.4816, allocations: 44.59 kB / 468.1 MB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.4816, allocations: 38.69 kB / 468.2 MB, free: 17.2 MB / 426.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.0001146/0.4817, allocations: 141.8 kB / 468.3 MB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.4818, allocations: 43.95 kB / 468.4 MB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.4824, allocations: 0.5104 MB / 468.9 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4824, allocations: 4.594 kB / 468.9 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.4824, allocations: 0 / 468.9 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4824, allocations: 0 / 468.9 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.483, allocations: 0.5711 MB / 469.4 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.483, allocations: 0 / 469.4 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4831, allocations: 53.23 kB / 469.5 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009841/0.4841, allocations: 315.8 kB / 469.8 MB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.4841, allocations: 5.219 kB / 469.8 MB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002157/0.4843, allocations: 0.5615 MB / 470.4 MB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4843, allocations: 3.5 kB / 470.4 MB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.4846, allocations: 316.2 kB / 470.7 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.4846, allocations: 47.06 kB / 470.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.4846, allocations: 14.94 kB / 470.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4848, allocations: 14.05 kB / 470.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.4848, allocations: 27.28 kB / 470.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4848, allocations: 20.34 kB / 470.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4849, allocations: 164.3 kB / 471 MB, free: 15.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4849, allocations: 1.203 kB / 471 MB, free: 15.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006916/0.4856, allocations: 337.7 kB / 471.3 MB, free: 15.86 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.0007039/0.4863, allocations: 426.2 kB / 471.7 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.4866, allocations: 196 kB / 471.9 MB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.4866, allocations: 3.5 kB / 471.9 MB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.4867, allocations: 105.3 kB / 472 MB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.4874, allocations: 305.9 kB / 472.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4884, allocations: 0.8422 MB / 473.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.4885, allocations: 125.6 kB / 473.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003803/0.4889, allocations: 163 kB / 473.4 MB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.4894, allocations: 290.7 kB / 473.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4894, allocations: 0 / 473.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of Templates: time 0.01948/0.5088, allocations: 18.38 MB / 492.1 MB, free: 12.49 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7282951562665403]