Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.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_8,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|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,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|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8") [: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.001508/0.001509, allocations: 185.6 kB / 8.134 MB, free: 2.191 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.227/1.227, 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.0009629/0.0009629, allocations: 109.3 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7827/0.7827, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.042e-06, allocations: 0 / 0.5282 GB, free: 52.47 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 82.84 MB / 0.6091 GB, free: 3.566 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5348/0.6546, allocations: 145.9 MB / 0.7516 GB, free: 456 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.6548, allocations: 70.28 kB / 0.7517 GB, free: 424 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.8202/1.475, allocations: 222.4 MB / 0.9689 GB, free: 131.5 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.0009159/1.476, allocations: 231.1 kB / 0.9691 GB, free: 131.5 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3436 * Number of variables: 3436 Notification: Performance of Generate backend data structure: time 0.04054/1.517, allocations: 13.05 MB / 0.9818 GB, free: 127.4 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.517, allocations: 11.19 kB / 0.9818 GB, free: 127.4 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08768/1.604, allocations: 24.17 MB / 1.005 GB, free: 126.6 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04586/1.65, allocations: 20.44 MB / 1.025 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/1.651, allocations: 330.4 kB / 1.026 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005017/1.656, allocations: 0.6449 MB / 1.026 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03224/1.688, allocations: 17.71 MB / 1.044 GB, free: 124.9 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05379/1.742, allocations: 24.11 MB / 1.067 GB, free: 111.9 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007491/1.743, allocations: 166 kB / 1.067 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003506/1.746, allocations: 52 kB / 1.067 GB, free: 111.7 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003235/1.75, allocations: 2.494 MB / 1.07 GB, free: 109.7 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/1.888, allocations: 110.7 MB / 1.178 GB, free: 3.469 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/1.906, allocations: 13.29 MB / 1.191 GB, free: 6.047 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.253/2.159, allocations: 11.4 MB / 1.202 GB, free: 209.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06023/2.219, allocations: 27.9 MB / 1.229 GB, free: 205.6 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.096e-05/2.219, allocations: 98.45 kB / 1.229 GB, free: 205.5 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=577): time 9.087e-06/2.219, allocations: 0 / 1.229 GB, free: 205.5 MB / 0.6828 GB Notification: Performance of matching and sorting (n=747): time 0.2128/2.432, allocations: 95.98 MB / 1.323 GB, free: 182 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/2.432, allocations: 0.6623 MB / 1.324 GB, free: 181.2 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01708/2.449, allocations: 8.465 MB / 1.332 GB, free: 174.2 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0023/2.452, allocations: 25.7 kB / 1.332 GB, free: 174.1 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.004632/2.456, allocations: 5.677 MB / 1.338 GB, free: 169.7 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.004356/2.461, allocations: 2.566 MB / 1.34 GB, free: 167.4 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/2.463, allocations: 0 / 1.34 GB, free: 167.4 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0008272/2.464, allocations: 0.8717 MB / 1.341 GB, free: 166.7 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01299/2.477, allocations: 9.594 MB / 1.35 GB, free: 158.6 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01753/2.494, allocations: 15.23 MB / 1.365 GB, free: 142.7 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01685/2.511, allocations: 12.52 MB / 1.377 GB, free: 133 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/2.511, allocations: 52 kB / 1.377 GB, free: 132.9 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1628) (initialization): time 0.06562/2.577, allocations: 33.7 MB / 1.41 GB, free: 107 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/2.577, allocations: 7.516 kB / 1.41 GB, free: 107 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/2.577, allocations: 190.6 kB / 1.411 GB, free: 106.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03109/2.608, allocations: 11.39 MB / 1.422 GB, free: 98.69 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/2.62, allocations: 2.746 MB / 1.424 GB, free: 96.04 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07734/2.697, allocations: 56.9 MB / 1.48 GB, free: 39.14 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/2.71, allocations: 0.7681 MB / 1.481 GB, free: 38.38 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003259/2.713, allocations: 0.66 MB / 1.481 GB, free: 37.72 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 858 * Number of states: 0 () * Number of discrete variables: 95 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[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[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[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 (1382): * Single equations (assignments): 1378 * 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 {(13,84.6%) 210} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004133/2.717, allocations: 0.6452 MB / 1.482 GB, free: 37.07 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2208/2.938, allocations: 0.9162 MB / 1.483 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05936/2.997, allocations: 28.39 MB / 1.511 GB, free: 192.8 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002287/2.998, allocations: 73.73 kB / 1.511 GB, free: 192.8 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001745/2.998, allocations: 42.66 kB / 1.511 GB, free: 192.8 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000308/2.998, allocations: 35.23 kB / 1.511 GB, free: 192.8 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09789/3.096, allocations: 52.21 MB / 1.562 GB, free: 190.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/3.096, allocations: 3.625 kB / 1.562 GB, free: 190.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006361/3.103, allocations: 1.083 MB / 1.563 GB, free: 190.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03012/3.133, allocations: 11.33 MB / 1.574 GB, free: 190.1 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00258/3.135, allocations: 32.16 kB / 1.574 GB, free: 190.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0792/3.215, allocations: 56.31 MB / 1.629 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/3.215, allocations: 11.11 kB / 1.629 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06751/3.282, allocations: 42.61 MB / 1.67 GB, free: 122.7 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/3.285, allocations: 0.9283 MB / 1.671 GB, free: 122.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004569/3.289, allocations: 29.31 kB / 1.671 GB, free: 122.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008855/3.298, allocations: 0.5739 MB / 1.672 GB, free: 121.8 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002301/3.301, allocations: 353.2 kB / 1.672 GB, free: 121.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001296/3.302, allocations: 174.4 kB / 1.672 GB, free: 121.4 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.01053/3.312, allocations: 6.168 MB / 1.679 GB, free: 116.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01511/3.328, allocations: 3.118 MB / 1.682 GB, free: 113.1 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 16 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,revolute[5].phi,revolute[5].w,revolute[6].phi,revolute[6].w,revolute[7].phi,revolute[7].w,revolute[8].phi,revolute[8].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 516 * 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 {(21,60.1%) 199} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001991/3.33, allocations: 218 kB / 1.682 GB, free: 113 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.03558/3.365, allocations: 22.66 MB / 1.704 GB, free: 92.54 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/3.365, allocations: 4 kB / 1.704 GB, free: 92.54 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.01876/3.384, allocations: 11.24 MB / 1.715 GB, free: 81.34 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009799/3.394, allocations: 1.379 MB / 1.716 GB, free: 80.06 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0695/3.463, allocations: 32.31 MB / 1.748 GB, free: 48.16 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02026/3.484, allocations: 9.687 MB / 1.757 GB, free: 38.5 MB / 0.6828 GB Notification: Performance of SimCode: time 9.82e-07/3.484, allocations: 0 / 1.757 GB, free: 38.5 MB / 0.6828 GB Notification: Performance of Templates: time 0.5054/3.989, allocations: 184.7 MB / 1.938 GB, free: 107.9 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches