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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000972/0.0009721, allocations: 191.3 kB / 8.136 MB, free: 2.133 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.135/1.135, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009803/0.0009803, allocations: 103.8 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6385/0.6385, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.199e-06/5.22e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 82.85 MB / 0.6091 GB, free: 3.59 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6466/0.7572, allocations: 145.9 MB / 0.7516 GB, free: 488 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.7576, allocations: 78.95 kB / 0.7517 GB, free: 448 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.3392/1.097, allocations: 141.7 MB / 0.89 GB, free: 8.934 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0003083/1.097, allocations: 147.9 kB / 0.8902 GB, free: 8.789 MB / 0.6359 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.01527/1.112, allocations: 7.764 MB / 0.8977 GB, free: 1.516 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/1.112, allocations: 8.031 kB / 0.8977 GB, free: 1.508 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04869/1.161, allocations: 13.92 MB / 0.9113 GB, free: 5.156 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0299/1.191, allocations: 12 MB / 0.9231 GB, free: 11.61 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/1.191, allocations: 208 kB / 0.9233 GB, free: 11.4 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/1.193, allocations: 407.4 kB / 0.9236 GB, free: 11.01 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01653/1.209, allocations: 10.73 MB / 0.9341 GB, free: 3.543 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2075/1.417, allocations: 15.05 MB / 0.9488 GB, free: 230.1 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002346/1.417, allocations: 110.5 kB / 0.9489 GB, free: 230.1 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006897/1.418, allocations: 32.53 kB / 0.949 GB, free: 230.1 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/1.419, allocations: 1.578 MB / 0.9505 GB, free: 230.1 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05805/1.478, allocations: 70.11 MB / 1.019 GB, free: 195.8 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006374/1.484, allocations: 7.118 MB / 1.026 GB, free: 194.1 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004778/1.489, allocations: 5.76 MB / 1.032 GB, free: 192.1 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01802/1.507, allocations: 14.7 MB / 1.046 GB, free: 186.1 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/1.507, allocations: 63.8 kB / 1.046 GB, free: 186.1 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=313): time 5.33e-06/1.507, allocations: 0 / 1.046 GB, free: 186.1 MB / 0.6671 GB Notification: Performance of matching and sorting (n=401): time 0.08818/1.595, allocations: 49.67 MB / 1.094 GB, free: 155.8 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.595, allocations: 427.8 kB / 1.095 GB, free: 155.3 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006607/1.602, allocations: 5.355 MB / 1.1 GB, free: 150.7 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0007001/1.603, allocations: 29.7 kB / 1.1 GB, free: 150.7 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.604, allocations: 3.914 MB / 1.104 GB, free: 147.4 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.605, allocations: 1.407 MB / 1.105 GB, free: 146.1 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/1.606, allocations: 0 / 1.105 GB, free: 146.1 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0003059/1.606, allocations: 0.6739 MB / 1.106 GB, free: 145.5 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00515/1.611, allocations: 5.163 MB / 1.111 GB, free: 141.1 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00646/1.618, allocations: 9.413 MB / 1.12 GB, free: 130.8 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007606/1.625, allocations: 7.12 MB / 1.127 GB, free: 125.1 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.212e-05/1.625, allocations: 44 kB / 1.127 GB, free: 125.1 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.02717/1.652, allocations: 18.01 MB / 1.145 GB, free: 109.9 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.653, allocations: 4 kB / 1.145 GB, free: 109.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-05/1.653, allocations: 151.2 kB / 1.145 GB, free: 109.8 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/1.664, allocations: 4.967 MB / 1.15 GB, free: 104.8 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006682/1.671, allocations: 1.86 MB / 1.152 GB, free: 103 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/1.701, allocations: 25.57 MB / 1.177 GB, free: 77.28 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007031/1.709, allocations: 427.2 kB / 1.177 GB, free: 76.86 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.71, allocations: 467.9 kB / 1.177 GB, free: 76.41 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * 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 (956): * Single equations (assignments): 952 * 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%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002374/1.713, allocations: 0.5063 MB / 1.178 GB, free: 75.89 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.714, allocations: 0.5632 MB / 1.178 GB, free: 75.32 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02236/1.737, allocations: 13.47 MB / 1.192 GB, free: 61.83 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-05/1.737, allocations: 40 kB / 1.192 GB, free: 61.79 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.694e-05/1.737, allocations: 20 kB / 1.192 GB, free: 61.77 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/1.737, allocations: 27.62 kB / 1.192 GB, free: 61.75 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04007/1.777, allocations: 25.22 MB / 1.216 GB, free: 36.44 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.777, allocations: 7.984 kB / 1.216 GB, free: 36.43 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00299/1.78, allocations: 0.5812 MB / 1.217 GB, free: 35.85 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01134/1.791, allocations: 4.794 MB / 1.222 GB, free: 31.05 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/1.792, allocations: 15.98 kB / 1.222 GB, free: 31.03 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03007/1.822, allocations: 25.07 MB / 1.246 GB, free: 5.852 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.822, allocations: 4 kB / 1.246 GB, free: 5.848 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.197/2.019, allocations: 20.87 MB / 1.266 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/2.02, allocations: 0.5988 MB / 1.267 GB, free: 215.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/2.022, allocations: 12.64 kB / 1.267 GB, free: 215.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/2.025, allocations: 268.2 kB / 1.267 GB, free: 215.8 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000567/2.025, allocations: 188.7 kB / 1.268 GB, free: 215.8 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/2.026, allocations: 100.1 kB / 1.268 GB, free: 215.8 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.004692/2.03, allocations: 3.824 MB / 1.271 GB, free: 215.6 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.005882/2.036, allocations: 1.775 MB / 1.273 GB, free: 215.6 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (286): * Single equations (assignments): 282 * 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 {(14,57.7%) 86} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/2.037, allocations: 172.5 kB / 1.273 GB, free: 215.5 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01444/2.051, allocations: 12.42 MB / 1.285 GB, free: 215.3 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/2.051, allocations: 1.938 kB / 1.285 GB, free: 215.3 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.007662/2.059, allocations: 5.792 MB / 1.291 GB, free: 215.2 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/2.063, allocations: 0.8031 MB / 1.292 GB, free: 215.1 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/2.09, allocations: 17.88 MB / 1.309 GB, free: 212.7 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006809/2.097, allocations: 6.108 MB / 1.315 GB, free: 211.9 MB / 0.6671 GB Notification: Performance of SimCode: time 6.51e-07/2.097, allocations: 7.375 kB / 1.315 GB, free: 211.9 MB / 0.6671 GB Notification: Performance of Templates: time 0.1293/2.226, allocations: 97.47 MB / 1.41 GB, free: 150.3 MB / 0.6671 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