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.001484/0.001484, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001618/0.001618, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.251/1.251, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.854/0.854, allocations: 119.3 MB / 411.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.78 kB / 0.5717 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1419, allocations: 80.69 MB / 0.6505 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4): time 0.0129/0.1549, allocations: 12.36 MB / 0.6625 GB, free: 0.5352 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.008171/0.1631, allocations: 4.427 MB / 0.6669 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.1648, allocations: 83.75 kB / 0.6669 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.005336/0.1702, allocations: 3.088 MB / 0.67 GB, free: 8.91 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.175, allocations: 2.132 MB / 0.672 GB, free: 6.77 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.1769, allocations: 0.9827 MB / 0.673 GB, free: 5.785 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01307/0.19, allocations: 10.99 MB / 0.6837 GB, free: 10.78 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009502/0.1996, allocations: 8.33 MB / 0.6919 GB, free: 2.355 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005225/0.2048, allocations: 3.237 MB / 0.695 GB, free: 15.11 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006286/0.2111, allocations: 4.296 MB / 0.6992 GB, free: 10.8 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.2138, allocations: 0.6406 MB / 0.6998 GB, free: 10.16 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.2182, allocations: 1.537 MB / 0.7013 GB, free: 8.625 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.004717/0.2229, allocations: 3.811 MB / 0.7051 GB, free: 4.805 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.006117/0.229, allocations: 4.099 MB / 0.7091 GB, free: 0.6836 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.2421, allocations: 13.05 MB / 0.7218 GB, free: 3.598 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2421, allocations: 0 / 0.7218 GB, free: 3.598 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2422, allocations: 0 / 0.7218 GB, free: 3.598 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.000322/0.2425, allocations: 0 / 0.7218 GB, free: 3.598 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.02048/0.263, allocations: 9.965 MB / 0.7315 GB, free: 9.535 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.263, allocations: 15.89 kB / 0.7316 GB, free: 9.52 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05298/0.316, allocations: 9.627 MB / 0.741 GB, free: 15.87 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.3337, allocations: 8.578 MB / 0.7493 GB, free: 7.219 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.334, allocations: 390.5 kB / 0.7497 GB, free: 6.836 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.3357, allocations: 0.5425 MB / 0.7502 GB, free: 6.293 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/0.3643, allocations: 17.31 MB / 0.7671 GB, free: 4.047 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.3646, allocations: 91.17 kB / 0.7672 GB, free: 3.957 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008151/0.3654, allocations: 243.8 kB / 0.7675 GB, free: 3.719 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004612/0.3701, allocations: 2.857 MB / 0.7703 GB, free: 0.8555 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5104/0.8805, allocations: 15.81 MB / 0.7857 GB, free: 96.3 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06521/0.9457, allocations: 63.26 MB / 0.8475 GB, free: 41.69 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/0.9609, allocations: 8.229 MB / 0.8555 GB, free: 33.34 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005241/0.9662, allocations: 5.603 MB / 0.861 GB, free: 27.72 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02136/0.9876, allocations: 18.84 MB / 0.8794 GB, free: 8.887 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.9877, allocations: 68.23 kB / 0.8794 GB, free: 8.812 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=318): time 5.961e-06/0.9877, allocations: 0 / 0.8794 GB, free: 8.812 MB / 0.6079 GB Notification: Performance of matching and sorting (n=395): time 0.1489/1.137, allocations: 64 MB / 0.9419 GB, free: 8.715 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/1.137, allocations: 429.1 kB / 0.9424 GB, free: 8.203 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008983/1.146, allocations: 6.85 MB / 0.949 GB, free: 1.34 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.0008942/1.147, allocations: 89.7 kB / 0.9491 GB, free: 1.246 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.003002/1.15, allocations: 4.47 MB / 0.9535 GB, free: 12.72 MB / 0.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.151, allocations: 1.438 MB / 0.9549 GB, free: 11.27 MB / 0.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/1.154, allocations: 1.883 MB / 0.9567 GB, free: 9.367 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/1.154, allocations: 305.1 kB / 0.957 GB, free: 9.066 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007073/1.161, allocations: 5.603 MB / 0.9625 GB, free: 3.453 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/1.173, allocations: 9.886 MB / 0.9722 GB, free: 7.52 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02216/1.195, allocations: 16.24 MB / 0.988 GB, free: 5.266 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/1.196, allocations: 40 kB / 0.9881 GB, free: 5.227 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1143) (initialization): time 0.04082/1.236, allocations: 21.94 MB / 1.009 GB, free: 15.24 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/1.236, allocations: 64.19 kB / 1.01 GB, free: 15.18 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.237, allocations: 151.9 kB / 1.01 GB, free: 15.03 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/1.253, allocations: 7.071 MB / 1.017 GB, free: 7.945 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006709/1.26, allocations: 2.086 MB / 1.019 GB, free: 5.855 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04616/1.306, allocations: 35.68 MB / 1.053 GB, free: 2.004 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00701/1.313, allocations: 0.8501 MB / 1.054 GB, free: 1.152 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.314, allocations: 475.9 kB / 1.055 GB, free: 0.6875 MB / 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.005733/1.32, allocations: 3.898 MB / 1.059 GB, free: 12.77 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.321, allocations: 0.5785 MB / 1.059 GB, free: 12.19 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3067/1.628, allocations: 16.05 MB / 1.075 GB, free: 267.9 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/1.628, allocations: 19.33 kB / 1.075 GB, free: 267.9 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.628, allocations: 1.156 kB / 1.075 GB, free: 267.9 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/1.63, allocations: 0.6757 MB / 1.075 GB, free: 267.8 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/1.631, allocations: 69.61 kB / 1.076 GB, free: 267.8 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003364/1.634, allocations: 0.5988 MB / 1.076 GB, free: 267.8 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000912/1.635, allocations: 323.7 kB / 1.076 GB, free: 267.8 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02617/1.661, allocations: 16.35 MB / 1.092 GB, free: 266.4 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01622/1.678, allocations: 16.5 MB / 1.109 GB, free: 261.4 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004541/1.682, allocations: 4.792 MB / 1.113 GB, free: 259.3 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.005929/1.688, allocations: 4.467 MB / 1.118 GB, free: 257.1 MB / 0.7954 GB Notification: Performance of Backend: time 8.12e-07/1.688, allocations: 0 / 1.118 GB, free: 257.1 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.703, allocations: 9.433 MB / 1.127 GB, free: 249 MB / 0.7954 GB Notification: Performance of SimCode: time 0.0263/1.73, allocations: 17.63 MB / 1.144 GB, free: 231.6 MB / 0.7954 GB Notification: Performance of Templates: time 0.1498/1.88, allocations: 119.2 MB / 1.26 GB, free: 112.9 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)