Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") [: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.001099/0.001099, allocations: 187.6 kB / 8.138 MB, free: 2.219 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.221/1.221, allocations: 221.4 MB / 230 MB, free: 3.031 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.001016/0.001016, allocations: 98.17 kB / 280.8 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7605/0.7605, allocations: 120.4 MB / 452 MB, free: 13.03 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.803e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 82.84 MB / 0.6091 GB, free: 3.617 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5653/0.6993, allocations: 145.9 MB / 0.7516 GB, free: 0.4961 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.6996, allocations: 73.77 kB / 0.7517 GB, free: 472 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.2719/0.9715, allocations: 101.3 MB / 0.8506 GB, free: 10.8 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0002809/0.9718, allocations: 100 kB / 0.8507 GB, free: 10.7 MB / 0.6046 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.0164/0.9882, allocations: 5.113 MB / 0.8557 GB, free: 5.902 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9883, allocations: 8.031 kB / 0.8557 GB, free: 5.895 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03535/1.024, allocations: 8.79 MB / 0.8643 GB, free: 14.04 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/1.043, allocations: 7.788 MB / 0.8719 GB, free: 7.797 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/1.043, allocations: 144 kB / 0.872 GB, free: 7.656 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/1.046, allocations: 283.6 kB / 0.8723 GB, free: 7.383 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0133/1.059, allocations: 7.247 MB / 0.8794 GB, free: 2.414 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/1.082, allocations: 10.52 MB / 0.8897 GB, free: 9.461 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.083, allocations: 75.3 kB / 0.8897 GB, free: 9.391 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/1.084, allocations: 28 kB / 0.8898 GB, free: 9.363 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/1.086, allocations: 1.122 MB / 0.8909 GB, free: 8.406 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05996/1.146, allocations: 49.83 MB / 0.9395 GB, free: 12.12 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/1.151, allocations: 4.043 MB / 0.9435 GB, free: 9.094 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/1.154, allocations: 2.939 MB / 0.9463 GB, free: 7.184 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/1.169, allocations: 8.084 MB / 0.9542 GB, free: 0.8398 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.169, allocations: 55.38 kB / 0.9543 GB, free: 0.7891 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=181): time 5.21e-06/1.169, allocations: 0 / 0.9543 GB, free: 0.7891 MB / 0.6828 GB Notification: Performance of matching and sorting (n=213): time 0.2482/1.417, allocations: 22.53 MB / 0.9763 GB, free: 269.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/1.417, allocations: 303.5 kB / 0.9766 GB, free: 269 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/1.422, allocations: 3.805 MB / 0.9803 GB, free: 268.6 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0004534/1.423, allocations: 25.7 kB / 0.9803 GB, free: 268.6 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.424, allocations: 3.044 MB / 0.9833 GB, free: 267.1 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/1.425, allocations: 0.7797 MB / 0.9841 GB, free: 266.6 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.425, allocations: 3.812 kB / 0.9841 GB, free: 266.6 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002459/1.426, allocations: 0.5631 MB / 0.9846 GB, free: 266.3 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/1.429, allocations: 2.613 MB / 0.9872 GB, free: 266.3 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/1.433, allocations: 6.166 MB / 0.9932 GB, free: 261.7 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005772/1.439, allocations: 4.048 MB / 0.9971 GB, free: 261.7 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.431e-05/1.439, allocations: 36.91 kB / 0.9972 GB, free: 261.7 MB / 0.6828 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0184/1.458, allocations: 9.476 MB / 1.006 GB, free: 261.3 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.458, allocations: 3.969 kB / 1.006 GB, free: 261.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.458, allocations: 125.4 kB / 1.007 GB, free: 261.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/1.462, allocations: 1.76 MB / 1.008 GB, free: 261.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/1.467, allocations: 1.382 MB / 1.01 GB, free: 261.2 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.48, allocations: 10.07 MB / 1.019 GB, free: 258.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/1.485, allocations: 242 kB / 1.02 GB, free: 258.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.486, allocations: 374.1 kB / 1.02 GB, free: 258.3 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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[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 (728): * Single equations (assignments): 724 * 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 {(4,87.5%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0012/1.488, allocations: 421.8 kB / 1.02 GB, free: 257.9 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.489, allocations: 392.3 kB / 1.021 GB, free: 257.7 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009083/1.498, allocations: 5.247 MB / 1.026 GB, free: 256.3 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-05/1.498, allocations: 19.25 kB / 1.026 GB, free: 256.3 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/1.498, allocations: 8.094 kB / 1.026 GB, free: 256.3 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/1.498, allocations: 12.83 kB / 1.026 GB, free: 256.3 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.518, allocations: 10.86 MB / 1.037 GB, free: 249.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.518, allocations: 4 kB / 1.037 GB, free: 249.1 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.519, allocations: 315.8 kB / 1.037 GB, free: 248.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004136/1.524, allocations: 1.572 MB / 1.038 GB, free: 247.7 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/1.524, allocations: 7.906 kB / 1.038 GB, free: 247.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/1.535, allocations: 9.619 MB / 1.048 GB, free: 239.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.536, allocations: 4 kB / 1.048 GB, free: 239.7 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01132/1.547, allocations: 8.877 MB / 1.056 GB, free: 232.2 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.548, allocations: 434.5 kB / 1.057 GB, free: 231.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.549, allocations: 8 kB / 1.057 GB, free: 231.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.551, allocations: 107 kB / 1.057 GB, free: 231.7 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/1.551, allocations: 104 kB / 1.057 GB, free: 231.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.551, allocations: 59.31 kB / 1.057 GB, free: 231.6 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.004318/1.556, allocations: 2.657 MB / 1.06 GB, free: 229.3 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.006417/1.562, allocations: 1.051 MB / 1.061 GB, free: 228.3 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 150 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006724/1.563, allocations: 158.9 kB / 1.061 GB, free: 228.1 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.009125/1.572, allocations: 6.187 MB / 1.067 GB, free: 222.7 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.572, allocations: 0 / 1.067 GB, free: 222.7 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.575, allocations: 2.365 MB / 1.069 GB, free: 220.7 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/1.578, allocations: 0.5182 MB / 1.07 GB, free: 220.3 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.598, allocations: 10.09 MB / 1.08 GB, free: 211.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006141/1.604, allocations: 4.321 MB / 1.084 GB, free: 208.2 MB / 0.6828 GB Notification: Performance of SimCode: time 1.142e-06/1.604, allocations: 0 / 1.084 GB, free: 208.2 MB / 0.6828 GB Notification: Performance of Templates: time 0.08399/1.688, allocations: 50.06 MB / 1.133 GB, free: 163.8 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches