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 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_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 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 181.2 kB / 16.38 MB, free: 5.762 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.293/1.293, allocations: 223.2 MB / 240.3 MB, free: 10.13 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.000947/0.0009471, allocations: 93.98 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8078/0.8078, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003971, allocations: 8 kB / 0.5433 GB, free: 42.37 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 82.85 MB / 0.6242 GB, free: 9.219 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8526/1.028, allocations: 146.7 MB / 0.7675 GB, free: 3.492 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/1.028, allocations: 74.28 kB / 0.7676 GB, free: 3.457 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.379/1.407, allocations: 146.7 MB / 0.9109 GB, free: 4.75 MB / 0.6513 GB Notification: Performance of FrontEnd: time 3.156e-06/1.407, allocations: 0 / 0.9109 GB, free: 4.75 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.000756/1.408, allocations: 147.9 kB / 0.911 GB, free: 4.605 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.0317/1.44, allocations: 9.195 MB / 0.92 GB, free: 11.96 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.44, allocations: 12.03 kB / 0.92 GB, free: 11.95 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05522/1.495, allocations: 14.56 MB / 0.9342 GB, free: 14.96 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03335/1.529, allocations: 11.95 MB / 0.9459 GB, free: 5.414 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006187/1.529, allocations: 482.2 kB / 0.9464 GB, free: 5.113 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003748/1.533, allocations: 0.6631 MB / 0.947 GB, free: 4.637 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6966/2.23, allocations: 17.12 MB / 0.9637 GB, free: 161.6 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006594/2.23, allocations: 104.2 kB / 0.9638 GB, free: 161.6 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002327/2.233, allocations: 307.1 kB / 0.9641 GB, free: 161.6 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/2.236, allocations: 1.429 MB / 0.9655 GB, free: 161.6 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03187/2.268, allocations: 14.86 MB / 0.98 GB, free: 161.6 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08879/2.357, allocations: 68.32 MB / 1.047 GB, free: 123.9 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/2.375, allocations: 8.521 MB / 1.055 GB, free: 121.5 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03015/2.405, allocations: 17.71 MB / 1.072 GB, free: 115.1 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.376e-05/2.405, allocations: 83.16 kB / 1.072 GB, free: 115 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 7.194e-06/2.405, allocations: 0 / 1.072 GB, free: 115 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1442/2.549, allocations: 59.11 MB / 1.13 GB, free: 76.09 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/2.55, allocations: 436.2 kB / 1.131 GB, free: 75.57 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01836/2.568, allocations: 5.977 MB / 1.136 GB, free: 69.69 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/2.57, allocations: 89.7 kB / 1.137 GB, free: 69.59 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.005746/2.576, allocations: 4.6 MB / 1.141 GB, free: 65.15 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.003088/2.579, allocations: 1.432 MB / 1.142 GB, free: 63.73 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/2.58, allocations: 160 kB / 1.143 GB, free: 63.57 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.001036/2.582, allocations: 0.6673 MB / 1.143 GB, free: 62.9 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01223/2.594, allocations: 4.882 MB / 1.148 GB, free: 58.01 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01609/2.61, allocations: 9.046 MB / 1.157 GB, free: 47.04 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/2.623, allocations: 6.687 MB / 1.163 GB, free: 40.46 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/2.623, allocations: 40 kB / 1.163 GB, free: 40.42 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.03551/2.659, allocations: 18.58 MB / 1.182 GB, free: 21.79 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/2.659, allocations: 68 kB / 1.182 GB, free: 21.72 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/2.659, allocations: 143.3 kB / 1.182 GB, free: 21.58 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/2.671, allocations: 5.313 MB / 1.187 GB, free: 16.26 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/2.678, allocations: 1.868 MB / 1.189 GB, free: 14.38 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0422/2.72, allocations: 29.71 MB / 1.218 GB, free: 0.5352 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.424/3.144, allocations: 0.7381 MB / 1.218 GB, free: 161.8 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/3.147, allocations: 456.2 kB / 1.219 GB, free: 161.8 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.01018/3.157, allocations: 3.902 MB / 1.223 GB, free: 161.7 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/3.159, allocations: 0.5946 MB / 1.223 GB, free: 161.7 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02938/3.188, allocations: 13.43 MB / 1.236 GB, free: 161.4 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/3.188, allocations: 40.88 kB / 1.236 GB, free: 161.4 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.319e-05/3.189, allocations: 18.16 kB / 1.236 GB, free: 161.4 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/3.189, allocations: 24.56 kB / 1.236 GB, free: 161.4 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05771/3.246, allocations: 25.9 MB / 1.262 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.088e-05/3.247, allocations: 3.469 kB / 1.262 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/3.25, allocations: 0.6371 MB / 1.262 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01262/3.262, allocations: 5.061 MB / 1.267 GB, free: 160.1 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0013/3.264, allocations: 70.91 kB / 1.267 GB, free: 160.1 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03962/3.303, allocations: 29.37 MB / 1.296 GB, free: 153.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/3.304, allocations: 5.469 kB / 1.296 GB, free: 153.9 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03435/3.338, allocations: 20.4 MB / 1.316 GB, free: 147.6 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/3.341, allocations: 0.6497 MB / 1.317 GB, free: 147.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002992/3.344, allocations: 70.75 kB / 1.317 GB, free: 147.3 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005502/3.349, allocations: 0.4924 MB / 1.317 GB, free: 147.3 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001668/3.351, allocations: 253.8 kB / 1.317 GB, free: 147.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008591/3.352, allocations: 99.3 kB / 1.318 GB, free: 147.2 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01048/3.362, allocations: 4.381 MB / 1.322 GB, free: 145.9 MB / 0.6984 GB Notification: Performance of sort global known variables: time 6.82e-07/3.362, allocations: 0 / 1.322 GB, free: 145.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.01372/3.376, allocations: 2.023 MB / 1.324 GB, free: 145.7 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.00179/3.378, allocations: 239 kB / 1.324 GB, free: 145.5 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.02019/3.398, allocations: 11.94 MB / 1.336 GB, free: 137.6 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/3.398, allocations: 4 kB / 1.336 GB, free: 137.6 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/3.408, allocations: 5.6 MB / 1.341 GB, free: 133.1 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007023/3.415, allocations: 0.9762 MB / 1.342 GB, free: 132.3 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/3.459, allocations: 22.61 MB / 1.364 GB, free: 112.6 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/3.47, allocations: 5.757 MB / 1.37 GB, free: 108.3 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.0103/3.48, allocations: 3.544 MB / 1.373 GB, free: 106.1 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/3.483, allocations: 395 kB / 1.374 GB, free: 105.8 MB / 0.6984 GB Notification: Performance of SimCode: time 1.843e-06/3.483, allocations: 0 / 1.374 GB, free: 105.8 MB / 0.6984 GB Notification: Performance of Templates: time 0.1531/3.636, allocations: 96.87 MB / 1.468 GB, free: 11.21 MB / 0.6984 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/jenkins/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