Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002095/0.002095, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002174/0.002174, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.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.2544/0.2544, allocations: 46.93 MB / 360.8 MB, free: 4.277 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.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 0.4967 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 66.04 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.6098/0.9384, allocations: 186.9 MB / 0.7436 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006054/0.9444, allocations: 3.694 MB / 0.7472 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.9452, allocations: 20.72 kB / 0.7473 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008734/0.9461, allocations: 332.1 kB / 0.7476 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.9503, allocations: 1.763 MB / 0.7493 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.9521, allocations: 0.726 MB / 0.75 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.9539, allocations: 1.553 MB / 0.7515 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.9544, allocations: 369.6 kB / 0.7519 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/0.9554, allocations: 0.5989 MB / 0.7525 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.956, allocations: 485.2 kB / 0.7529 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.776e-05/0.9561, allocations: 52.17 kB / 0.753 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.9598, allocations: 2.422 MB / 0.7553 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.9599, allocations: 160 kB / 0.7555 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.9603, allocations: 347.8 kB / 0.7558 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.9627, allocations: 2 MB / 0.7578 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9627, allocations: 0 / 0.7578 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9627, allocations: 0 / 0.7578 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.9627, allocations: 4.109 kB / 0.7578 GB, free: 1.543 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.001896/0.9646, allocations: 1.043 MB / 0.7588 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.9646, allocations: 10.22 kB / 0.7588 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.9656, allocations: 134.9 kB / 0.7589 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.9664, allocations: 430.6 kB / 0.7594 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.9664, allocations: 31.47 kB / 0.7594 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.9665, allocations: 41.28 kB / 0.7594 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009959/0.9675, allocations: 0.5862 MB / 0.76 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.9675, allocations: 7.25 kB / 0.76 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.9675, allocations: 17.16 kB / 0.76 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.9675, allocations: 16.72 kB / 0.76 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.9684, allocations: 479.1 kB / 0.7605 GB, free: 16.61 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.002975/0.9714, allocations: 2.622 MB / 0.7631 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.972, allocations: 329.2 kB / 0.7634 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.9723, allocations: 153.6 kB / 0.7635 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.9725, allocations: 55.81 kB / 0.7636 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.9726, allocations: 40.78 kB / 0.7636 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.9726, allocations: 4.531 kB / 0.7636 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00154/0.9741, allocations: 0.6511 MB / 0.7642 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.9742, allocations: 135.5 kB / 0.7644 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.9747, allocations: 479.4 kB / 0.7648 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.9747, allocations: 30.08 kB / 0.7649 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.9749, allocations: 288.4 kB / 0.7651 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.975, allocations: 116.5 kB / 0.7652 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.9751, allocations: 104.8 kB / 0.7653 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.9753, allocations: 364.7 kB / 0.7657 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.9756, allocations: 154.4 kB / 0.7658 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.9759, allocations: 280.4 kB / 0.7661 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.9766, allocations: 436.4 kB / 0.7665 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9766, allocations: 0.9375 kB / 0.7665 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000923/0.9775, allocations: 0.5443 MB / 0.7671 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9775, allocations: 9 kB / 0.7671 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9775, allocations: 5.906 kB / 0.7671 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.979, allocations: 234.7 kB / 0.7673 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.9794, allocations: 105.3 kB / 0.7674 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004953/0.9799, allocations: 0.5994 MB / 0.768 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.9803, allocations: 47.92 kB / 0.768 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.9804, allocations: 47.25 kB / 0.7681 GB, free: 12.94 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.0003073/0.9807, allocations: 179.7 kB / 0.7682 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.9808, allocations: 55.5 kB / 0.7683 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.9826, allocations: 1.096 MB / 0.7694 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9826, allocations: 6.453 kB / 0.7694 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9826, allocations: 0 / 0.7694 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.9827, allocations: 0.9375 kB / 0.7694 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.9841, allocations: 0.9888 MB / 0.7703 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.9841, allocations: 0.9688 kB / 0.7703 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.9843, allocations: 51.48 kB / 0.7704 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/0.9875, allocations: 442.5 kB / 0.7708 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.9875, allocations: 11.25 kB / 0.7708 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005261/0.9881, allocations: 0.6115 MB / 0.7714 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9881, allocations: 2.016 kB / 0.7714 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.9889, allocations: 0.5078 MB / 0.7719 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.989, allocations: 60.27 kB / 0.772 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9891, allocations: 15.42 kB / 0.772 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.9894, allocations: 21.19 kB / 0.772 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.9895, allocations: 26.11 kB / 0.772 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.9895, allocations: 18.97 kB / 0.7721 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005047/0.99, allocations: 410.2 kB / 0.7724 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.99, allocations: 4.562 kB / 0.7724 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001072/0.9911, allocations: 334.7 kB / 0.7728 GB, free: 11.36 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.0009344/0.992, allocations: 437.7 kB / 0.7732 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.9929, allocations: 356.5 kB / 0.7735 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9929, allocations: 0 / 0.7735 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.9932, allocations: 158.7 kB / 0.7737 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.9948, allocations: 371.1 kB / 0.774 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.9963, allocations: 0.901 MB / 0.7749 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.9967, allocations: 0.8575 MB / 0.7757 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009375/0.9977, allocations: 0.5571 MB / 0.7763 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.9979, allocations: 90.47 kB / 0.7764 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.9979, allocations: 1.031 kB / 0.7764 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.03065/1.029, allocations: 18.4 MB / 0.7943 GB, free: 4.641 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.768614624161273]