Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.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_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 175.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008752, allocations: 86.48 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9643/0.9643, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.627e-05, allocations: 4 kB / 0.5288 GB, free: 1.297 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.549, allocations: 82.84 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7463/1.295, allocations: 146 MB / 0.7522 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.296, allocations: 81.41 kB / 0.7523 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3268/1.622, allocations: 144.2 MB / 0.8931 GB, free: 12.05 MB / 0.5578 GB Notification: Performance of FrontEnd: time 2.365e-06/1.622, allocations: 4 kB / 0.8931 GB, free: 12.05 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0006014/1.623, allocations: 144 kB / 0.8932 GB, free: 11.91 MB / 0.5578 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.02605/1.649, allocations: 8.261 MB / 0.9013 GB, free: 3.566 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.649, allocations: 8.031 kB / 0.9013 GB, free: 3.559 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05751/1.707, allocations: 14.58 MB / 0.9156 GB, free: 4.945 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02927/1.736, allocations: 11.86 MB / 0.9271 GB, free: 9.004 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/1.736, allocations: 208 kB / 0.9273 GB, free: 8.801 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/1.74, allocations: 403.7 kB / 0.9277 GB, free: 8.406 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02001/1.76, allocations: 10.18 MB / 0.9377 GB, free: 14.21 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/1.789, allocations: 14.52 MB / 0.9518 GB, free: 14.53 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004614/1.789, allocations: 99.11 kB / 0.9519 GB, free: 14.43 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001926/1.791, allocations: 39.95 kB / 0.952 GB, free: 14.39 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002196/1.794, allocations: 1.429 MB / 0.9534 GB, free: 12.96 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4258/2.219, allocations: 66.59 MB / 1.018 GB, free: 113.5 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/2.227, allocations: 6.761 MB / 1.025 GB, free: 112.8 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004734/2.231, allocations: 4.996 MB / 1.03 GB, free: 112.7 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003542/2.232, allocations: 264.5 kB / 1.03 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/2.232, allocations: 76.19 kB / 1.03 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=328): time 5.771e-06/2.232, allocations: 0 / 1.03 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of matching and sorting (n=412): time 0.08717/2.319, allocations: 50.39 MB / 1.079 GB, free: 106.4 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/2.319, allocations: 435.5 kB / 1.08 GB, free: 105.9 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007761/2.327, allocations: 5.2 MB / 1.085 GB, free: 104.2 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0008429/2.328, allocations: 25.7 kB / 1.085 GB, free: 104.2 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.002677/2.331, allocations: 4.59 MB / 1.089 GB, free: 101.2 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/2.332, allocations: 1.441 MB / 1.091 GB, free: 100.1 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/2.332, allocations: 3.125 kB / 1.091 GB, free: 100.1 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.000331/2.333, allocations: 0.6674 MB / 1.091 GB, free: 99.68 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/2.338, allocations: 4.915 MB / 1.096 GB, free: 98.23 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/2.344, allocations: 9.144 MB / 1.105 GB, free: 89.08 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/2.351, allocations: 6.789 MB / 1.112 GB, free: 83.88 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-05/2.351, allocations: 40 kB / 1.112 GB, free: 83.84 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1085) (initialization): time 0.02634/2.378, allocations: 18.01 MB / 1.129 GB, free: 70.2 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/2.378, allocations: 68 kB / 1.13 GB, free: 70.14 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/2.378, allocations: 144 kB / 1.13 GB, free: 70 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/2.389, allocations: 5.291 MB / 1.135 GB, free: 66.41 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006089/2.395, allocations: 1.939 MB / 1.137 GB, free: 64.79 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/2.426, allocations: 26.78 MB / 1.163 GB, free: 42.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007188/2.433, allocations: 0.5886 MB / 1.163 GB, free: 41.91 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/2.435, allocations: 475.1 kB / 1.164 GB, free: 41.45 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 59 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[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[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (959): * Single equations (assignments): 955 * 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 {(10,71.0%) 93} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001356/2.436, allocations: 0.5122 MB / 1.164 GB, free: 40.94 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009589/2.437, allocations: 0.567 MB / 1.165 GB, free: 40.36 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02099/2.458, allocations: 13.53 MB / 1.178 GB, free: 26.81 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.355e-05/2.458, allocations: 45.17 kB / 1.178 GB, free: 26.77 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/2.458, allocations: 16 kB / 1.178 GB, free: 26.75 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.379e-05/2.458, allocations: 23.92 kB / 1.178 GB, free: 26.73 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03755/2.496, allocations: 25.38 MB / 1.203 GB, free: 1.238 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/2.496, allocations: 4 kB / 1.203 GB, free: 1.234 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/2.499, allocations: 0.6708 MB / 1.204 GB, free: 0.5625 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/2.511, allocations: 5.023 MB / 1.209 GB, free: 11.56 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005586/2.512, allocations: 15.98 kB / 1.209 GB, free: 11.54 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03739/2.549, allocations: 26.02 MB / 1.234 GB, free: 1.449 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.549, allocations: 4 kB / 1.234 GB, free: 1.445 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03244/2.581, allocations: 20.76 MB / 1.254 GB, free: 12.41 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.583, allocations: 0.5952 MB / 1.255 GB, free: 11.79 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009661/2.584, allocations: 15.98 kB / 1.255 GB, free: 11.77 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/2.587, allocations: 448.8 kB / 1.255 GB, free: 11.33 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/2.588, allocations: 262.2 kB / 1.256 GB, free: 11.08 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/2.589, allocations: 104 kB / 1.256 GB, free: 10.98 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.006033/2.595, allocations: 3.702 MB / 1.259 GB, free: 7.277 MB / 0.714 GB Notification: Performance of sort global known variables: time 2.8e-07/2.595, allocations: 0 / 1.259 GB, free: 7.277 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.008108/2.603, allocations: 1.818 MB / 1.261 GB, free: 5.465 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 293 * 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 {(11,68.6%) 89} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007345/2.604, allocations: 173.5 kB / 1.261 GB, free: 5.301 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.3463/2.95, allocations: 12.02 MB / 1.273 GB, free: 195.1 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/2.95, allocations: 2.969 kB / 1.273 GB, free: 195.1 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.008874/2.959, allocations: 5.749 MB / 1.279 GB, free: 194.9 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/2.964, allocations: 0.8455 MB / 1.279 GB, free: 194.8 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/2.992, allocations: 17.36 MB / 1.296 GB, free: 192.3 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005876/2.998, allocations: 5.782 MB / 1.302 GB, free: 191.4 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.007838/3.005, allocations: 3.651 MB / 1.306 GB, free: 191.3 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/3.007, allocations: 385.4 kB / 1.306 GB, free: 191.3 MB / 0.714 GB Notification: Performance of SimCode: time 1.062e-06/3.007, allocations: 2.516 kB / 1.306 GB, free: 191.3 MB / 0.714 GB Notification: Performance of Templates: time 0.1258/3.133, allocations: 89.42 MB / 1.393 GB, free: 149.6 MB / 0.714 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches