Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001551/0.001551, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.099/1.099, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.000934/0.000934, allocations: 103.5 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.629/0.629, allocations: 120.4 MB / 452 MB, free: 13.06 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.39e-06, allocations: 4 kB / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 82.84 MB / 0.6091 GB, free: 3.574 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.6045, allocations: 145.9 MB / 0.7516 GB, free: 364 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.6047, allocations: 68.03 kB / 0.7517 GB, free: 332 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.2544/0.8591, allocations: 101.3 MB / 0.8506 GB, free: 10.67 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0002326/0.8594, allocations: 100 kB / 0.8507 GB, free: 10.57 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.01229/0.8717, allocations: 5.112 MB / 0.8557 GB, free: 5.773 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.8717, allocations: 8.031 kB / 0.8557 GB, free: 5.766 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03375/0.9055, allocations: 8.79 MB / 0.8643 GB, free: 13.91 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/0.9229, allocations: 7.795 MB / 0.8719 GB, free: 7.656 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.923, allocations: 144 kB / 0.872 GB, free: 7.516 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009765/0.924, allocations: 283.4 kB / 0.8723 GB, free: 7.242 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01002/0.9341, allocations: 7.249 MB / 0.8794 GB, free: 2.273 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.9487, allocations: 10.52 MB / 0.8897 GB, free: 9.324 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.9489, allocations: 63.44 kB / 0.8897 GB, free: 9.262 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005307/0.9494, allocations: 28 kB / 0.8898 GB, free: 9.234 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00131/0.9507, allocations: 1.125 MB / 0.8909 GB, free: 8.273 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04886/0.9996, allocations: 49.82 MB / 0.9395 GB, free: 12 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/1.004, allocations: 4.045 MB / 0.9435 GB, free: 8.969 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.007, allocations: 2.946 MB / 0.9463 GB, free: 7.051 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0125/1.019, allocations: 8.08 MB / 0.9542 GB, free: 0.7109 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.019, allocations: 51.44 kB / 0.9543 GB, free: 0.6641 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=181): time 5.35e-06/1.019, allocations: 0 / 0.9543 GB, free: 0.6641 MB / 0.6828 GB Notification: Performance of matching and sorting (n=213): time 0.204/1.223, allocations: 22.54 MB / 0.9763 GB, free: 269.4 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/1.223, allocations: 304.7 kB / 0.9766 GB, free: 269.1 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/1.228, allocations: 3.801 MB / 0.9803 GB, free: 268.7 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/1.228, allocations: 29.05 kB / 0.9803 GB, free: 268.7 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/1.229, allocations: 3.037 MB / 0.9833 GB, free: 267.2 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.000578/1.23, allocations: 0.787 MB / 0.9841 GB, free: 266.7 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.23, allocations: 0 / 0.9841 GB, free: 266.7 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.23, allocations: 0.5652 MB / 0.9846 GB, free: 266.4 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.233, allocations: 2.615 MB / 0.9872 GB, free: 266.4 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/1.237, allocations: 6.164 MB / 0.9932 GB, free: 261.8 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.241, allocations: 4.054 MB / 0.9971 GB, free: 261.8 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.895e-05/1.241, allocations: 36.59 kB / 0.9972 GB, free: 261.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01277/1.253, allocations: 9.467 MB / 1.006 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.253, allocations: 3.969 kB / 1.006 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.213e-05/1.253, allocations: 128 kB / 1.007 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/1.257, allocations: 1.759 MB / 1.008 GB, free: 261.4 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/1.261, allocations: 1.38 MB / 1.01 GB, free: 261.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.273, allocations: 10.07 MB / 1.019 GB, free: 258.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.278, allocations: 246.3 kB / 1.02 GB, free: 258.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004683/1.278, allocations: 361 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.0006635/1.279, allocations: 428.5 kB / 1.02 GB, free: 258 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/1.279, allocations: 396.1 kB / 1.021 GB, free: 257.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007971/1.287, allocations: 5.237 MB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/1.287, allocations: 19.53 kB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.287, allocations: 7.562 kB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.287, allocations: 14.23 kB / 1.026 GB, free: 256.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.302, allocations: 10.86 MB / 1.037 GB, free: 249.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.302, allocations: 0 / 1.037 GB, free: 249.1 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.304, allocations: 322.1 kB / 1.037 GB, free: 248.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/1.308, allocations: 1.573 MB / 1.038 GB, free: 247.7 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/1.308, allocations: 7.906 kB / 1.038 GB, free: 247.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/1.318, allocations: 9.612 MB / 1.048 GB, free: 239.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.318, allocations: 4 kB / 1.048 GB, free: 239.7 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01034/1.329, allocations: 8.881 MB / 1.056 GB, free: 232.2 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/1.33, allocations: 435 kB / 1.057 GB, free: 231.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/1.33, allocations: 4 kB / 1.057 GB, free: 231.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.332, allocations: 114 kB / 1.057 GB, free: 231.7 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.332, allocations: 98.7 kB / 1.057 GB, free: 231.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.332, allocations: 55.94 kB / 1.057 GB, free: 231.6 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.003079/1.336, allocations: 2.657 MB / 1.06 GB, free: 229.3 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.00438/1.34, allocations: 1.061 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.0004129/1.34, allocations: 150.5 kB / 1.061 GB, free: 228.1 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.008018/1.348, allocations: 6.193 MB / 1.067 GB, free: 222.7 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.348, allocations: 0 / 1.067 GB, free: 222.7 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/1.351, allocations: 2.363 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.00226/1.353, allocations: 0.5125 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.01513/1.368, allocations: 10.1 MB / 1.08 GB, free: 211.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004417/1.373, allocations: 4.319 MB / 1.084 GB, free: 208.2 MB / 0.6828 GB Notification: Performance of SimCode: time 1.031e-06/1.373, allocations: 0 / 1.084 GB, free: 208.2 MB / 0.6828 GB Notification: Performance of Templates: time 0.07252/1.445, allocations: 50.06 MB / 1.133 GB, free: 163.6 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches