Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0008657/0.0008658, allocations: 172.2 kB / 17.39 MB, free: 4.309 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.289/1.289, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0008123/0.000812, allocations: 86.41 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.869/0.869, allocations: 120.4 MB / 440.6 MB, free: 4.109 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 12 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 79.99 MB / 0.5969 GB, free: 9.145 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5904/0.7156, allocations: 145.9 MB / 0.7395 GB, free: 15.69 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.7158, allocations: 83.56 kB / 0.7396 GB, free: 15.65 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.2441/0.9599, allocations: 104 MB / 0.8411 GB, free: 5.746 MB / 0.589 GB Notification: Performance of FrontEnd: time 1.613e-06/0.96, allocations: 0 / 0.8411 GB, free: 5.746 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0003567/0.9603, allocations: 96 kB / 0.8412 GB, free: 5.652 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.01631/0.9767, allocations: 5.878 MB / 0.847 GB, free: 116 kB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9767, allocations: 12.03 kB / 0.847 GB, free: 104 kB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02496/1.002, allocations: 6.794 MB / 0.8536 GB, free: 9.871 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/1.016, allocations: 7.03 MB / 0.8605 GB, free: 4.445 MB / 0.6046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/1.017, allocations: 352.7 kB / 0.8608 GB, free: 4.223 MB / 0.6046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.019, allocations: 487.2 kB / 0.8613 GB, free: 3.879 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0239/1.043, allocations: 11.97 MB / 0.873 GB, free: 9.855 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003753/1.043, allocations: 71.48 kB / 0.873 GB, free: 9.789 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/1.045, allocations: 222.5 kB / 0.8732 GB, free: 9.695 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/1.046, allocations: 1.071 MB / 0.8743 GB, free: 8.785 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/1.064, allocations: 10.15 MB / 0.8842 GB, free: 1.242 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05292/1.117, allocations: 49.97 MB / 0.933 GB, free: 5.223 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009357/1.127, allocations: 4.975 MB / 0.9379 GB, free: 1.133 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2586/1.385, allocations: 2.84 MB / 0.9406 GB, free: 182.8 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/1.401, allocations: 10.28 MB / 0.9507 GB, free: 181.7 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.401, allocations: 59.23 kB / 0.9507 GB, free: 181.7 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=204): time 5.851e-06/1.401, allocations: 0 / 0.9507 GB, free: 181.7 MB / 0.6671 GB Notification: Performance of matching and sorting (n=235): time 0.05654/1.457, allocations: 26.59 MB / 0.9767 GB, free: 178.5 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/1.457, allocations: 314.3 kB / 0.977 GB, free: 178.1 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005758/1.463, allocations: 4.86 MB / 0.9817 GB, free: 177.7 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0004127/1.464, allocations: 63.92 kB / 0.9818 GB, free: 177.7 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.465, allocations: 3.485 MB / 0.9852 GB, free: 176.2 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/1.466, allocations: 0.8756 MB / 0.9861 GB, free: 175.7 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/1.467, allocations: 123 kB / 0.9862 GB, free: 175.7 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.467, allocations: 0.5724 MB / 0.9867 GB, free: 175.4 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/1.47, allocations: 2.752 MB / 0.9894 GB, free: 174.8 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/1.474, allocations: 6.305 MB / 0.9956 GB, free: 169.3 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008832/1.483, allocations: 9.785 MB / 1.005 GB, free: 162.8 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-05/1.483, allocations: 38.59 kB / 1.005 GB, free: 162.8 MB / 0.6671 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01499/1.498, allocations: 10.52 MB / 1.015 GB, free: 159.5 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/1.499, allocations: 60.06 kB / 1.016 GB, free: 159.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.41e-05/1.499, allocations: 122.1 kB / 1.016 GB, free: 159.5 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/1.502, allocations: 1.824 MB / 1.017 GB, free: 159.2 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/1.506, allocations: 1.429 MB / 1.019 GB, free: 159 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.518, allocations: 11.19 MB / 1.03 GB, free: 154.6 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.523, allocations: 444.5 kB / 1.03 GB, free: 154.5 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.524, allocations: 362.5 kB / 1.03 GB, free: 154.5 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.00499/1.529, allocations: 2.662 MB / 1.033 GB, free: 153.4 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009915/1.53, allocations: 433.2 kB / 1.034 GB, free: 153.1 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008889/1.539, allocations: 5.767 MB / 1.039 GB, free: 151.4 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.598e-05/1.539, allocations: 25.16 kB / 1.039 GB, free: 151.4 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/1.539, allocations: 12.75 kB / 1.039 GB, free: 151.4 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/1.539, allocations: 10.41 kB / 1.039 GB, free: 151.4 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.556, allocations: 12.55 MB / 1.051 GB, free: 141.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.556, allocations: 4 kB / 1.051 GB, free: 141.9 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.558, allocations: 386.2 kB / 1.052 GB, free: 141.6 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/1.561, allocations: 1.666 MB / 1.053 GB, free: 140.5 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.561, allocations: 47.61 kB / 1.053 GB, free: 140.5 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/1.572, allocations: 10.79 MB / 1.064 GB, free: 131.7 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.572, allocations: 0 / 1.064 GB, free: 131.7 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.582, allocations: 9.248 MB / 1.073 GB, free: 123.2 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.584, allocations: 0.8899 MB / 1.074 GB, free: 122.2 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/1.585, allocations: 43.86 kB / 1.074 GB, free: 122.2 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.586, allocations: 215.7 kB / 1.074 GB, free: 122 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.587, allocations: 145.7 kB / 1.074 GB, free: 121.9 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.587, allocations: 67.91 kB / 1.074 GB, free: 121.8 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.003692/1.591, allocations: 3.127 MB / 1.077 GB, free: 118.7 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.9e-07/1.591, allocations: 0 / 1.077 GB, free: 118.7 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.004843/1.596, allocations: 1.266 MB / 1.079 GB, free: 117.4 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.000441/1.596, allocations: 185.3 kB / 1.079 GB, free: 117.2 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.008274/1.604, allocations: 6.649 MB / 1.085 GB, free: 110.6 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.604, allocations: 0 / 1.085 GB, free: 110.6 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/1.608, allocations: 2.644 MB / 1.088 GB, free: 107.9 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005229/1.613, allocations: 0.6378 MB / 1.089 GB, free: 107.3 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.63, allocations: 14.32 MB / 1.103 GB, free: 92.96 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/1.633, allocations: 4.025 MB / 1.106 GB, free: 88.93 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.004938/1.638, allocations: 2.281 MB / 1.109 GB, free: 86.66 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/1.639, allocations: 287.4 kB / 1.109 GB, free: 86.38 MB / 0.6671 GB Notification: Performance of SimCode: time 8.01e-07/1.639, allocations: 0 / 1.109 GB, free: 86.38 MB / 0.6671 GB Notification: Performance of Templates: time 0.07113/1.71, allocations: 52.29 MB / 1.16 GB, free: 34.79 MB / 0.6671 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches