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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 106.4 kB / 17.74 MB, free: 5.352 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.001293/0.001293, allocations: 183.1 kB / 18.68 MB, free: 4.426 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.043/1.043, allocations: 119.3 MB / 411.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.5 kB / 0.5717 GB, free: 39.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 80.69 MB / 0.6505 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01318/0.1595, allocations: 12.35 MB / 0.6625 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.008903/0.1685, allocations: 4.423 MB / 0.6668 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.1706, allocations: 91.69 kB / 0.6669 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.1763, allocations: 3.092 MB / 0.6699 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00552/0.1819, allocations: 2.199 MB / 0.6721 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.1841, allocations: 0.9789 MB / 0.673 GB, free: 5.906 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.009859/0.194, allocations: 7.061 MB / 0.6799 GB, free: 14.83 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006386/0.2004, allocations: 4.899 MB / 0.6847 GB, free: 9.855 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.2042, allocations: 2.115 MB / 0.6868 GB, free: 7.734 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.2087, allocations: 2.8 MB / 0.6895 GB, free: 4.926 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.2103, allocations: 428 kB / 0.6899 GB, free: 4.508 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.2135, allocations: 1.326 MB / 0.6912 GB, free: 3.18 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003491/0.217, allocations: 2.541 MB / 0.6937 GB, free: 0.6328 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.004967/0.222, allocations: 2.754 MB / 0.6964 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.2369, allocations: 8.955 MB / 0.7051 GB, free: 4.875 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.237, allocations: 0 / 0.7051 GB, free: 4.875 MB / 0.5452 GB Notification: Performance of FrontEnd: time 3.376e-06/0.237, allocations: 4 kB / 0.7051 GB, free: 4.871 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0004284/0.2374, allocations: 0 / 0.7051 GB, free: 4.871 MB / 0.5452 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.02078/0.2582, allocations: 6.587 MB / 0.7116 GB, free: 14.2 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.2583, allocations: 11.89 kB / 0.7116 GB, free: 14.18 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03375/0.292, allocations: 5.306 MB / 0.7168 GB, free: 8.867 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.3046, allocations: 5.128 MB / 0.7218 GB, free: 3.66 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.3049, allocations: 267.1 kB / 0.722 GB, free: 3.398 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.3067, allocations: 367.9 kB / 0.7224 GB, free: 3.039 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.3312, allocations: 11.7 MB / 0.7338 GB, free: 6.625 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/0.3316, allocations: 67.53 kB / 0.7339 GB, free: 6.559 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/0.3331, allocations: 171.8 kB / 0.734 GB, free: 6.391 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003773/0.3369, allocations: 2.076 MB / 0.7361 GB, free: 4.312 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.3588, allocations: 10.43 MB / 0.7463 GB, free: 9.859 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6816/1.04, allocations: 43.29 MB / 0.7885 GB, free: 80.14 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.051, allocations: 4.759 MB / 0.7932 GB, free: 79.15 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003585/1.055, allocations: 2.9 MB / 0.796 GB, free: 78.1 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/1.07, allocations: 10.29 MB / 0.8061 GB, free: 74.14 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/1.07, allocations: 61.69 kB / 0.8061 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=186): time 5.821e-06/1.07, allocations: 0 / 0.8061 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of matching and sorting (n=218): time 0.05936/1.13, allocations: 28.48 MB / 0.8339 GB, free: 55.22 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/1.13, allocations: 315.5 kB / 0.8342 GB, free: 54.85 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/1.135, allocations: 4.847 MB / 0.839 GB, free: 50.06 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004831/1.136, allocations: 57.7 kB / 0.839 GB, free: 50 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.138, allocations: 3.451 MB / 0.8424 GB, free: 46.83 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.000829/1.138, allocations: 0.8717 MB / 0.8432 GB, free: 45.98 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/1.14, allocations: 1.337 MB / 0.8445 GB, free: 44.63 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/1.14, allocations: 305.1 kB / 0.8448 GB, free: 44.33 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/1.143, allocations: 2.999 MB / 0.8478 GB, free: 41.32 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/1.148, allocations: 6.529 MB / 0.8541 GB, free: 33.12 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008759/1.156, allocations: 10.09 MB / 0.864 GB, free: 21.36 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.828e-05/1.157, allocations: 39.94 kB / 0.864 GB, free: 21.32 MB / 0.6079 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01701/1.174, allocations: 11.81 MB / 0.8756 GB, free: 9.492 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/1.174, allocations: 56 kB / 0.8756 GB, free: 9.438 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.737e-05/1.174, allocations: 120 kB / 0.8757 GB, free: 9.32 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005439/1.179, allocations: 2.662 MB / 0.8783 GB, free: 6.652 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/1.184, allocations: 1.54 MB / 0.8798 GB, free: 5.109 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/1.201, allocations: 14.13 MB / 0.8936 GB, free: 6.832 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.206, allocations: 479.4 kB / 0.8941 GB, free: 6.363 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008702/1.207, allocations: 371.7 kB / 0.8944 GB, free: 6.004 MB / 0.6235 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 758 * 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 {(4,39,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004315/1.211, allocations: 2.603 MB / 0.897 GB, free: 3.395 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.212, allocations: 429.1 kB / 0.8974 GB, free: 2.973 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.225, allocations: 6.635 MB / 0.9039 GB, free: 12.32 MB / 0.6392 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/1.225, allocations: 15.97 kB / 0.9039 GB, free: 12.3 MB / 0.6392 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.225, allocations: 0.75 kB / 0.9039 GB, free: 12.3 MB / 0.6392 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.226, allocations: 0.4903 MB / 0.9044 GB, free: 11.79 MB / 0.6392 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/1.227, allocations: 41.73 kB / 0.9044 GB, free: 11.75 MB / 0.6392 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.23, allocations: 259.6 kB / 0.9047 GB, free: 11.5 MB / 0.6392 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006876/1.231, allocations: 149.8 kB / 0.9048 GB, free: 11.36 MB / 0.6392 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01325/1.244, allocations: 7.226 MB / 0.9119 GB, free: 4.156 MB / 0.6392 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01053/1.255, allocations: 7.941 MB / 0.9196 GB, free: 12.2 MB / 0.6548 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002768/1.258, allocations: 2.175 MB / 0.9217 GB, free: 10.02 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.006176/1.264, allocations: 3.109 MB / 0.9248 GB, free: 6.914 MB / 0.6548 GB Notification: Performance of Backend: time 8.11e-07/1.264, allocations: 0 / 0.9248 GB, free: 6.914 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.278, allocations: 5.455 MB / 0.9301 GB, free: 1.48 MB / 0.6548 GB Notification: Performance of SimCode: time 0.02621/1.304, allocations: 11.63 MB / 0.9415 GB, free: 5.816 MB / 0.6704 GB Notification: Performance of Templates: time 0.1186/1.423, allocations: 66.61 MB / 1.007 GB, free: 3.547 MB / 0.7329 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)