Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001447/0.001447, allocations: 175.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.279/1.279, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.0008733/0.0008733, allocations: 97.84 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8661/0.8661, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.201e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4899, allocations: 82.83 MB / 0.6166 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7257/1.216, allocations: 146.6 MB / 0.7598 GB, free: 42.47 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.216, allocations: 77.5 kB / 0.7599 GB, free: 42.47 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2346/1.45, allocations: 104.9 MB / 0.8624 GB, free: 1.59 MB / 0.5578 GB Notification: Performance of FrontEnd: time 1.192e-06/1.451, allocations: 0 / 0.8624 GB, free: 1.59 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0002751/1.451, allocations: 99.94 kB / 0.8625 GB, free: 1.492 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.01265/1.463, allocations: 5.345 MB / 0.8677 GB, free: 12.45 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.464, allocations: 8.031 kB / 0.8677 GB, free: 12.45 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03345/1.497, allocations: 9.237 MB / 0.8767 GB, free: 4.148 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/1.513, allocations: 7.708 MB / 0.8843 GB, free: 13.95 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/1.514, allocations: 350 kB / 0.8846 GB, free: 13.73 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/1.515, allocations: 472.8 kB / 0.885 GB, free: 13.39 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/1.533, allocations: 11.66 MB / 0.8964 GB, free: 3.621 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/1.533, allocations: 71.36 kB / 0.8965 GB, free: 3.551 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005319/1.533, allocations: 219.2 kB / 0.8967 GB, free: 3.461 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/1.535, allocations: 1.021 MB / 0.8977 GB, free: 2.586 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/1.55, allocations: 9.845 MB / 0.9073 GB, free: 11.25 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04448/1.595, allocations: 48.87 MB / 0.955 GB, free: 56 kB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009644/1.604, allocations: 4.806 MB / 0.9597 GB, free: 12.07 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/1.607, allocations: 2.673 MB / 0.9623 GB, free: 10.34 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/1.62, allocations: 9.782 MB / 0.9719 GB, free: 3.098 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.62, allocations: 65.8 kB / 0.972 GB, free: 3.039 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=186): time 3.727e-06/1.62, allocations: 0 / 0.972 GB, free: 3.039 MB / 0.6515 GB Notification: Performance of matching and sorting (n=217): time 0.05199/1.672, allocations: 23 MB / 0.9944 GB, free: 15.18 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.672, allocations: 304.3 kB / 0.9947 GB, free: 14.82 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005319/1.678, allocations: 4.196 MB / 0.9988 GB, free: 11.61 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/1.678, allocations: 59.14 kB / 0.9989 GB, free: 11.57 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.68, allocations: 3.418 MB / 1.002 GB, free: 8.934 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/1.68, allocations: 0.8139 MB / 1.003 GB, free: 8.23 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.681, allocations: 117.7 kB / 1.003 GB, free: 8.207 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003124/1.681, allocations: 0.5584 MB / 1.004 GB, free: 7.734 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/1.684, allocations: 2.571 MB / 1.006 GB, free: 5.25 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.314/1.998, allocations: 6.027 MB / 1.012 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006251/2.005, allocations: 3.946 MB / 1.016 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.615e-05/2.005, allocations: 33.94 kB / 1.016 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01679/2.022, allocations: 10.05 MB / 1.026 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/2.022, allocations: 63.92 kB / 1.026 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/2.022, allocations: 126.1 kB / 1.026 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003878/2.026, allocations: 1.857 MB / 1.028 GB, free: 180.8 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/2.03, allocations: 1.365 MB / 1.029 GB, free: 180.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/2.042, allocations: 11.13 MB / 1.04 GB, free: 179.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/2.046, allocations: 429.3 kB / 1.04 GB, free: 179.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006845/2.047, allocations: 357 kB / 1.041 GB, free: 179.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.0007848/2.048, allocations: 0.5608 MB / 1.041 GB, free: 179 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/2.048, allocations: 421.7 kB / 1.042 GB, free: 179 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/2.056, allocations: 5.39 MB / 1.047 GB, free: 178.8 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/2.056, allocations: 25.5 kB / 1.047 GB, free: 178.8 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/2.056, allocations: 7.906 kB / 1.047 GB, free: 178.8 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/2.056, allocations: 11.34 kB / 1.047 GB, free: 178.8 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/2.074, allocations: 11.91 MB / 1.059 GB, free: 177.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/2.074, allocations: 2.531 kB / 1.059 GB, free: 177.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/2.075, allocations: 346.1 kB / 1.059 GB, free: 177.2 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/2.079, allocations: 1.679 MB / 1.061 GB, free: 176.9 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/2.079, allocations: 40.66 kB / 1.061 GB, free: 176.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/2.091, allocations: 10.74 MB / 1.071 GB, free: 172.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/2.091, allocations: 0 / 1.071 GB, free: 172.8 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/2.102, allocations: 9.029 MB / 1.08 GB, free: 169.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/2.103, allocations: 476.5 kB / 1.08 GB, free: 169.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000898/2.104, allocations: 38.94 kB / 1.08 GB, free: 169.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/2.106, allocations: 207.5 kB / 1.081 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/2.106, allocations: 128.6 kB / 1.081 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/2.107, allocations: 57.19 kB / 1.081 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.003903/2.111, allocations: 3.014 MB / 1.084 GB, free: 168.1 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.91e-07/2.111, allocations: 0 / 1.084 GB, free: 168.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004704/2.115, allocations: 1.223 MB / 1.085 GB, free: 168 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.000421/2.116, allocations: 179.7 kB / 1.085 GB, free: 167.9 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.00731/2.123, allocations: 6.261 MB / 1.091 GB, free: 165.2 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/2.123, allocations: 0 / 1.091 GB, free: 165.2 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002926/2.126, allocations: 2.438 MB / 1.094 GB, free: 163.1 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/2.129, allocations: 0.6239 MB / 1.094 GB, free: 162.6 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/2.142, allocations: 10.01 MB / 1.104 GB, free: 153.9 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/2.146, allocations: 4.033 MB / 1.108 GB, free: 150.9 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.004683/2.151, allocations: 2.196 MB / 1.11 GB, free: 149.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007588/2.151, allocations: 273.8 kB / 1.11 GB, free: 149.3 MB / 0.6828 GB Notification: Performance of SimCode: time 8.11e-07/2.151, allocations: 0 / 1.11 GB, free: 149.3 MB / 0.6828 GB Notification: Performance of Templates: time 0.0706/2.222, allocations: 50.65 MB / 1.16 GB, free: 107.4 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches