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.00111/0.001111, allocations: 185.3 kB / 8.136 MB, free: 2.223 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.093/1.093, allocations: 221.4 MB / 229.9 MB, free: 2.992 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.0009856/0.0009856, allocations: 98.59 kB / 280.8 MB, free: 1.211 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6667/0.6667, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.27e-06, allocations: 0 / 0.5282 GB, free: 52.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1274, allocations: 82.84 MB / 0.6091 GB, free: 3.539 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6326, allocations: 145.9 MB / 0.7516 GB, free: 408 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.6328, allocations: 75.58 kB / 0.7517 GB, free: 372 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.2497/0.8826, allocations: 101.4 MB / 0.8506 GB, free: 10.69 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0003186/0.8829, allocations: 96 kB / 0.8507 GB, free: 10.6 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.01372/0.8967, allocations: 5.109 MB / 0.8557 GB, free: 5.801 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.8967, allocations: 12.03 kB / 0.8557 GB, free: 5.789 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/0.9293, allocations: 8.785 MB / 0.8643 GB, free: 13.94 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.9464, allocations: 7.78 MB / 0.8719 GB, free: 7.699 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.9466, allocations: 148 kB / 0.872 GB, free: 7.555 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009609/0.9475, allocations: 291.5 kB / 0.8723 GB, free: 7.277 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009591/0.9571, allocations: 7.246 MB / 0.8794 GB, free: 2.312 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.9693, allocations: 10.52 MB / 0.8897 GB, free: 9.355 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.9695, allocations: 67.31 kB / 0.8897 GB, free: 9.293 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004863/0.97, allocations: 32 kB / 0.8898 GB, free: 9.262 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/0.9713, allocations: 1.121 MB / 0.8909 GB, free: 8.305 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04622/1.017, allocations: 49.84 MB / 0.9395 GB, free: 12.02 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/1.022, allocations: 4.037 MB / 0.9435 GB, free: 8.992 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/1.024, allocations: 2.95 MB / 0.9464 GB, free: 7.074 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/1.036, allocations: 8.076 MB / 0.9542 GB, free: 0.7383 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.036, allocations: 62.42 kB / 0.9543 GB, free: 0.6836 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=181): time 3.977e-06/1.036, allocations: 0 / 0.9543 GB, free: 0.6836 MB / 0.6828 GB Notification: Performance of matching and sorting (n=213): time 0.2076/1.243, allocations: 22.52 MB / 0.9763 GB, free: 269.4 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.243, allocations: 305 kB / 0.9766 GB, free: 269.1 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/1.248, allocations: 3.809 MB / 0.9803 GB, free: 268.7 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/1.249, allocations: 25.7 kB / 0.9803 GB, free: 268.7 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.25, allocations: 3.035 MB / 0.9833 GB, free: 267.2 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/1.25, allocations: 0.7882 MB / 0.9841 GB, free: 266.8 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/1.251, allocations: 0 / 0.9841 GB, free: 266.8 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.000247/1.251, allocations: 0.567 MB / 0.9846 GB, free: 266.4 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/1.254, allocations: 2.617 MB / 0.9872 GB, free: 266.4 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003761/1.257, allocations: 6.156 MB / 0.9932 GB, free: 261.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/1.261, allocations: 4.054 MB / 0.9971 GB, free: 261.8 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-05/1.261, allocations: 38.09 kB / 0.9972 GB, free: 261.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0129/1.274, allocations: 9.467 MB / 1.006 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.274, allocations: 7.062 kB / 1.006 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.397e-05/1.274, allocations: 129.3 kB / 1.007 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/1.278, allocations: 1.757 MB / 1.008 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.282, allocations: 1.382 MB / 1.01 GB, free: 261.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.294, allocations: 10.07 MB / 1.019 GB, free: 258.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.299, allocations: 243.8 kB / 1.02 GB, free: 258.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/1.299, allocations: 366 kB / 1.02 GB, free: 258.4 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.0006475/1.3, allocations: 428 kB / 1.02 GB, free: 258.1 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/1.301, allocations: 393.4 kB / 1.021 GB, free: 257.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008223/1.309, allocations: 5.238 MB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/1.309, allocations: 18.59 kB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.309, allocations: 10.47 kB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.309, allocations: 15.25 kB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.325, allocations: 10.85 MB / 1.037 GB, free: 249 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.325, allocations: 7.031 kB / 1.037 GB, free: 249 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.326, allocations: 319 kB / 1.037 GB, free: 248.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/1.33, allocations: 1.568 MB / 1.038 GB, free: 247.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/1.33, allocations: 15.91 kB / 1.038 GB, free: 247.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.341, allocations: 9.618 MB / 1.048 GB, free: 239.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.341, allocations: 0 / 1.048 GB, free: 239.6 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/1.351, allocations: 8.878 MB / 1.056 GB, free: 232.1 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/1.352, allocations: 439.3 kB / 1.057 GB, free: 231.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005557/1.353, allocations: 10.64 kB / 1.057 GB, free: 231.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.354, allocations: 105.8 kB / 1.057 GB, free: 231.6 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.355, allocations: 104.9 kB / 1.057 GB, free: 231.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.355, allocations: 52 kB / 1.057 GB, free: 231.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.003045/1.358, allocations: 2.658 MB / 1.06 GB, free: 229.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004424/1.362, allocations: 1.055 MB / 1.061 GB, free: 228.2 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.0003898/1.363, allocations: 157.6 kB / 1.061 GB, free: 228 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.007035/1.37, allocations: 6.192 MB / 1.067 GB, free: 222.6 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.37, allocations: 0 / 1.067 GB, free: 222.6 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.372, allocations: 2.357 MB / 1.069 GB, free: 220.6 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.375, allocations: 0.5162 MB / 1.07 GB, free: 220.2 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.388, allocations: 10.1 MB / 1.08 GB, free: 211.4 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/1.392, allocations: 4.314 MB / 1.084 GB, free: 208.1 MB / 0.6828 GB Notification: Performance of SimCode: time 8.71e-07/1.393, allocations: 0 / 1.084 GB, free: 208.1 MB / 0.6828 GB Notification: Performance of Templates: time 0.06821/1.461, allocations: 50.06 MB / 1.133 GB, free: 163.6 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/jenkins1/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