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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008622, allocations: 82.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8421/0.8421, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 12 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 80 MB / 0.597 GB, free: 9.117 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6835/0.8096, allocations: 146 MB / 0.7395 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.8099, allocations: 77.58 kB / 0.7396 GB, free: 15.38 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.3467/1.157, allocations: 144.4 MB / 0.8806 GB, free: 2.855 MB / 0.6203 GB Notification: Performance of FrontEnd: time 2.265e-06/1.157, allocations: 0 / 0.8806 GB, free: 2.855 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 0.000542/1.157, allocations: 144 kB / 0.8807 GB, free: 2.715 MB / 0.6203 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2256 * Number of variables: 2256 Notification: Performance of Generate backend data structure: time 0.02449/1.182, allocations: 9.078 MB / 0.8896 GB, free: 10.17 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.182, allocations: 12.03 kB / 0.8896 GB, free: 10.16 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03923/1.221, allocations: 10.49 MB / 0.8998 GB, free: 0.6211 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02496/1.246, allocations: 11.4 MB / 0.911 GB, free: 7.801 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005165/1.247, allocations: 498.2 kB / 0.9115 GB, free: 7.492 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003018/1.25, allocations: 0.6676 MB / 0.9121 GB, free: 7.012 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03665/1.286, allocations: 17.27 MB / 0.929 GB, free: 8.66 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005318/1.287, allocations: 107 kB / 0.9291 GB, free: 8.559 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/1.289, allocations: 312.2 kB / 0.9294 GB, free: 8.434 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/1.291, allocations: 1.466 MB / 0.9308 GB, free: 7.191 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.294/1.585, allocations: 14.96 MB / 0.9454 GB, free: 157.6 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07234/1.658, allocations: 69.47 MB / 1.013 GB, free: 123.7 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/1.673, allocations: 8.542 MB / 1.022 GB, free: 122.6 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005099/1.678, allocations: 5.307 MB / 1.027 GB, free: 120.7 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02212/1.7, allocations: 18.19 MB / 1.045 GB, free: 114.1 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.7, allocations: 75.41 kB / 1.045 GB, free: 114 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=336): time 6.232e-06/1.7, allocations: 0 / 1.045 GB, free: 114 MB / 0.6671 GB Notification: Performance of matching and sorting (n=413): time 0.1244/1.825, allocations: 59.47 MB / 1.103 GB, free: 88.19 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.825, allocations: 436.1 kB / 1.103 GB, free: 87.67 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008003/1.833, allocations: 6.856 MB / 1.11 GB, free: 81.22 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0006878/1.834, allocations: 93.53 kB / 1.11 GB, free: 81.13 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/1.836, allocations: 4.692 MB / 1.114 GB, free: 76.55 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.837, allocations: 1.489 MB / 1.116 GB, free: 75.07 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/1.838, allocations: 170.8 kB / 1.116 GB, free: 74.91 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0003049/1.838, allocations: 0.6689 MB / 1.117 GB, free: 74.23 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005527/1.843, allocations: 5.012 MB / 1.122 GB, free: 69.21 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006971/1.85, allocations: 9.288 MB / 1.131 GB, free: 57.98 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.864, allocations: 15.35 MB / 1.146 GB, free: 40.78 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-05/1.864, allocations: 40 kB / 1.146 GB, free: 40.74 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.02753/1.892, allocations: 18.94 MB / 1.164 GB, free: 21.75 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.892, allocations: 73.44 kB / 1.164 GB, free: 21.68 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.892, allocations: 146.7 kB / 1.164 GB, free: 21.54 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/1.903, allocations: 5.272 MB / 1.17 GB, free: 16.26 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00593/1.909, allocations: 1.93 MB / 1.171 GB, free: 14.32 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03633/1.945, allocations: 28.64 MB / 1.199 GB, free: 1.559 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007564/1.953, allocations: 0.7566 MB / 1.2 GB, free: 0.8008 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/1.954, allocations: 465.7 kB / 1.201 GB, free: 356 kB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 655 * Number of states: 0 () * Number of discrete variables: 57 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 948 * 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 {(6,86.1%) 97} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.298/2.252, allocations: 3.967 MB / 1.205 GB, free: 163.7 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/2.254, allocations: 0.6109 MB / 1.205 GB, free: 163.7 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02377/2.278, allocations: 13.78 MB / 1.219 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/2.278, allocations: 45.08 kB / 1.219 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-05/2.278, allocations: 19.06 kB / 1.219 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.535e-05/2.278, allocations: 19.8 kB / 1.219 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04045/2.318, allocations: 26.51 MB / 1.245 GB, free: 162.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/2.318, allocations: 6.688 kB / 1.245 GB, free: 162.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/2.321, allocations: 0.6786 MB / 1.245 GB, free: 162.2 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009848/2.331, allocations: 5.058 MB / 1.25 GB, free: 162.1 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004396/2.331, allocations: 74.5 kB / 1.25 GB, free: 162.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03035/2.362, allocations: 28.31 MB / 1.278 GB, free: 156.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.362, allocations: 7.141 kB / 1.278 GB, free: 156.1 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02588/2.388, allocations: 20.3 MB / 1.298 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/2.391, allocations: 1.57 MB / 1.299 GB, free: 150 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008817/2.392, allocations: 82.16 kB / 1.299 GB, free: 150 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/2.395, allocations: 0.5039 MB / 1.3 GB, free: 149.9 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000916/2.396, allocations: 262.3 kB / 1.3 GB, free: 149.9 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/2.396, allocations: 105.3 kB / 1.3 GB, free: 149.8 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.00655/2.403, allocations: 4.488 MB / 1.305 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 3.01e-07/2.403, allocations: 2.25 kB / 1.305 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.008667/2.412, allocations: 2.059 MB / 1.307 GB, free: 148.3 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 295 * 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 {(9,74.1%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006281/2.412, allocations: 244 kB / 1.307 GB, free: 148.2 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01408/2.426, allocations: 12.22 MB / 1.319 GB, free: 140.8 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/2.426, allocations: 0 / 1.319 GB, free: 140.8 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.007093/2.433, allocations: 5.741 MB / 1.324 GB, free: 136 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008325/2.442, allocations: 1.025 MB / 1.325 GB, free: 135.2 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/2.473, allocations: 23.22 MB / 1.348 GB, free: 115 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006722/2.48, allocations: 5.723 MB / 1.354 GB, free: 109.7 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.007662/2.488, allocations: 3.632 MB / 1.357 GB, free: 106.1 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/2.489, allocations: 411.3 kB / 1.358 GB, free: 105.7 MB / 0.6828 GB Notification: Performance of SimCode: time 6.41e-07/2.489, allocations: 0 / 1.358 GB, free: 105.7 MB / 0.6828 GB Notification: Performance of Templates: time 0.4081/2.897, allocations: 98.86 MB / 1.454 GB, free: 153.4 MB / 0.6828 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/jenkins1/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