Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.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_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_noopt_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_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009325, allocations: 90.44 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8491/0.8491, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 12 kB / 0.5433 GB, free: 42.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 82.84 MB / 0.6242 GB, free: 9.242 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.751/0.9092, allocations: 146.7 MB / 0.7675 GB, free: 3.609 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.9094, allocations: 78.53 kB / 0.7676 GB, free: 3.57 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.3762/1.286, allocations: 146.7 MB / 0.9109 GB, free: 4.867 MB / 0.6513 GB Notification: Performance of FrontEnd: time 4.438e-06/1.286, allocations: 0 / 0.9109 GB, free: 4.867 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0007106/1.286, allocations: 147.9 kB / 0.911 GB, free: 4.723 MB / 0.6513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.03231/1.319, allocations: 9.198 MB / 0.92 GB, free: 12.07 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.319, allocations: 8.031 kB / 0.92 GB, free: 12.06 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05508/1.374, allocations: 14.56 MB / 0.9342 GB, free: 15.07 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03291/1.407, allocations: 11.94 MB / 0.9459 GB, free: 5.531 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006445/1.408, allocations: 489.5 kB / 0.9464 GB, free: 5.227 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003872/1.411, allocations: 0.6612 MB / 0.947 GB, free: 4.75 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6463/2.058, allocations: 17.11 MB / 0.9637 GB, free: 161.9 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004579/2.058, allocations: 101.5 kB / 0.9638 GB, free: 161.9 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/2.06, allocations: 304.5 kB / 0.9641 GB, free: 161.9 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002435/2.062, allocations: 1.429 MB / 0.9655 GB, free: 161.9 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/2.09, allocations: 14.87 MB / 0.98 GB, free: 161.9 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07811/2.168, allocations: 68.32 MB / 1.047 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/2.185, allocations: 8.522 MB / 1.055 GB, free: 121.8 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0241/2.209, allocations: 17.71 MB / 1.072 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/2.209, allocations: 77.48 kB / 1.072 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 6.572e-06/2.209, allocations: 3.188 kB / 1.072 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.125/2.334, allocations: 59.11 MB / 1.13 GB, free: 76.23 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/2.334, allocations: 435.2 kB / 1.131 GB, free: 75.72 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00865/2.343, allocations: 5.978 MB / 1.136 GB, free: 69.84 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/2.344, allocations: 89.31 kB / 1.137 GB, free: 69.75 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002444/2.347, allocations: 4.606 MB / 1.141 GB, free: 65.29 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/2.348, allocations: 1.432 MB / 1.142 GB, free: 63.87 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004175/2.349, allocations: 160 kB / 1.143 GB, free: 63.71 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003549/2.349, allocations: 0.6606 MB / 1.143 GB, free: 63.05 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/2.355, allocations: 4.883 MB / 1.148 GB, free: 58.16 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006929/2.362, allocations: 9.053 MB / 1.157 GB, free: 47.19 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/2.37, allocations: 6.677 MB / 1.163 GB, free: 40.61 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.847e-05/2.37, allocations: 40 kB / 1.163 GB, free: 40.57 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.03119/2.401, allocations: 18.58 MB / 1.182 GB, free: 21.93 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/2.401, allocations: 64 kB / 1.182 GB, free: 21.87 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002589/2.401, allocations: 148.1 kB / 1.182 GB, free: 21.73 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/2.413, allocations: 5.316 MB / 1.187 GB, free: 16.4 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/2.419, allocations: 1.868 MB / 1.189 GB, free: 14.53 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04064/2.46, allocations: 29.71 MB / 1.218 GB, free: 0.6758 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3987/2.859, allocations: 0.7384 MB / 1.218 GB, free: 162.1 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/2.861, allocations: 455.3 kB / 1.219 GB, free: 162.1 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 59 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,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 (924): * Single equations (assignments): 920 * 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 {(7,81.6%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009538/2.871, allocations: 3.899 MB / 1.223 GB, free: 161.9 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001809/2.873, allocations: 0.5912 MB / 1.223 GB, free: 161.9 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/2.9, allocations: 13.43 MB / 1.236 GB, free: 161.7 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.485e-05/2.9, allocations: 42.56 kB / 1.236 GB, free: 161.7 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-05/2.9, allocations: 23.41 kB / 1.236 GB, free: 161.7 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-05/2.9, allocations: 19.8 kB / 1.236 GB, free: 161.7 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04496/2.945, allocations: 25.89 MB / 1.262 GB, free: 160.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/2.945, allocations: 3.219 kB / 1.262 GB, free: 160.4 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002701/2.948, allocations: 0.6427 MB / 1.262 GB, free: 160.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/2.958, allocations: 5.053 MB / 1.267 GB, free: 160.4 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006668/2.959, allocations: 76 kB / 1.267 GB, free: 160.4 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03822/2.997, allocations: 29.37 MB / 1.296 GB, free: 154.1 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/2.997, allocations: 7.766 kB / 1.296 GB, free: 154.1 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03059/3.028, allocations: 20.4 MB / 1.316 GB, free: 147.8 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/3.03, allocations: 0.6447 MB / 1.317 GB, free: 147.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002236/3.033, allocations: 75.41 kB / 1.317 GB, free: 147.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004603/3.037, allocations: 0.4913 MB / 1.317 GB, free: 147.4 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/3.038, allocations: 254.2 kB / 1.317 GB, free: 147.4 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006269/3.039, allocations: 98.53 kB / 1.318 GB, free: 147.4 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01015/3.049, allocations: 4.38 MB / 1.322 GB, free: 146.1 MB / 0.6984 GB Notification: Performance of sort global known variables: time 6.42e-07/3.049, allocations: 0 / 1.322 GB, free: 146.1 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.0117/3.061, allocations: 2.027 MB / 1.324 GB, free: 145.9 MB / 0.6984 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 (280): * Single equations (assignments): 276 * 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,75.3%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/3.062, allocations: 231.1 kB / 1.324 GB, free: 145.7 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.01901/3.082, allocations: 11.95 MB / 1.336 GB, free: 137.8 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/3.082, allocations: 3.031 kB / 1.336 GB, free: 137.8 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.008665/3.09, allocations: 5.593 MB / 1.341 GB, free: 133.2 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006378/3.097, allocations: 0.9799 MB / 1.342 GB, free: 132.5 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/3.135, allocations: 22.61 MB / 1.364 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007167/3.142, allocations: 5.76 MB / 1.37 GB, free: 108.5 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.007991/3.15, allocations: 3.536 MB / 1.373 GB, free: 106.3 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/3.151, allocations: 401.8 kB / 1.374 GB, free: 105.9 MB / 0.6984 GB Notification: Performance of SimCode: time 1.282e-06/3.151, allocations: 0 / 1.374 GB, free: 105.9 MB / 0.6984 GB Notification: Performance of Templates: time 0.1448/3.296, allocations: 96.86 MB / 1.468 GB, free: 11.32 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches