Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.00137/0.00137, allocations: 70.11 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001525/0.001525, allocations: 157.8 kB / 24.49 MB, free: 3.723 MB / 14.72 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.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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.2395/0.2395, allocations: 34.27 MB / 295.5 MB, free: 14.58 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+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.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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.89 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3331, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2038/0.5369, allocations: 161.7 MB / 0.6552 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007543/0.5444, allocations: 3.398 MB / 0.6585 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.5451, allocations: 27.81 kB / 0.6585 GB, free: 68 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.5461, allocations: 310 kB / 0.6588 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.5508, allocations: 1.747 MB / 0.6605 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5528, allocations: 0.7252 MB / 0.6612 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.5549, allocations: 1.536 MB / 0.6627 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.5554, allocations: 363.8 kB / 0.6631 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009315/0.5564, allocations: 0.5995 MB / 0.6636 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.557, allocations: 462 kB / 0.6641 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.5571, allocations: 48 kB / 0.6641 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.5599, allocations: 1.137 MB / 0.6652 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.5601, allocations: 159.5 kB / 0.6654 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.5604, allocations: 294.8 kB / 0.6657 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.5629, allocations: 1.628 MB / 0.6673 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5629, allocations: 0 / 0.6673 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5629, allocations: 0 / 0.6673 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.5629, allocations: 0 / 0.6673 GB, free: 7.074 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.001991/0.5649, allocations: 1.029 MB / 0.6683 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5649, allocations: 8.031 kB / 0.6683 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.566, allocations: 155.5 kB / 0.6684 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.5668, allocations: 413.6 kB / 0.6688 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.5669, allocations: 36.94 kB / 0.6689 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.5669, allocations: 36 kB / 0.6689 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.5682, allocations: 0.8879 MB / 0.6698 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5682, allocations: 11.88 kB / 0.6698 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.5683, allocations: 20 kB / 0.6698 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5683, allocations: 12 kB / 0.6698 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.5693, allocations: 475.6 kB / 0.6703 GB, free: 3.844 MB / 0.5606 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.002769/0.5721, allocations: 1.873 MB / 0.6721 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.5728, allocations: 319.5 kB / 0.6724 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.5731, allocations: 149.3 kB / 0.6725 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.5734, allocations: 52.23 kB / 0.6726 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5734, allocations: 42.78 kB / 0.6726 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.5734, allocations: 0 / 0.6726 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001762/0.5752, allocations: 0.6367 MB / 0.6732 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.5752, allocations: 132.5 kB / 0.6734 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.5757, allocations: 397.9 kB / 0.6737 GB, free: 136 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.5757, allocations: 29.7 kB / 0.6738 GB, free: 100 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.576, allocations: 292.4 kB / 0.6741 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5761, allocations: 126.9 kB / 0.6742 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.5763, allocations: 106.1 kB / 0.6743 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5764, allocations: 354.8 kB / 0.6746 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.5768, allocations: 144.9 kB / 0.6748 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.5772, allocations: 353.5 kB / 0.6751 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.578, allocations: 440.7 kB / 0.6755 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.578, allocations: 4 kB / 0.6755 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001058/0.5791, allocations: 0.525 MB / 0.676 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.5791, allocations: 13.47 kB / 0.676 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5791, allocations: 11.98 kB / 0.676 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.5807, allocations: 244.5 kB / 0.6763 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.5811, allocations: 103.9 kB / 0.6764 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005176/0.5816, allocations: 0.5836 MB / 0.677 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.5819, allocations: 39.72 kB / 0.677 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.582, allocations: 47.98 kB / 0.677 GB, free: 12.58 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.0002529/0.5823, allocations: 186.3 kB / 0.6772 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5824, allocations: 51.78 kB / 0.6773 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.5844, allocations: 1.088 MB / 0.6783 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5844, allocations: 4 kB / 0.6783 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5844, allocations: 0 / 0.6783 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5844, allocations: 3.984 kB / 0.6783 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.5858, allocations: 0.8505 MB / 0.6792 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5858, allocations: 0 / 0.6792 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.586, allocations: 51.91 kB / 0.6792 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/0.5893, allocations: 436.4 kB / 0.6796 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.5894, allocations: 15.92 kB / 0.6796 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005036/0.5899, allocations: 0.607 MB / 0.6802 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5899, allocations: 0 / 0.6802 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.5907, allocations: 0.4963 MB / 0.6807 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.5908, allocations: 47.59 kB / 0.6808 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.5909, allocations: 19.88 kB / 0.6808 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.5912, allocations: 15.98 kB / 0.6808 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.5912, allocations: 23.97 kB / 0.6808 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.5913, allocations: 19.98 kB / 0.6808 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003944/0.5917, allocations: 315.1 kB / 0.6811 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5917, allocations: 0 / 0.6811 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001008/0.5927, allocations: 362.8 kB / 0.6815 GB, free: 7.863 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.000897/0.5936, allocations: 437.8 kB / 0.6819 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008906/0.5945, allocations: 359.8 kB / 0.6823 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5945, allocations: 0 / 0.6823 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.5948, allocations: 153.4 kB / 0.6824 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.5962, allocations: 299 kB / 0.6827 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.5977, allocations: 0.8864 MB / 0.6835 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.598, allocations: 258.9 kB / 0.6838 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001001/0.599, allocations: 0.5405 MB / 0.6843 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.5992, allocations: 80.45 kB / 0.6844 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5992, allocations: 0 / 0.6844 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.2632/0.8624, allocations: 16.19 MB / 0.7002 GB, free: 166.4 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.040733844041824]