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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 179.7 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008302/0.0008303, allocations: 95.91 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9145/0.9145, allocations: 120.4 MB / 440.6 MB, free: 4.113 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12.22 kB / 0.5188 GB, free: 57.28 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 80 MB / 0.597 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6386/0.7562, allocations: 145.9 MB / 0.7395 GB, free: 15.8 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.7564, allocations: 81.62 kB / 0.7396 GB, free: 15.76 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.2549/1.011, allocations: 104 MB / 0.8411 GB, free: 5.867 MB / 0.589 GB Notification: Performance of FrontEnd: time 2.985e-06/1.011, allocations: 0 / 0.8411 GB, free: 5.867 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0004368/1.012, allocations: 96 kB / 0.8412 GB, free: 5.773 MB / 0.589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1640 * Number of variables: 1640 Notification: Performance of Generate backend data structure: time 0.01876/1.031, allocations: 5.869 MB / 0.847 GB, free: 248 kB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.031, allocations: 8.031 kB / 0.847 GB, free: 240 kB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/1.057, allocations: 6.808 MB / 0.8536 GB, free: 9.992 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.075, allocations: 7.025 MB / 0.8605 GB, free: 4.562 MB / 0.6046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/1.075, allocations: 349.9 kB / 0.8608 GB, free: 4.34 MB / 0.6046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/1.078, allocations: 490.8 kB / 0.8613 GB, free: 3.992 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/1.104, allocations: 11.97 MB / 0.873 GB, free: 9.973 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003809/1.104, allocations: 67.48 kB / 0.873 GB, free: 9.91 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/1.106, allocations: 226.6 kB / 0.8732 GB, free: 9.812 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/1.108, allocations: 1.072 MB / 0.8743 GB, free: 8.902 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/1.128, allocations: 10.16 MB / 0.8842 GB, free: 1.355 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0599/1.188, allocations: 49.97 MB / 0.933 GB, free: 5.34 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009753/1.197, allocations: 4.971 MB / 0.9379 GB, free: 1.25 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2772/1.475, allocations: 2.842 MB / 0.9406 GB, free: 182.8 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/1.49, allocations: 10.27 MB / 0.9507 GB, free: 181.7 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/1.49, allocations: 58.28 kB / 0.9507 GB, free: 181.7 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=204): time 4.85e-06/1.49, allocations: 0 / 0.9507 GB, free: 181.7 MB / 0.6671 GB Notification: Performance of matching and sorting (n=235): time 0.05842/1.549, allocations: 26.6 MB / 0.9767 GB, free: 178.5 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.549, allocations: 308.2 kB / 0.977 GB, free: 178.2 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/1.555, allocations: 4.859 MB / 0.9817 GB, free: 177.8 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/1.556, allocations: 59.73 kB / 0.9818 GB, free: 177.7 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/1.557, allocations: 3.488 MB / 0.9852 GB, free: 176.2 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008107/1.558, allocations: 0.8745 MB / 0.9861 GB, free: 175.7 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/1.558, allocations: 125.8 kB / 0.9862 GB, free: 175.7 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.559, allocations: 0.5702 MB / 0.9867 GB, free: 175.4 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.562, allocations: 2.752 MB / 0.9894 GB, free: 175 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/1.566, allocations: 6.302 MB / 0.9956 GB, free: 169.5 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009022/1.575, allocations: 9.785 MB / 1.005 GB, free: 162.9 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.792e-05/1.576, allocations: 32.75 kB / 1.005 GB, free: 162.9 MB / 0.6671 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.0162/1.592, allocations: 10.53 MB / 1.015 GB, free: 159.6 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 7.359e-05/1.592, allocations: 56.19 kB / 1.016 GB, free: 159.6 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/1.592, allocations: 124.6 kB / 1.016 GB, free: 159.6 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/1.596, allocations: 1.823 MB / 1.017 GB, free: 159.4 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004503/1.6, allocations: 1.427 MB / 1.019 GB, free: 159.2 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.613, allocations: 11.19 MB / 1.03 GB, free: 154.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/1.619, allocations: 439 kB / 1.03 GB, free: 154.7 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.62, allocations: 366 kB / 1.03 GB, free: 154.6 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 39 (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 (734): * Single equations (assignments): 730 * 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 {(2,100.0%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006556/1.627, allocations: 2.662 MB / 1.033 GB, free: 153.5 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.629, allocations: 434.2 kB / 1.034 GB, free: 153.3 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.639, allocations: 5.763 MB / 1.039 GB, free: 151.5 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-05/1.639, allocations: 23.7 kB / 1.039 GB, free: 151.5 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/1.639, allocations: 11.81 kB / 1.039 GB, free: 151.5 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/1.639, allocations: 15.47 kB / 1.039 GB, free: 151.5 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02471/1.664, allocations: 12.54 MB / 1.051 GB, free: 142.2 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/1.664, allocations: 4.016 kB / 1.051 GB, free: 142.2 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.666, allocations: 390.5 kB / 1.052 GB, free: 141.9 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/1.67, allocations: 1.669 MB / 1.053 GB, free: 140.7 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/1.67, allocations: 42.02 kB / 1.053 GB, free: 140.7 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.682, allocations: 10.79 MB / 1.064 GB, free: 131.9 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.682, allocations: 11.78 kB / 1.064 GB, free: 131.9 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.695, allocations: 9.247 MB / 1.073 GB, free: 123.4 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.697, allocations: 0.8899 MB / 1.074 GB, free: 122.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/1.699, allocations: 47.98 kB / 1.074 GB, free: 122.4 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.702, allocations: 211.7 kB / 1.074 GB, free: 122.2 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006183/1.702, allocations: 145.7 kB / 1.074 GB, free: 122.1 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/1.703, allocations: 60 kB / 1.074 GB, free: 122 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.006664/1.709, allocations: 3.124 MB / 1.077 GB, free: 118.9 MB / 0.6671 GB Notification: Performance of sort global known variables: time 4.2e-07/1.709, allocations: 1.531 kB / 1.077 GB, free: 118.9 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.008502/1.718, allocations: 1.266 MB / 1.079 GB, free: 117.7 MB / 0.6671 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 (177): * Single equations (assignments): 173 * 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.0009739/1.719, allocations: 188.6 kB / 1.079 GB, free: 117.5 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.73, allocations: 6.654 MB / 1.085 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.73, allocations: 4 kB / 1.085 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.004213/1.734, allocations: 2.637 MB / 1.088 GB, free: 108.2 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007734/1.742, allocations: 0.6467 MB / 1.089 GB, free: 107.6 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.768, allocations: 14.31 MB / 1.103 GB, free: 93.21 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007933/1.776, allocations: 4.031 MB / 1.106 GB, free: 89.17 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.006786/1.783, allocations: 2.278 MB / 1.109 GB, free: 86.9 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.784, allocations: 287.4 kB / 1.109 GB, free: 86.62 MB / 0.6671 GB Notification: Performance of SimCode: time 1.413e-06/1.784, allocations: 0 / 1.109 GB, free: 86.62 MB / 0.6671 GB Notification: Performance of Templates: time 0.08758/1.872, allocations: 52.29 MB / 1.16 GB, free: 35.03 MB / 0.6671 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