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.0009037/0.0009037, allocations: 179.5 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.123/1.123, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008009/0.0008009, allocations: 96.53 kB / 286.5 MB, free: 208 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7437/0.7437, allocations: 120.5 MB / 457.9 MB, free: 7.008 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.895e-05, allocations: 0 / 0.5357 GB, free: 12.16 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4512, allocations: 82.83 MB / 0.6166 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6462/1.097, allocations: 146.6 MB / 0.7598 GB, free: 42.4 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/1.098, allocations: 71.64 kB / 0.7599 GB, free: 42.4 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2121/1.31, allocations: 105 MB / 0.8624 GB, free: 1.613 MB / 0.5578 GB Notification: Performance of FrontEnd: time 1.342e-06/1.31, allocations: 0 / 0.8624 GB, free: 1.613 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.000246/1.31, allocations: 99.98 kB / 0.8625 GB, free: 1.516 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.0117/1.322, allocations: 5.342 MB / 0.8677 GB, free: 12.47 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/1.322, allocations: 8.031 kB / 0.8677 GB, free: 12.46 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03142/1.353, allocations: 9.244 MB / 0.8767 GB, free: 4.16 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/1.369, allocations: 7.705 MB / 0.8842 GB, free: 13.97 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/1.369, allocations: 351.1 kB / 0.8846 GB, free: 13.75 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009039/1.37, allocations: 464.6 kB / 0.885 GB, free: 13.42 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/1.386, allocations: 11.67 MB / 0.8964 GB, free: 3.637 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/1.386, allocations: 75.3 kB / 0.8965 GB, free: 3.566 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/1.386, allocations: 215.7 kB / 0.8967 GB, free: 3.477 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/1.387, allocations: 1.017 MB / 0.8977 GB, free: 2.605 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/1.402, allocations: 9.845 MB / 0.9073 GB, free: 11.27 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/1.444, allocations: 48.86 MB / 0.955 GB, free: 76 kB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009045/1.454, allocations: 4.81 MB / 0.9597 GB, free: 12.09 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/1.456, allocations: 2.677 MB / 0.9623 GB, free: 10.35 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/1.469, allocations: 9.776 MB / 0.9719 GB, free: 3.113 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/1.469, allocations: 62.31 kB / 0.9719 GB, free: 3.059 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=186): time 3.316e-06/1.469, allocations: 0 / 0.9719 GB, free: 3.059 MB / 0.6515 GB Notification: Performance of matching and sorting (n=217): time 0.04919/1.518, allocations: 23.01 MB / 0.9944 GB, free: 15.19 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/1.518, allocations: 307.8 kB / 0.9947 GB, free: 14.83 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/1.523, allocations: 4.195 MB / 0.9988 GB, free: 11.62 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.523, allocations: 58.27 kB / 0.9989 GB, free: 11.59 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.525, allocations: 3.414 MB / 1.002 GB, free: 8.949 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/1.526, allocations: 0.8178 MB / 1.003 GB, free: 8.246 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.526, allocations: 116.8 kB / 1.003 GB, free: 8.223 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003187/1.527, allocations: 0.5624 MB / 1.004 GB, free: 7.746 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/1.53, allocations: 2.569 MB / 1.006 GB, free: 5.211 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2803/1.81, allocations: 6.026 MB / 1.012 GB, free: 182.1 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005424/1.816, allocations: 3.951 MB / 1.016 GB, free: 182.1 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.595e-05/1.816, allocations: 34.59 kB / 1.016 GB, free: 182.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0136/1.829, allocations: 10.06 MB / 1.026 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/1.829, allocations: 59.14 kB / 1.026 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.219e-05/1.83, allocations: 120.9 kB / 1.026 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/1.833, allocations: 1.862 MB / 1.028 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.836, allocations: 1.365 MB / 1.029 GB, free: 181.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.848, allocations: 11.13 MB / 1.04 GB, free: 180.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.851, allocations: 422.6 kB / 1.04 GB, free: 180.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/1.852, allocations: 355 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.0005982/1.852, allocations: 0.5571 MB / 1.041 GB, free: 180 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/1.853, allocations: 415.7 kB / 1.042 GB, free: 180 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007546/1.86, allocations: 5.407 MB / 1.047 GB, free: 179.8 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/1.86, allocations: 26.12 kB / 1.047 GB, free: 179.8 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.86, allocations: 8.656 kB / 1.047 GB, free: 179.8 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.86, allocations: 6.797 kB / 1.047 GB, free: 179.8 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.875, allocations: 11.91 MB / 1.059 GB, free: 178.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.875, allocations: 3.688 kB / 1.059 GB, free: 178.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.877, allocations: 352.6 kB / 1.059 GB, free: 178.2 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/1.88, allocations: 1.673 MB / 1.061 GB, free: 177.9 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.88, allocations: 35.47 kB / 1.061 GB, free: 177.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/1.891, allocations: 10.75 MB / 1.071 GB, free: 173.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.891, allocations: 7.453 kB / 1.071 GB, free: 173.8 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009519/1.901, allocations: 9.016 MB / 1.08 GB, free: 170.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/1.901, allocations: 472.6 kB / 1.08 GB, free: 170.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/1.902, allocations: 41.97 kB / 1.08 GB, free: 170.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.903, allocations: 206.6 kB / 1.081 GB, free: 170.1 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/1.904, allocations: 133.8 kB / 1.081 GB, free: 170.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.904, allocations: 54.62 kB / 1.081 GB, free: 170.1 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.003138/1.907, allocations: 3.007 MB / 1.084 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2e-07/1.907, allocations: 2.844 kB / 1.084 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.003837/1.911, allocations: 1.22 MB / 1.085 GB, free: 169 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.0003576/1.911, allocations: 190.1 kB / 1.085 GB, free: 168.9 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.00616/1.917, allocations: 6.26 MB / 1.091 GB, free: 166.3 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.917, allocations: 0 / 1.091 GB, free: 166.3 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.92, allocations: 2.44 MB / 1.094 GB, free: 164.2 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.922, allocations: 0.619 MB / 1.094 GB, free: 163.7 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.933, 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.003081/1.936, allocations: 4.042 MB / 1.108 GB, free: 152 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.00394/1.94, allocations: 2.187 MB / 1.11 GB, free: 150.6 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/1.941, allocations: 276.4 kB / 1.11 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of SimCode: time 4.41e-07/1.941, allocations: 0 / 1.11 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of Templates: time 0.06023/2.001, allocations: 50.65 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/jenkins/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