Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, 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.277/1.277, allocations: 221.3 MB / 235.5 MB, free: 2.871 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.001017/0.001016, allocations: 88.06 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8963/0.8963, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.454e-05, allocations: 3.984 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5457/0.5457, allocations: 82.84 MB / 0.6166 GB, free: 9.328 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8402/1.386, allocations: 146.6 MB / 0.7598 GB, free: 42.48 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.386, allocations: 79.75 kB / 0.7599 GB, free: 42.48 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2496/1.636, allocations: 105 MB / 0.8624 GB, free: 1.57 MB / 0.5578 GB Notification: Performance of FrontEnd: time 1.983e-06/1.636, allocations: 0 / 0.8624 GB, free: 1.57 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0003095/1.636, allocations: 100 kB / 0.8625 GB, free: 1.473 MB / 0.5578 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.02229/1.659, allocations: 5.344 MB / 0.8677 GB, free: 12.43 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/1.659, allocations: 12.03 kB / 0.8677 GB, free: 12.42 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03575/1.694, allocations: 9.242 MB / 0.8767 GB, free: 4.117 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/1.713, allocations: 7.709 MB / 0.8843 GB, free: 13.92 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.713, allocations: 344.3 kB / 0.8846 GB, free: 13.7 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/1.716, allocations: 476.8 kB / 0.885 GB, free: 13.36 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/1.74, allocations: 11.66 MB / 0.8964 GB, free: 3.59 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002907/1.74, allocations: 75.3 kB / 0.8965 GB, free: 3.52 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/1.741, allocations: 216.7 kB / 0.8967 GB, free: 3.43 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/1.743, allocations: 1.018 MB / 0.8977 GB, free: 2.559 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/1.762, allocations: 9.851 MB / 0.9073 GB, free: 11.21 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06428/1.827, allocations: 48.87 MB / 0.955 GB, free: 24 kB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/1.839, allocations: 4.793 MB / 0.9597 GB, free: 12.05 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/1.842, allocations: 2.677 MB / 0.9623 GB, free: 10.32 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/1.857, allocations: 9.786 MB / 0.9719 GB, free: 3.066 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.857, allocations: 61.19 kB / 0.9719 GB, free: 3.012 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=186): time 5.33e-06/1.857, allocations: 0 / 0.9719 GB, free: 3.012 MB / 0.6515 GB Notification: Performance of matching and sorting (n=217): time 0.05691/1.914, allocations: 23 MB / 0.9944 GB, free: 15.15 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.914, allocations: 307.4 kB / 0.9947 GB, free: 14.79 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006992/1.921, allocations: 4.199 MB / 0.9988 GB, free: 11.58 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0005497/1.922, allocations: 57.39 kB / 0.9989 GB, free: 11.54 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002516/1.924, allocations: 3.407 MB / 1.002 GB, free: 8.914 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.926, allocations: 0.8203 MB / 1.003 GB, free: 8.207 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/1.926, allocations: 122.9 kB / 1.003 GB, free: 8.18 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003239/1.926, allocations: 0.5551 MB / 1.004 GB, free: 7.711 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.93, allocations: 2.568 MB / 1.006 GB, free: 5.23 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3676/2.297, allocations: 6.028 MB / 1.012 GB, free: 182.2 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007199/2.305, allocations: 3.951 MB / 1.016 GB, free: 182.1 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002269/2.305, allocations: 38.31 kB / 1.016 GB, free: 182.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01998/2.325, allocations: 10.05 MB / 1.026 GB, free: 181.9 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/2.325, allocations: 61.05 kB / 1.026 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/2.325, allocations: 119.7 kB / 1.026 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004956/2.33, allocations: 1.862 MB / 1.028 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006285/2.337, allocations: 1.362 MB / 1.029 GB, free: 181.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/2.352, allocations: 11.13 MB / 1.04 GB, free: 180.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/2.357, allocations: 426.5 kB / 1.04 GB, free: 180.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/2.358, allocations: 349.2 kB / 1.041 GB, free: 180.3 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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[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 (706): * Single equations (assignments): 702 * 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 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000962/2.359, allocations: 0.5585 MB / 1.041 GB, free: 180.1 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/2.36, allocations: 420 kB / 1.042 GB, free: 180.1 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008454/2.368, allocations: 5.397 MB / 1.047 GB, free: 179.9 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/2.368, allocations: 21.97 kB / 1.047 GB, free: 179.9 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/2.368, allocations: 6.781 kB / 1.047 GB, free: 179.9 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/2.368, allocations: 17.91 kB / 1.047 GB, free: 179.9 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/2.388, allocations: 11.91 MB / 1.059 GB, free: 178.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/2.388, allocations: 6.188 kB / 1.059 GB, free: 178.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/2.389, allocations: 343.6 kB / 1.059 GB, free: 178.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003787/2.393, allocations: 1.676 MB / 1.061 GB, free: 178 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/2.393, allocations: 38.56 kB / 1.061 GB, free: 178 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/2.406, allocations: 10.74 MB / 1.071 GB, free: 173.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.406, allocations: 3.469 kB / 1.071 GB, free: 173.9 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/2.418, allocations: 9.019 MB / 1.08 GB, free: 170.6 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/2.419, allocations: 479.4 kB / 1.08 GB, free: 170.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006029/2.42, allocations: 35.34 kB / 1.08 GB, free: 170.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/2.421, allocations: 211 kB / 1.081 GB, free: 170.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/2.422, allocations: 129.7 kB / 1.081 GB, free: 170.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/2.422, allocations: 54.41 kB / 1.081 GB, free: 170.2 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.004592/2.427, allocations: 3.012 MB / 1.084 GB, free: 169.2 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.8e-07/2.427, allocations: 2.844 kB / 1.084 GB, free: 169.2 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.005965/2.433, allocations: 1.223 MB / 1.085 GB, free: 169.1 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005292/2.433, allocations: 189 kB / 1.085 GB, free: 169 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.008612/2.442, allocations: 6.257 MB / 1.091 GB, free: 166.2 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.442, allocations: 0 / 1.091 GB, free: 166.2 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/2.445, allocations: 2.44 MB / 1.094 GB, free: 164.1 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/2.449, allocations: 0.6093 MB / 1.094 GB, free: 163.6 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/2.466, allocations: 10.01 MB / 1.104 GB, free: 155 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00421/2.47, allocations: 4.038 MB / 1.108 GB, free: 151.9 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.005063/2.475, allocations: 2.2 MB / 1.11 GB, free: 150.6 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/2.476, allocations: 273.2 kB / 1.11 GB, free: 150.3 MB / 0.6828 GB Notification: Performance of SimCode: time 1.894e-06/2.476, allocations: 0 / 1.11 GB, free: 150.3 MB / 0.6828 GB Notification: Performance of Templates: time 0.08817/2.564, allocations: 50.66 MB / 1.16 GB, free: 108.5 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches