Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 114.3 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 189.3 kB / 18.68 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9604/0.9604, allocations: 119.3 MB / 411.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.83 kB / 0.5717 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 80.7 MB / 0.6505 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4): time 0.01325/0.1719, allocations: 12.34 MB / 0.6625 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.009719/0.1817, allocations: 4.435 MB / 0.6669 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.1844, allocations: 83.69 kB / 0.6669 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.006026/0.1905, allocations: 3.095 MB / 0.67 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.005691/0.1962, allocations: 2.202 MB / 0.6721 GB, free: 6.742 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.1987, allocations: 0.9671 MB / 0.6731 GB, free: 5.773 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01527/0.214, allocations: 10.99 MB / 0.6838 GB, free: 10.77 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.2261, allocations: 8.33 MB / 0.6919 GB, free: 2.34 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/0.2329, allocations: 3.248 MB / 0.6951 GB, free: 15.08 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006855/0.2398, allocations: 4.296 MB / 0.6993 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.002315/0.2421, allocations: 0.6406 MB / 0.6999 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/0.2466, allocations: 1.534 MB / 0.7014 GB, free: 8.598 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.005403/0.2521, allocations: 3.811 MB / 0.7051 GB, free: 4.777 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.007554/0.2597, allocations: 4.095 MB / 0.7091 GB, free: 0.6602 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.2765, allocations: 13.1 MB / 0.7219 GB, free: 3.512 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.2765, allocations: 0 / 0.7219 GB, free: 3.512 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2765, allocations: 0 / 0.7219 GB, free: 3.512 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.000526/0.2771, allocations: 4 kB / 0.7219 GB, free: 3.508 MB / 0.5608 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.0281/0.3052, allocations: 10.18 MB / 0.7319 GB, free: 9.223 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.3053, allocations: 15.89 kB / 0.7319 GB, free: 9.207 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05731/0.3626, allocations: 9.675 MB / 0.7413 GB, free: 15.51 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0213/0.3839, allocations: 8.605 MB / 0.7497 GB, free: 6.836 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.3844, allocations: 390.5 kB / 0.7501 GB, free: 6.453 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003265/0.3877, allocations: 0.5427 MB / 0.7506 GB, free: 5.91 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03632/0.4241, allocations: 17.31 MB / 0.7675 GB, free: 3.664 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005493/0.4247, allocations: 99.34 kB / 0.7676 GB, free: 3.566 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/0.4269, allocations: 243.8 kB / 0.7679 GB, free: 3.328 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008374/0.4353, allocations: 2.853 MB / 0.7706 GB, free: 480 kB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6681/1.104, allocations: 15.82 MB / 0.7861 GB, free: 96.16 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06867/1.172, allocations: 63.35 MB / 0.848 GB, free: 41.14 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/1.188, allocations: 8.251 MB / 0.856 GB, free: 32.77 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005432/1.193, allocations: 5.598 MB / 0.8615 GB, free: 27.16 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02706/1.22, allocations: 18.86 MB / 0.8799 GB, free: 8.441 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.22, allocations: 65.48 kB / 0.88 GB, free: 8.367 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=318): time 6.793e-06/1.22, allocations: 0 / 0.88 GB, free: 8.367 MB / 0.6079 GB Notification: Performance of matching and sorting (n=395): time 0.164/1.384, allocations: 64.38 MB / 0.9428 GB, free: 8.289 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/1.385, allocations: 428.2 kB / 0.9432 GB, free: 7.777 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/1.395, allocations: 6.857 MB / 0.9499 GB, free: 1 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.0009772/1.396, allocations: 89.7 kB / 0.95 GB, free: 0.9062 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.003631/1.4, allocations: 4.624 MB / 0.9545 GB, free: 12.38 MB / 0.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.002099/1.402, allocations: 1.515 MB / 0.956 GB, free: 10.85 MB / 0.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003152/1.405, allocations: 1.892 MB / 0.9579 GB, free: 8.941 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.405, allocations: 305.1 kB / 0.9582 GB, free: 8.641 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008131/1.413, allocations: 5.607 MB / 0.9636 GB, free: 3.023 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01209/1.425, allocations: 9.879 MB / 0.9733 GB, free: 7.094 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02112/1.447, allocations: 16.23 MB / 0.9891 GB, free: 4.836 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.447, allocations: 40 kB / 0.9892 GB, free: 4.797 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1143) (initialization): time 0.04461/1.491, allocations: 21.97 MB / 1.011 GB, free: 14.78 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.492, allocations: 66.91 kB / 1.011 GB, free: 14.72 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/1.492, allocations: 144 kB / 1.011 GB, free: 14.58 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01799/1.51, allocations: 7.072 MB / 1.018 GB, free: 7.496 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007294/1.517, allocations: 2.094 MB / 1.02 GB, free: 5.398 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04911/1.566, allocations: 35.7 MB / 1.055 GB, free: 1.531 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008408/1.575, allocations: 0.8503 MB / 1.055 GB, free: 0.6797 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/1.576, allocations: 484 kB / 1.056 GB, free: 212 kB / 0.7798 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * 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 (1017): * Single equations (assignments): 1013 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,96,87.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007334/1.584, allocations: 3.899 MB / 1.06 GB, free: 12.29 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.585, allocations: 0.6093 MB / 1.06 GB, free: 11.68 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3284/1.914, allocations: 16.06 MB / 1.076 GB, free: 268.1 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-05/1.914, allocations: 19.91 kB / 1.076 GB, free: 268.1 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.914, allocations: 1.25 kB / 1.076 GB, free: 268.1 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/1.916, allocations: 0.6968 MB / 1.077 GB, free: 268 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/1.918, allocations: 70.45 kB / 1.077 GB, free: 268 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004818/1.923, allocations: 0.602 MB / 1.077 GB, free: 268 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001474/1.925, allocations: 321.3 kB / 1.078 GB, free: 268 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02771/1.952, allocations: 16.35 MB / 1.094 GB, free: 266.5 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02003/1.972, allocations: 16.53 MB / 1.11 GB, free: 261.6 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006077/1.978, allocations: 4.796 MB / 1.114 GB, free: 259.2 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.00661/1.985, allocations: 4.472 MB / 1.119 GB, free: 257 MB / 0.7954 GB Notification: Performance of Backend: time 1.172e-06/1.985, allocations: 0.8438 kB / 1.119 GB, free: 257 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.01609/2.001, allocations: 9.442 MB / 1.128 GB, free: 248.5 MB / 0.7954 GB Notification: Performance of SimCode: time 0.02485/2.026, allocations: 17.89 MB / 1.146 GB, free: 230.8 MB / 0.7954 GB Notification: Performance of Templates: time 0.4189/2.445, allocations: 119.2 MB / 1.262 GB, free: 112.1 MB / 0.7954 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1)