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.0009025/0.0009026, allocations: 179 kB / 13.63 MB, free: 1.684 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.152/1.152, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.0008597/0.0008597, allocations: 93.98 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7745/0.7745, allocations: 120.5 MB / 457.9 MB, free: 7.023 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.009e-05, allocations: 0 / 0.5357 GB, free: 12.18 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4597, allocations: 82.84 MB / 0.6166 GB, free: 9.316 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6906/1.15, allocations: 146.6 MB / 0.7598 GB, free: 42.54 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/1.151, allocations: 72.39 kB / 0.7599 GB, free: 42.54 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3061/1.457, allocations: 146.8 MB / 0.9033 GB, free: 13.62 MB / 0.6046 GB Notification: Performance of FrontEnd: time 1.633e-06/1.457, allocations: 0 / 0.9033 GB, free: 13.62 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.000443/1.457, allocations: 144 kB / 0.9034 GB, free: 13.48 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: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.01968/1.477, allocations: 8.263 MB / 0.9115 GB, free: 5.703 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.477, allocations: 12.03 kB / 0.9115 GB, free: 5.691 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05031/1.527, allocations: 14.58 MB / 0.9257 GB, free: 8.672 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02368/1.551, allocations: 11.88 MB / 0.9373 GB, free: 15.19 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/1.551, allocations: 495.6 kB / 0.9378 GB, free: 14.88 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/1.553, allocations: 0.6618 MB / 0.9385 GB, free: 14.4 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/1.58, allocations: 17 MB / 0.9551 GB, free: 284 kB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/1.58, allocations: 99.02 kB / 0.9552 GB, free: 188 kB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007419/1.581, allocations: 308.3 kB / 0.9555 GB, free: 60 kB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001662/1.583, allocations: 1.427 MB / 0.9568 GB, free: 14.85 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/1.607, allocations: 14.68 MB / 0.9712 GB, free: 3.703 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3605/1.967, allocations: 68.32 MB / 1.038 GB, free: 124.9 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/1.983, allocations: 8.473 MB / 1.046 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/1.987, allocations: 5.121 MB / 1.051 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02023/2.007, allocations: 17.7 MB / 1.068 GB, free: 122.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/2.007, allocations: 82.19 kB / 1.069 GB, free: 122.8 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 5.44e-06/2.007, allocations: 0 / 1.069 GB, free: 122.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1055/2.113, allocations: 52.94 MB / 1.12 GB, free: 115.5 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/2.113, allocations: 433.9 kB / 1.121 GB, free: 115 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006541/2.119, allocations: 5.922 MB / 1.126 GB, free: 113.1 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0004836/2.12, allocations: 84.42 kB / 1.127 GB, free: 113.1 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/2.122, allocations: 4.611 MB / 1.131 GB, free: 110 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/2.123, allocations: 1.437 MB / 1.132 GB, free: 108.9 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/2.123, allocations: 164 kB / 1.133 GB, free: 108.8 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002966/2.124, allocations: 0.661 MB / 1.133 GB, free: 108.3 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006482/2.13, allocations: 4.803 MB / 1.138 GB, free: 104.8 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007896/2.138, allocations: 8.976 MB / 1.147 GB, free: 94.84 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00741/2.146, allocations: 6.668 MB / 1.153 GB, free: 89.73 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-05/2.146, allocations: 40 kB / 1.153 GB, free: 89.69 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.02482/2.171, allocations: 18.44 MB / 1.171 GB, free: 75.76 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/2.171, allocations: 68 kB / 1.171 GB, free: 75.69 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.84e-05/2.171, allocations: 149.8 kB / 1.171 GB, free: 75.55 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/2.181, allocations: 5.307 MB / 1.177 GB, free: 71.94 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005451/2.186, allocations: 1.867 MB / 1.178 GB, free: 70.39 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02928/2.216, allocations: 28.56 MB / 1.206 GB, free: 43.63 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006594/2.222, allocations: 0.7408 MB / 1.207 GB, free: 42.89 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/2.223, allocations: 459.9 kB / 1.208 GB, free: 42.45 MB / 0.6828 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 () * 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.00116/2.225, allocations: 0.7077 MB / 1.208 GB, free: 41.73 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008944/2.226, allocations: 0.594 MB / 1.209 GB, free: 41.13 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/2.245, allocations: 13.36 MB / 1.222 GB, free: 27.74 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/2.245, allocations: 43.25 kB / 1.222 GB, free: 27.7 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.851e-05/2.245, allocations: 20 kB / 1.222 GB, free: 27.68 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-05/2.245, allocations: 15.94 kB / 1.222 GB, free: 27.66 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03491/2.28, allocations: 25.82 MB / 1.247 GB, free: 1.703 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/2.28, allocations: 4 kB / 1.247 GB, free: 1.699 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/2.283, allocations: 0.6416 MB / 1.248 GB, free: 1.059 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/2.294, allocations: 5.048 MB / 1.253 GB, free: 12.03 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004589/2.294, allocations: 79.8 kB / 1.253 GB, free: 11.95 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3409/2.635, allocations: 28.21 MB / 1.28 GB, free: 180.1 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/2.635, allocations: 6.781 kB / 1.28 GB, free: 180.1 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02874/2.664, allocations: 20.27 MB / 1.3 GB, free: 178.7 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/2.666, allocations: 0.6474 MB / 1.301 GB, free: 178.6 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/2.667, allocations: 76.28 kB / 1.301 GB, free: 178.6 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/2.67, allocations: 0.4886 MB / 1.301 GB, free: 178.6 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007881/2.671, allocations: 258.9 kB / 1.302 GB, free: 178.6 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/2.671, allocations: 99.11 kB / 1.302 GB, free: 178.6 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.005509/2.677, allocations: 4.327 MB / 1.306 GB, free: 178.4 MB / 0.714 GB Notification: Performance of sort global known variables: time 2.61e-07/2.677, allocations: 0 / 1.306 GB, free: 178.4 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.007403/2.684, allocations: 2.019 MB / 1.308 GB, free: 178.4 MB / 0.714 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 () * 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.0007206/2.685, allocations: 235.1 kB / 1.308 GB, free: 178.3 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01323/2.698, allocations: 11.82 MB / 1.32 GB, free: 178 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.698, allocations: 5.531 kB / 1.32 GB, free: 178 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.006528/2.705, allocations: 5.522 MB / 1.325 GB, free: 177.8 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/2.709, allocations: 0.9852 MB / 1.326 GB, free: 177.8 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/2.731, allocations: 17.15 MB / 1.343 GB, free: 175.2 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004949/2.736, allocations: 5.753 MB / 1.348 GB, free: 174.3 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.006589/2.742, allocations: 3.544 MB / 1.352 GB, free: 174.3 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/2.744, allocations: 396.8 kB / 1.352 GB, free: 174.3 MB / 0.714 GB Notification: Performance of SimCode: time 7.91e-07/2.744, allocations: 0 / 1.352 GB, free: 174.3 MB / 0.714 GB Notification: Performance of Templates: time 0.1191/2.863, allocations: 96.87 MB / 1.447 GB, free: 111.8 MB / 0.714 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