Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001254/0.001254, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001468/0.001468, allocations: 212.4 kB / 25.13 MB, free: 3.605 MB / 14.72 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 1.445/1.445, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.91 MB / 362 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.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.1.0-beta.om_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.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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 75.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3012, allocations: 66.09 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5284/0.8296, allocations: 184.3 MB / 0.7423 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005471/0.835, allocations: 3.678 MB / 0.7459 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.8358, allocations: 23.31 kB / 0.746 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009615/0.8368, allocations: 324.1 kB / 0.7463 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.8413, allocations: 1.756 MB / 0.748 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.843, allocations: 0.7366 MB / 0.7487 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.845, allocations: 1.549 MB / 0.7502 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.8455, allocations: 361.3 kB / 0.7506 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008615/0.8464, allocations: 0.5919 MB / 0.7511 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.8469, allocations: 479.4 kB / 0.7516 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.847, allocations: 52.44 kB / 0.7516 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.8495, allocations: 1.19 MB / 0.7528 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.8496, allocations: 158.3 kB / 0.753 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.85, allocations: 343.6 kB / 0.7533 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.8524, allocations: 1.631 MB / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8524, allocations: 0 / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8524, allocations: 0 / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.8524, allocations: 1.969 kB / 0.7549 GB, free: 1.535 MB / 0.5606 GB 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.001903/0.8543, allocations: 1.034 MB / 0.7559 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.8544, allocations: 9.062 kB / 0.7559 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.8553, allocations: 146.9 kB / 0.756 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.856, allocations: 419.9 kB / 0.7564 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.8561, allocations: 31.81 kB / 0.7565 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.8561, allocations: 44.36 kB / 0.7565 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.8572, allocations: 0.8893 MB / 0.7574 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.8572, allocations: 1.031 kB / 0.7574 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.8573, allocations: 22.59 kB / 0.7574 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8573, allocations: 10.53 kB / 0.7574 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008081/0.8581, allocations: 478 kB / 0.7579 GB, free: 16.23 MB / 0.5762 GB 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.002945/0.861, allocations: 2.603 MB / 0.7604 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.8617, allocations: 327.7 kB / 0.7607 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.8619, allocations: 152.9 kB / 0.7609 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.8622, allocations: 58.05 kB / 0.7609 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.8622, allocations: 37.47 kB / 0.761 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.8622, allocations: 0 / 0.761 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001559/0.8638, allocations: 0.6409 MB / 0.7616 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.8638, allocations: 133.3 kB / 0.7617 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.8643, allocations: 472.5 kB / 0.7622 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.8644, allocations: 30.83 kB / 0.7622 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.8645, allocations: 280.7 kB / 0.7625 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.8646, allocations: 120 kB / 0.7626 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.8647, allocations: 100.1 kB / 0.7627 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8649, allocations: 367 kB / 0.763 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.8652, allocations: 148.5 kB / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.8656, allocations: 361.3 kB / 0.7635 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.8662, allocations: 434.2 kB / 0.7639 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8662, allocations: 7.438 kB / 0.7639 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008962/0.8671, allocations: 0.5348 MB / 0.7644 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.8671, allocations: 10.22 kB / 0.7645 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.8671, allocations: 3.812 kB / 0.7645 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.8686, allocations: 235.1 kB / 0.7647 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.8689, allocations: 111.8 kB / 0.7648 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004835/0.8694, allocations: 0.5914 MB / 0.7654 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.8697, allocations: 48.52 kB / 0.7654 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.8698, allocations: 49.56 kB / 0.7655 GB, free: 12.46 MB / 0.5762 GB 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.0002434/0.87, allocations: 186.3 kB / 0.7656 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8701, allocations: 56.08 kB / 0.7657 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.8718, allocations: 1.078 MB / 0.7667 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8718, allocations: 3.906 kB / 0.7667 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8718, allocations: 6.344 kB / 0.7668 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.8718, allocations: 4.812 kB / 0.7668 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.8732, allocations: 0.9825 MB / 0.7677 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8732, allocations: 0.9375 kB / 0.7677 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.8734, allocations: 52.27 kB / 0.7678 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/0.8763, allocations: 435 kB / 0.7682 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.8764, allocations: 13.44 kB / 0.7682 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004695/0.8768, allocations: 0.598 MB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8768, allocations: 3.938 kB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.8776, allocations: 0.5078 MB / 0.7693 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.8777, allocations: 56.38 kB / 0.7693 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.8778, allocations: 20.86 kB / 0.7694 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.8781, allocations: 14.7 kB / 0.7694 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.8782, allocations: 27.84 kB / 0.7694 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.47e-05/0.8782, allocations: 18.3 kB / 0.7694 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004577/0.8787, allocations: 404.3 kB / 0.7698 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8787, allocations: 1.094 kB / 0.7698 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000978/0.8797, allocations: 344.7 kB / 0.7701 GB, free: 10.88 MB / 0.5762 GB 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.0008443/0.8805, allocations: 437.2 kB / 0.7705 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008028/0.8813, allocations: 358.6 kB / 0.7709 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8813, allocations: 0.9062 kB / 0.7709 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.8816, allocations: 153.4 kB / 0.771 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.8831, allocations: 366 kB / 0.7714 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.8844, allocations: 0.8976 MB / 0.7723 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.8849, allocations: 0.8557 MB / 0.7731 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008852/0.8858, allocations: 0.5536 MB / 0.7736 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.886, allocations: 83.5 kB / 0.7737 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.886, allocations: 4.938 kB / 0.7737 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of Templates: time 0.0281/0.9141, allocations: 17.98 MB / 0.7913 GB, free: 5.285 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.289600114803761]