Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009323/0.0009323, allocations: 186.1 kB / 8.136 MB, free: 2.195 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.088/1.088, 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.0009579/0.000958, allocations: 103.5 kB / 280.8 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6432/0.6432, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.982e-06/6.001e-06, allocations: 4 kB / 0.5282 GB, free: 52.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 82.84 MB / 0.6091 GB, free: 3.566 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6014, allocations: 145.9 MB / 0.7516 GB, free: 0.5664 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.6016, allocations: 69.81 kB / 0.7517 GB, free: 0.5352 MB / 0.5109 GB Notification: Performance of FrontEnd: time 0.3403/0.9419, allocations: 141.7 MB / 0.89 GB, free: 9.02 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0003299/0.9422, allocations: 140 kB / 0.8902 GB, free: 8.883 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.01816/0.9604, allocations: 7.763 MB / 0.8977 GB, free: 1.617 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9604, allocations: 8.031 kB / 0.8977 GB, free: 1.609 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05114/1.012, allocations: 13.91 MB / 0.9113 GB, free: 5.262 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/1.038, allocations: 12.01 MB / 0.9231 GB, free: 11.7 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/1.038, allocations: 212 kB / 0.9233 GB, free: 11.49 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/1.039, allocations: 411 kB / 0.9237 GB, free: 11.1 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01461/1.054, allocations: 10.73 MB / 0.9341 GB, free: 3.629 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1822/1.236, allocations: 15.05 MB / 0.9488 GB, free: 229.7 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/1.237, allocations: 105.9 kB / 0.9489 GB, free: 229.7 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008661/1.237, allocations: 34.34 kB / 0.949 GB, free: 229.7 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/1.239, allocations: 1.582 MB / 0.9505 GB, free: 229.7 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05963/1.299, allocations: 70.11 MB / 1.019 GB, free: 195.4 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006492/1.305, allocations: 7.118 MB / 1.026 GB, free: 193.9 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004908/1.31, allocations: 5.765 MB / 1.032 GB, free: 191.9 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/1.329, allocations: 14.69 MB / 1.046 GB, free: 185.9 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.329, allocations: 72.69 kB / 1.046 GB, free: 185.9 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=313): time 5.661e-06/1.329, allocations: 0 / 1.046 GB, free: 185.9 MB / 0.6671 GB Notification: Performance of matching and sorting (n=401): time 0.08658/1.415, allocations: 49.67 MB / 1.094 GB, free: 155.9 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/1.415, allocations: 432.1 kB / 1.095 GB, free: 155.4 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005984/1.421, allocations: 5.356 MB / 1.1 GB, free: 150.9 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0004258/1.422, allocations: 29.48 kB / 1.1 GB, free: 150.8 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.423, allocations: 3.917 MB / 1.104 GB, free: 147.5 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.424, allocations: 1.403 MB / 1.105 GB, free: 146.2 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/1.425, allocations: 0 / 1.105 GB, free: 146.2 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0004265/1.425, allocations: 0.6731 MB / 1.106 GB, free: 145.6 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006286/1.431, allocations: 5.163 MB / 1.111 GB, free: 141.3 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008274/1.44, allocations: 9.414 MB / 1.12 GB, free: 130.9 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/1.448, allocations: 7.119 MB / 1.127 GB, free: 125.2 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.904e-05/1.448, allocations: 40 kB / 1.127 GB, free: 125.2 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.02699/1.475, allocations: 18.02 MB / 1.145 GB, free: 110.1 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.475, allocations: 8 kB / 1.145 GB, free: 110.1 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/1.475, allocations: 144 kB / 1.145 GB, free: 109.9 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/1.487, allocations: 4.963 MB / 1.15 GB, free: 105 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00665/1.493, allocations: 1.864 MB / 1.152 GB, free: 103.1 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02912/1.523, allocations: 25.57 MB / 1.177 GB, free: 77.42 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/1.529, allocations: 427.2 kB / 1.177 GB, free: 77 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.531, allocations: 467.9 kB / 1.177 GB, free: 76.54 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.001222/1.532, allocations: 0.5047 MB / 1.178 GB, free: 76.03 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.533, allocations: 0.5632 MB / 1.179 GB, free: 75.46 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02012/1.553, allocations: 13.46 MB / 1.192 GB, free: 61.97 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/1.553, allocations: 40 kB / 1.192 GB, free: 61.93 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.553, allocations: 16 kB / 1.192 GB, free: 61.91 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/1.553, allocations: 31.44 kB / 1.192 GB, free: 61.89 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03714/1.59, allocations: 25.22 MB / 1.216 GB, free: 36.58 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/1.59, allocations: 7.984 kB / 1.216 GB, free: 36.57 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/1.593, allocations: 0.5812 MB / 1.217 GB, free: 35.99 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01151/1.605, allocations: 4.789 MB / 1.222 GB, free: 31.19 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000551/1.606, allocations: 15.98 kB / 1.222 GB, free: 31.17 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03158/1.637, allocations: 25.07 MB / 1.246 GB, free: 5.992 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.637, allocations: 7.938 kB / 1.246 GB, free: 5.984 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1939/1.831, allocations: 20.87 MB / 1.267 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.833, allocations: 0.593 MB / 1.267 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.834, allocations: 9.531 kB / 1.267 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.837, allocations: 272.7 kB / 1.267 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/1.837, allocations: 191.3 kB / 1.268 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/1.838, allocations: 98 kB / 1.268 GB, free: 215.9 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.004884/1.843, allocations: 3.823 MB / 1.271 GB, free: 215.6 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.006763/1.849, allocations: 1.77 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.0006424/1.85, allocations: 180.5 kB / 1.273 GB, free: 215.6 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01535/1.865, allocations: 12.41 MB / 1.285 GB, free: 215.3 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.866, allocations: 3.562 kB / 1.285 GB, free: 215.3 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.00814/1.874, allocations: 5.8 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.004064/1.878, allocations: 0.8061 MB / 1.292 GB, free: 215.2 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/1.907, allocations: 17.86 MB / 1.309 GB, free: 212.7 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007919/1.915, allocations: 6.116 MB / 1.315 GB, free: 211.9 MB / 0.6671 GB Notification: Performance of SimCode: time 9.32e-07/1.915, allocations: 0 / 1.315 GB, free: 211.9 MB / 0.6671 GB Notification: Performance of Templates: time 0.1321/2.047, allocations: 97.47 MB / 1.41 GB, free: 150.3 MB / 0.6671 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches