Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 87.77 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9501/0.9501, allocations: 120.5 MB / 463 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 82.85 MB / 0.6242 GB, free: 9.191 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9124/1.087, allocations: 146.7 MB / 0.7675 GB, free: 3.535 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.087, allocations: 75.22 kB / 0.7676 GB, free: 3.496 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.2872/1.374, allocations: 104.9 MB / 0.87 GB, free: 8.734 MB / 0.62 GB Notification: Performance of FrontEnd: time 3.827e-06/1.374, allocations: 0 / 0.87 GB, free: 8.734 MB / 0.62 GB Notification: Performance of Transformations before backend: time 0.0005185/1.375, allocations: 103.9 kB / 0.8701 GB, free: 8.633 MB / 0.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.02315/1.398, allocations: 5.903 MB / 0.8759 GB, free: 3.07 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/1.398, allocations: 8.031 kB / 0.8759 GB, free: 3.062 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03655/1.435, allocations: 9.225 MB / 0.8849 GB, free: 10.78 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02441/1.459, allocations: 7.75 MB / 0.8925 GB, free: 4.539 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/1.46, allocations: 344.7 kB / 0.8928 GB, free: 4.32 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003573/1.463, allocations: 475.4 kB / 0.8932 GB, free: 3.984 MB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/1.498, allocations: 11.74 MB / 0.9047 GB, free: 10.13 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005926/1.499, allocations: 74.3 kB / 0.9048 GB, free: 10.06 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002956/1.502, allocations: 218.8 kB / 0.905 GB, free: 9.969 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002257/1.504, allocations: 1.028 MB / 0.906 GB, free: 9.086 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/1.528, allocations: 9.981 MB / 0.9157 GB, free: 1.656 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8789/2.407, allocations: 48.86 MB / 0.9634 GB, free: 155.6 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/2.418, allocations: 4.826 MB / 0.9682 GB, free: 154.9 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01976/2.438, allocations: 9.793 MB / 0.9777 GB, free: 153.9 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/2.438, allocations: 53.86 kB / 0.9778 GB, free: 153.8 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=186): time 4.148e-06/2.438, allocations: 3.75 kB / 0.9778 GB, free: 153.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=217): time 0.05364/2.492, allocations: 25.79 MB / 1.003 GB, free: 150.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/2.492, allocations: 311.6 kB / 1.003 GB, free: 149.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/2.498, allocations: 4.232 MB / 1.007 GB, free: 149.4 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0004356/2.499, allocations: 56.36 kB / 1.007 GB, free: 149.4 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002015/2.501, allocations: 3.422 MB / 1.011 GB, free: 147.9 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.000827/2.502, allocations: 0.8147 MB / 1.012 GB, free: 147.4 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/2.502, allocations: 119.4 kB / 1.012 GB, free: 147.4 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002732/2.502, allocations: 0.5609 MB / 1.012 GB, free: 147.1 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/2.505, allocations: 2.617 MB / 1.015 GB, free: 147.1 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004723/2.51, allocations: 6.073 MB / 1.021 GB, free: 142.5 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/2.514, allocations: 3.961 MB / 1.025 GB, free: 141.3 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/2.515, allocations: 34.44 kB / 1.025 GB, free: 141.3 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01591/2.53, allocations: 10.15 MB / 1.035 GB, free: 138.7 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 8.144e-05/2.531, allocations: 64.19 kB / 1.035 GB, free: 138.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/2.531, allocations: 124.3 kB / 1.035 GB, free: 138.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/2.535, allocations: 1.862 MB / 1.037 GB, free: 138.5 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/2.539, allocations: 1.365 MB / 1.038 GB, free: 138.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/2.552, allocations: 11.51 MB / 1.049 GB, free: 133.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/2.558, allocations: 418.5 kB / 1.05 GB, free: 133.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/2.559, allocations: 354.3 kB / 1.05 GB, free: 133.7 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (706): * Single equations (assignments): 702 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004793/2.563, allocations: 2.604 MB / 1.052 GB, free: 132.6 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009747/2.564, allocations: 415.8 kB / 1.053 GB, free: 132.4 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008665/2.573, allocations: 5.441 MB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/2.573, allocations: 25.95 kB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/2.573, allocations: 8 kB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/2.573, allocations: 11.2 kB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02229/2.596, allocations: 11.94 MB / 1.07 GB, free: 119.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/2.596, allocations: 4 kB / 1.07 GB, free: 119.8 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/2.597, allocations: 349.5 kB / 1.07 GB, free: 119.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/2.601, allocations: 1.665 MB / 1.072 GB, free: 118.4 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/2.601, allocations: 43.94 kB / 1.072 GB, free: 118.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/2.614, allocations: 11.15 MB / 1.083 GB, free: 109.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.614, allocations: 4 kB / 1.083 GB, free: 109.3 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/2.626, allocations: 9.083 MB / 1.092 GB, free: 101.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/2.628, allocations: 467.6 kB / 1.092 GB, free: 101 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007253/2.629, allocations: 43.95 kB / 1.092 GB, free: 101 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/2.63, allocations: 203.7 kB / 1.092 GB, free: 100.8 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/2.631, allocations: 133 kB / 1.092 GB, free: 100.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/2.631, allocations: 57.16 kB / 1.092 GB, free: 100.6 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.004604/2.636, allocations: 3.05 MB / 1.095 GB, free: 97.58 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.2e-07/2.636, allocations: 0 / 1.095 GB, free: 97.58 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.007113/2.643, allocations: 1.219 MB / 1.097 GB, free: 96.37 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * 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 (158): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006294/2.643, allocations: 196.2 kB / 1.097 GB, free: 96.18 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.009141/2.653, allocations: 6.33 MB / 1.103 GB, free: 89.9 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/2.653, allocations: 0 / 1.103 GB, free: 89.9 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/2.656, allocations: 2.483 MB / 1.105 GB, free: 87.41 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/2.66, allocations: 0.6144 MB / 1.106 GB, free: 86.82 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/2.681, allocations: 13.79 MB / 1.119 GB, free: 73.14 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/2.685, allocations: 4.038 MB / 1.123 GB, free: 69.1 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.005033/2.69, allocations: 2.199 MB / 1.126 GB, free: 66.91 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000864/2.691, allocations: 271.4 kB / 1.126 GB, free: 66.64 MB / 0.6828 GB Notification: Performance of SimCode: time 1.232e-06/2.691, allocations: 0 / 1.126 GB, free: 66.64 MB / 0.6828 GB Notification: Performance of Templates: time 0.08142/2.772, allocations: 50.65 MB / 1.175 GB, free: 17.04 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches