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.00157/0.00157, allocations: 180.6 kB / 16.39 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.391/1.391, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009949/0.0009951, allocations: 85.34 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.055/1.055, allocations: 120.5 MB / 463 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 15.33 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1775, allocations: 82.85 MB / 0.6242 GB, free: 9.207 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8735/1.051, allocations: 146.7 MB / 0.7675 GB, free: 3.59 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.051, allocations: 74.03 kB / 0.7676 GB, free: 3.555 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.3889/1.44, allocations: 146.7 MB / 0.9109 GB, free: 4.859 MB / 0.6513 GB Notification: Performance of FrontEnd: time 3.196e-06/1.44, allocations: 0 / 0.9109 GB, free: 4.859 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0008664/1.441, allocations: 140 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.03334/1.475, allocations: 9.205 MB / 0.92 GB, free: 12.06 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.475, allocations: 8.031 kB / 0.92 GB, free: 12.05 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05589/1.531, allocations: 14.56 MB / 0.9342 GB, free: 15.07 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03381/1.564, allocations: 11.94 MB / 0.9459 GB, free: 5.52 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006214/1.565, allocations: 485.2 kB / 0.9463 GB, free: 5.219 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003795/1.569, allocations: 0.6629 MB / 0.947 GB, free: 4.742 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7441/2.313, allocations: 17.12 MB / 0.9637 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004913/2.314, allocations: 102.9 kB / 0.9638 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/2.315, allocations: 303.6 kB / 0.9641 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/2.318, allocations: 1.431 MB / 0.9655 GB, free: 163.4 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03388/2.352, allocations: 14.86 MB / 0.98 GB, free: 163.3 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07921/2.431, allocations: 68.32 MB / 1.047 GB, free: 125.5 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/2.449, allocations: 8.526 MB / 1.055 GB, free: 123.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0253/2.474, allocations: 17.72 MB / 1.072 GB, free: 116.7 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/2.474, allocations: 75.83 kB / 1.072 GB, free: 116.6 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 5.641e-06/2.474, allocations: 0 / 1.072 GB, free: 116.6 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1429/2.617, allocations: 59.1 MB / 1.13 GB, free: 77.98 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/2.617, allocations: 440.2 kB / 1.131 GB, free: 77.45 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009767/2.627, allocations: 5.974 MB / 1.136 GB, free: 71.57 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001258/2.628, allocations: 89.7 kB / 1.136 GB, free: 71.48 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002969/2.631, allocations: 4.61 MB / 1.141 GB, free: 67.04 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002185/2.634, allocations: 1.432 MB / 1.142 GB, free: 65.61 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/2.634, allocations: 160 kB / 1.143 GB, free: 65.46 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003516/2.635, allocations: 0.6645 MB / 1.143 GB, free: 64.79 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00573/2.64, allocations: 4.879 MB / 1.148 GB, free: 59.89 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00782/2.648, allocations: 9.046 MB / 1.157 GB, free: 48.93 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008666/2.657, allocations: 6.684 MB / 1.163 GB, free: 42.35 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/2.657, allocations: 43.39 kB / 1.163 GB, free: 42.31 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.03286/2.69, allocations: 18.58 MB / 1.181 GB, free: 23.68 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/2.69, allocations: 68 kB / 1.182 GB, free: 23.62 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003148/2.69, allocations: 144.8 kB / 1.182 GB, free: 23.48 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/2.703, allocations: 5.321 MB / 1.187 GB, free: 18.15 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00684/2.71, allocations: 1.868 MB / 1.189 GB, free: 16.28 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0429/2.753, allocations: 29.71 MB / 1.218 GB, free: 2.422 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009068/2.762, allocations: 0.7396 MB / 1.218 GB, free: 1.684 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002677/2.765, allocations: 455.9 kB / 1.219 GB, free: 1.238 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.4167/3.182, allocations: 3.9 MB / 1.223 GB, free: 165.2 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/3.184, allocations: 0.5926 MB / 1.223 GB, free: 165.2 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02738/3.211, allocations: 13.43 MB / 1.236 GB, free: 165 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.082e-05/3.211, allocations: 39.88 kB / 1.236 GB, free: 165 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-05/3.211, allocations: 22 kB / 1.236 GB, free: 165 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.22e-05/3.211, allocations: 18.84 kB / 1.236 GB, free: 165 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04412/3.255, allocations: 25.9 MB / 1.262 GB, free: 163.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/3.255, allocations: 7.203 kB / 1.262 GB, free: 163.7 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/3.258, allocations: 0.6416 MB / 1.262 GB, free: 163.7 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/3.269, allocations: 5.057 MB / 1.267 GB, free: 163.7 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008085/3.27, allocations: 66.78 kB / 1.267 GB, free: 163.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03448/3.305, allocations: 29.37 MB / 1.296 GB, free: 157.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/3.305, allocations: 6.281 kB / 1.296 GB, free: 157.7 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02742/3.332, allocations: 20.39 MB / 1.316 GB, free: 151.4 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/3.334, allocations: 0.6502 MB / 1.317 GB, free: 151.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/3.336, allocations: 74.33 kB / 1.317 GB, free: 151.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003125/3.339, allocations: 0.4891 MB / 1.317 GB, free: 151.1 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008648/3.34, allocations: 260.4 kB / 1.317 GB, free: 151 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003027/3.34, allocations: 101.6 kB / 1.318 GB, free: 151 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.006316/3.346, allocations: 4.38 MB / 1.322 GB, free: 149.7 MB / 0.6984 GB Notification: Performance of sort global known variables: time 7.92e-07/3.346, allocations: 0 / 1.322 GB, free: 149.7 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.008519/3.355, allocations: 2.022 MB / 1.324 GB, free: 149.5 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.0007706/3.356, allocations: 234.9 kB / 1.324 GB, free: 149.4 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.01581/3.371, allocations: 11.95 MB / 1.336 GB, free: 141.9 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/3.371, allocations: 4 kB / 1.336 GB, free: 141.9 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0083/3.38, allocations: 5.591 MB / 1.341 GB, free: 137.4 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005694/3.385, allocations: 0.9764 MB / 1.342 GB, free: 136.6 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03899/3.424, allocations: 22.61 MB / 1.364 GB, free: 116.9 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007555/3.432, allocations: 5.761 MB / 1.37 GB, free: 112.6 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.007737/3.44, allocations: 3.535 MB / 1.373 GB, free: 110.4 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/3.441, allocations: 405.6 kB / 1.374 GB, free: 110 MB / 0.6984 GB Notification: Performance of SimCode: time 1.122e-06/3.441, allocations: 0 / 1.374 GB, free: 110 MB / 0.6984 GB Notification: Performance of Templates: time 0.1422/3.583, allocations: 96.87 MB / 1.468 GB, free: 14.95 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/jenkins1/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