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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 180.2 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007638/0.0007637, allocations: 78.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8712/0.8712, allocations: 120.4 MB / 440.6 MB, free: 4.086 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 12 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.162, allocations: 79.99 MB / 0.5969 GB, free: 9.141 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7625/0.9245, allocations: 146 MB / 0.7395 GB, free: 15.59 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.9248, allocations: 81.92 kB / 0.7396 GB, free: 15.56 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.368/1.293, allocations: 144.4 MB / 0.8806 GB, free: 3.023 MB / 0.6203 GB Notification: Performance of FrontEnd: time 4.599e-06/1.293, allocations: 0 / 0.8806 GB, free: 3.023 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 0.0007866/1.294, allocations: 144 kB / 0.8807 GB, free: 2.883 MB / 0.6203 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2256 * Number of variables: 2256 Notification: Performance of Generate backend data structure: time 0.0309/1.325, allocations: 9.078 MB / 0.8896 GB, free: 10.34 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.325, allocations: 8.031 kB / 0.8896 GB, free: 10.33 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04101/1.366, allocations: 10.49 MB / 0.8998 GB, free: 0.7891 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.394, allocations: 11.4 MB / 0.911 GB, free: 7.977 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006789/1.394, allocations: 496 kB / 0.9115 GB, free: 7.668 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/1.398, allocations: 0.6742 MB / 0.9121 GB, free: 7.184 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.046/1.444, allocations: 17.27 MB / 0.929 GB, free: 8.828 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008883/1.445, allocations: 103 kB / 0.9291 GB, free: 8.734 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003702/1.449, allocations: 315.5 kB / 0.9294 GB, free: 8.605 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/1.452, allocations: 1.463 MB / 0.9308 GB, free: 7.363 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3792/1.831, allocations: 14.96 MB / 0.9454 GB, free: 156.2 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08578/1.917, allocations: 69.48 MB / 1.013 GB, free: 122.3 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/1.933, allocations: 8.534 MB / 1.022 GB, free: 121.2 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005674/1.939, allocations: 5.313 MB / 1.027 GB, free: 119.3 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02536/1.964, allocations: 18.19 MB / 1.045 GB, free: 112.7 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.964, allocations: 66 kB / 1.045 GB, free: 112.6 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=336): time 6.042e-06/1.964, allocations: 0 / 1.045 GB, free: 112.6 MB / 0.6671 GB Notification: Performance of matching and sorting (n=413): time 0.139/2.103, allocations: 59.48 MB / 1.103 GB, free: 86.67 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/2.103, allocations: 432 kB / 1.103 GB, free: 86.16 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/2.114, allocations: 6.855 MB / 1.11 GB, free: 79.75 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/2.115, allocations: 85.7 kB / 1.11 GB, free: 79.66 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.002648/2.117, allocations: 4.696 MB / 1.114 GB, free: 75.1 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/2.119, allocations: 1.492 MB / 1.116 GB, free: 73.62 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/2.12, allocations: 168 kB / 1.116 GB, free: 73.45 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0003718/2.12, allocations: 0.665 MB / 1.117 GB, free: 72.78 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005792/2.126, allocations: 5.02 MB / 1.122 GB, free: 67.75 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008111/2.134, allocations: 9.28 MB / 1.131 GB, free: 56.52 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/2.151, allocations: 15.36 MB / 1.146 GB, free: 39.32 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/2.151, allocations: 40 kB / 1.146 GB, free: 39.29 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.03276/2.184, allocations: 18.95 MB / 1.164 GB, free: 20.29 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/2.184, allocations: 72.25 kB / 1.164 GB, free: 20.22 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/2.185, allocations: 144 kB / 1.164 GB, free: 20.08 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/2.196, allocations: 5.273 MB / 1.17 GB, free: 14.8 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006835/2.203, allocations: 1.922 MB / 1.171 GB, free: 12.87 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03946/2.242, allocations: 28.64 MB / 1.199 GB, free: 104 kB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3753/2.618, allocations: 0.7496 MB / 1.2 GB, free: 160.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002144/2.62, allocations: 468.1 kB / 1.201 GB, free: 160.2 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 655 * Number of states: 0 () * Number of discrete variables: 57 (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 (952): * Single equations (assignments): 948 * 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 {(6,86.1%) 97} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008986/2.629, allocations: 3.975 MB / 1.205 GB, free: 160.1 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/2.631, allocations: 0.6153 MB / 1.205 GB, free: 160.1 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02583/2.656, allocations: 13.77 MB / 1.219 GB, free: 159.8 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001136/2.657, allocations: 42.06 kB / 1.219 GB, free: 159.8 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.867e-05/2.657, allocations: 18.91 kB / 1.219 GB, free: 159.8 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.82e-05/2.657, allocations: 17.67 kB / 1.219 GB, free: 159.8 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04319/2.7, allocations: 26.52 MB / 1.245 GB, free: 158.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/2.7, allocations: 3.5 kB / 1.245 GB, free: 158.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/2.703, allocations: 0.6795 MB / 1.245 GB, free: 158.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.714, allocations: 5.058 MB / 1.25 GB, free: 158.5 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009047/2.715, allocations: 79.88 kB / 1.25 GB, free: 158.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03266/2.747, allocations: 28.3 MB / 1.278 GB, free: 152.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/2.747, allocations: 9.688 kB / 1.278 GB, free: 152.4 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03261/2.78, allocations: 20.31 MB / 1.298 GB, free: 146.7 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004375/2.784, allocations: 1.566 MB / 1.299 GB, free: 146.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002196/2.787, allocations: 83.52 kB / 1.299 GB, free: 146.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004563/2.791, allocations: 0.4979 MB / 1.3 GB, free: 146.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/2.793, allocations: 267 kB / 1.3 GB, free: 146.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005785/2.793, allocations: 103.5 kB / 1.3 GB, free: 146.1 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.009458/2.803, allocations: 4.487 MB / 1.305 GB, free: 144.8 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.5e-07/2.803, allocations: 0 / 1.305 GB, free: 144.8 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01133/2.814, allocations: 2.068 MB / 1.307 GB, free: 144.6 MB / 0.6828 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 (299): * Single equations (assignments): 295 * 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,74.1%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/2.815, allocations: 233.5 kB / 1.307 GB, free: 144.4 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01883/2.834, allocations: 12.22 MB / 1.319 GB, free: 137.1 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/2.834, allocations: 3.375 kB / 1.319 GB, free: 137.1 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.009196/2.843, allocations: 5.745 MB / 1.324 GB, free: 132.4 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/2.856, allocations: 1.031 MB / 1.325 GB, free: 131.6 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04412/2.901, allocations: 23.22 MB / 1.348 GB, free: 111.3 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/2.912, allocations: 5.722 MB / 1.354 GB, free: 106.5 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.009896/2.922, allocations: 3.624 MB / 1.357 GB, free: 102.9 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/2.924, allocations: 411.3 kB / 1.358 GB, free: 102.5 MB / 0.6828 GB Notification: Performance of SimCode: time 7.52e-07/2.924, allocations: 0 / 1.358 GB, free: 102.5 MB / 0.6828 GB Notification: Performance of Templates: time 0.4649/3.389, allocations: 98.86 MB / 1.454 GB, free: 153.4 MB / 0.6828 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