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.00148/0.00148, allocations: 188.8 kB / 8.136 MB, free: 2.199 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.214/1.214, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.001004/0.001004, allocations: 101.3 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7133/0.7133, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.763e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1499, allocations: 82.84 MB / 0.6091 GB, free: 3.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.596/0.7459, allocations: 145.9 MB / 0.7516 GB, free: 0.5664 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.7461, allocations: 67.66 kB / 0.7517 GB, free: 0.5352 MB / 0.5109 GB Notification: Performance of FrontEnd: time 0.393/1.139, allocations: 141.7 MB / 0.89 GB, free: 9.02 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0006543/1.14, allocations: 151.9 kB / 0.8902 GB, free: 8.871 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.02631/1.166, allocations: 7.753 MB / 0.8977 GB, free: 1.613 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/1.166, allocations: 8.031 kB / 0.8977 GB, free: 1.605 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05566/1.222, allocations: 13.92 MB / 0.9113 GB, free: 5.238 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0306/1.253, allocations: 12 MB / 0.9231 GB, free: 11.69 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/1.253, allocations: 208 kB / 0.9233 GB, free: 11.48 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/1.256, allocations: 411.3 kB / 0.9236 GB, free: 11.09 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01966/1.276, allocations: 10.73 MB / 0.9341 GB, free: 3.621 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3343/1.61, allocations: 15.05 MB / 0.9488 GB, free: 104.6 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000387/1.611, allocations: 102.7 kB / 0.9489 GB, free: 104.6 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001684/1.612, allocations: 34.19 kB / 0.949 GB, free: 104.6 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001922/1.614, allocations: 1.582 MB / 0.9505 GB, free: 104.6 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07858/1.693, allocations: 70.11 MB / 1.019 GB, free: 70.3 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007888/1.701, allocations: 7.113 MB / 1.026 GB, free: 69.64 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006008/1.707, allocations: 5.763 MB / 1.032 GB, free: 69.59 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02445/1.731, allocations: 14.69 MB / 1.046 GB, free: 67.21 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/1.731, allocations: 72.89 kB / 1.046 GB, free: 67.16 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=313): time 7.223e-06/1.731, allocations: 0 / 1.046 GB, free: 67.16 MB / 0.6671 GB Notification: Performance of matching and sorting (n=401): time 0.1156/1.847, allocations: 49.67 MB / 1.094 GB, free: 56.04 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.847, allocations: 432 kB / 1.095 GB, free: 55.54 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009428/1.857, allocations: 5.362 MB / 1.1 GB, free: 52.24 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.858, allocations: 28.89 kB / 1.1 GB, free: 52.21 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/1.86, allocations: 3.909 MB / 1.104 GB, free: 49.38 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.863, allocations: 1.409 MB / 1.105 GB, free: 48.29 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/1.864, allocations: 4 kB / 1.105 GB, free: 48.29 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.000427/1.864, allocations: 0.6654 MB / 1.106 GB, free: 47.84 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007083/1.871, allocations: 5.161 MB / 1.111 GB, free: 44.91 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009365/1.881, allocations: 9.416 MB / 1.12 GB, free: 36.01 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009927/1.891, allocations: 7.121 MB / 1.127 GB, free: 30.35 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.891, allocations: 44 kB / 1.127 GB, free: 30.3 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.03429/1.925, allocations: 18.01 MB / 1.145 GB, free: 15.83 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.925, allocations: 8.031 kB / 1.145 GB, free: 15.82 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/1.925, allocations: 148 kB / 1.145 GB, free: 15.68 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/1.94, allocations: 4.96 MB / 1.15 GB, free: 12.11 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007502/1.947, allocations: 1.86 MB / 1.152 GB, free: 10.52 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03797/1.985, allocations: 25.57 MB / 1.177 GB, free: 1.262 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008424/1.994, allocations: 431.1 kB / 1.177 GB, free: 0.8398 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002428/1.996, allocations: 475.9 kB / 1.177 GB, free: 384 kB / 0.6828 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.003631/2, allocations: 0.5049 MB / 1.178 GB, free: 15.86 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/2.002, allocations: 0.5661 MB / 1.179 GB, free: 15.29 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03007/2.032, allocations: 13.46 MB / 1.192 GB, free: 1.801 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/2.032, allocations: 36 kB / 1.192 GB, free: 1.766 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/2.032, allocations: 20 kB / 1.192 GB, free: 1.746 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/2.032, allocations: 23.58 kB / 1.192 GB, free: 1.727 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2935/2.326, allocations: 25.22 MB / 1.216 GB, free: 262.8 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/2.326, allocations: 3.281 kB / 1.216 GB, free: 262.8 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003663/2.33, allocations: 0.5916 MB / 1.217 GB, free: 262.8 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01282/2.343, allocations: 4.786 MB / 1.222 GB, free: 262.7 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001293/2.344, allocations: 22.77 kB / 1.222 GB, free: 262.7 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03325/2.377, allocations: 25.07 MB / 1.246 GB, free: 261.4 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/2.377, allocations: 3.344 kB / 1.246 GB, free: 261.4 MB / 0.714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03137/2.409, allocations: 20.87 MB / 1.266 GB, free: 260.3 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/2.411, allocations: 0.5978 MB / 1.267 GB, free: 260.2 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002529/2.413, allocations: 14.31 kB / 1.267 GB, free: 260.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005322/2.419, allocations: 272.4 kB / 1.267 GB, free: 260.2 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/2.42, allocations: 185.4 kB / 1.268 GB, free: 260.2 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005454/2.421, allocations: 103.2 kB / 1.268 GB, free: 260.2 MB / 0.714 GB Notification: Performance of sort global known variables: time 0.007014/2.428, allocations: 3.829 MB / 1.271 GB, free: 260 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.01114/2.439, allocations: 1.771 MB / 1.273 GB, free: 260 MB / 0.714 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.001121/2.44, allocations: 176.1 kB / 1.273 GB, free: 259.9 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01905/2.459, allocations: 12.41 MB / 1.285 GB, free: 258.4 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.459, allocations: 0 / 1.285 GB, free: 258.4 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.469, allocations: 5.801 MB / 1.291 GB, free: 256.7 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/2.475, allocations: 0.7968 MB / 1.292 GB, free: 256.4 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03847/2.514, allocations: 17.86 MB / 1.309 GB, free: 245.1 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01046/2.524, allocations: 6.115 MB / 1.315 GB, free: 240.5 MB / 0.714 GB Notification: Performance of SimCode: time 1.062e-06/2.524, allocations: 0 / 1.315 GB, free: 240.5 MB / 0.714 GB Notification: Performance of Templates: time 0.1412/2.666, allocations: 97.47 MB / 1.41 GB, free: 158.4 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/jenkins/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