Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009886/0.0009886, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.117/1.117, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 106.6 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6481/0.6481, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 8 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 82.85 MB / 0.6243 GB, free: 9.117 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5362/0.6424, allocations: 146.7 MB / 0.7676 GB, free: 3.512 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.6427, allocations: 81.81 kB / 0.7677 GB, free: 3.473 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.9475/1.59, allocations: 230.4 MB / 0.9927 GB, free: 145.8 MB / 0.6828 GB Notification: Performance of FrontEnd: time 2.064e-06/1.59, allocations: 7.75 kB / 0.9927 GB, free: 145.8 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.0009266/1.591, allocations: 230.9 kB / 0.9929 GB, free: 145.8 MB / 0.6828 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3436 * Number of variables: 3436 Notification: Performance of Generate backend data structure: time 0.03796/1.629, allocations: 15.82 MB / 1.008 GB, free: 141.1 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.629, allocations: 7.75 kB / 1.008 GB, free: 141.1 MB / 0.6828 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006116/1.635, allocations: 1.788 MB / 1.01 GB, free: 141 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07906/1.714, allocations: 25.21 MB / 1.035 GB, free: 140.2 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03823/1.753, allocations: 20.32 MB / 1.055 GB, free: 138.5 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/1.753, allocations: 0.7659 MB / 1.055 GB, free: 138.5 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003812/1.757, allocations: 1.059 MB / 1.056 GB, free: 138.4 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04784/1.805, allocations: 27.87 MB / 1.084 GB, free: 125.6 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005794/1.806, allocations: 162.3 kB / 1.084 GB, free: 125.5 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/1.808, allocations: 483.6 kB / 1.084 GB, free: 125.1 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/1.81, allocations: 2.229 MB / 1.086 GB, free: 123.2 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/1.85, allocations: 24.65 MB / 1.11 GB, free: 101.5 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.357/2.207, allocations: 107.2 MB / 1.215 GB, free: 115.6 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/2.24, allocations: 15.88 MB / 1.231 GB, free: 114.8 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04194/2.282, allocations: 33.53 MB / 1.263 GB, free: 113.2 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/2.282, allocations: 106.2 kB / 1.264 GB, free: 113.1 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=582): time 7.975e-06/2.282, allocations: 0 / 1.264 GB, free: 113.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=752): time 0.2729/2.555, allocations: 130.8 MB / 1.391 GB, free: 56.26 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/2.555, allocations: 0.6678 MB / 1.392 GB, free: 55.45 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/2.568, allocations: 9.459 MB / 1.401 GB, free: 46.12 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.00173/2.57, allocations: 145.7 kB / 1.401 GB, free: 45.97 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.003426/2.573, allocations: 7.025 MB / 1.408 GB, free: 39.42 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/2.576, allocations: 2.675 MB / 1.411 GB, free: 36.77 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008394/2.577, allocations: 244 kB / 1.411 GB, free: 36.53 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0004544/2.578, allocations: 0.8658 MB / 1.412 GB, free: 35.66 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009641/2.587, allocations: 9.419 MB / 1.421 GB, free: 26.22 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/2.6, allocations: 15.01 MB / 1.436 GB, free: 8.816 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/2.614, allocations: 12.18 MB / 1.448 GB, free: 13 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/2.614, allocations: 56 kB / 1.448 GB, free: 12.94 MB / 0.6984 GB Notification: Performance of matching and sorting (n=1607) (initialization): time 0.3297/2.944, allocations: 35.48 MB / 1.482 GB, free: 141.1 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/2.944, allocations: 84.98 kB / 1.482 GB, free: 141.1 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/2.945, allocations: 183.2 kB / 1.483 GB, free: 141.1 MB / 0.714 GB Notification: Tearing is skipped for strong component 1 because system size of 223 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/2.945, allocations: 279.7 kB / 1.483 GB, free: 141.1 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009577/2.954, allocations: 2.872 MB / 1.486 GB, free: 141.1 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002655/2.955, allocations: 369.2 kB / 1.486 GB, free: 141.1 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/2.966, allocations: 1.388 MB / 1.487 GB, free: 141.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002555/2.969, allocations: 0.6514 MB / 1.488 GB, free: 141.1 MB / 0.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 837 * Number of states: 0 () * Number of discrete variables: 95 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[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[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[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 (1361): * Single equations (assignments): 1357 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(223,1.5%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0109/2.98, allocations: 6.497 MB / 1.494 GB, free: 140.9 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002675/2.982, allocations: 0.9666 MB / 1.495 GB, free: 140.9 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04409/3.026, allocations: 29.48 MB / 1.524 GB, free: 140.2 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.055e-05/3.026, allocations: 74 kB / 1.524 GB, free: 140.2 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-05/3.027, allocations: 44.56 kB / 1.524 GB, free: 140.2 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/3.027, allocations: 38.5 kB / 1.524 GB, free: 140.2 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.076/3.103, allocations: 54.58 MB / 1.578 GB, free: 130.9 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.685e-05/3.103, allocations: 7.156 kB / 1.578 GB, free: 130.9 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005027/3.108, allocations: 1.255 MB / 1.579 GB, free: 130.8 MB / 0.714 GB Notification: Tearing is skipped for strong component 2 because system size of 220 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-05/3.108, allocations: 28.72 kB / 1.579 GB, free: 130.8 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001593/3.109, allocations: 135.9 kB / 1.579 GB, free: 130.7 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-05/3.11, allocations: 29.42 kB / 1.579 GB, free: 130.7 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/3.11, allocations: 11.38 kB / 1.579 GB, free: 130.7 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05927/3.169, allocations: 43.32 MB / 1.621 GB, free: 110 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/3.172, allocations: 1.022 MB / 1.622 GB, free: 109.4 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003566/3.176, allocations: 143.4 kB / 1.622 GB, free: 109.3 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00809/3.184, allocations: 1.065 MB / 1.623 GB, free: 108.7 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002377/3.186, allocations: 0.6433 MB / 1.624 GB, free: 108.3 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001379/3.188, allocations: 180 kB / 1.624 GB, free: 108.1 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.01205/3.2, allocations: 7.038 MB / 1.631 GB, free: 102.6 MB / 0.714 GB Notification: Performance of sort global known variables: time 2.61e-07/3.2, allocations: 6.672 kB / 1.631 GB, free: 102.6 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.01285/3.213, allocations: 3.133 MB / 1.634 GB, free: 99.44 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 16 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,revolute[5].phi,revolute[5].w,revolute[6].phi,revolute[6].w,revolute[7].phi,revolute[7].w,revolute[8].phi,revolute[8].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 (525): * Single equations (assignments): 521 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(220,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06204/3.275, allocations: 44.77 MB / 1.678 GB, free: 55.34 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.04131/3.316, allocations: 26.81 MB / 1.704 GB, free: 28.62 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/3.316, allocations: 0 / 1.704 GB, free: 28.62 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.0282/3.344, allocations: 15.06 MB / 1.719 GB, free: 13.6 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/3.355, allocations: 1.688 MB / 1.72 GB, free: 11.99 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5512/3.906, allocations: 281.5 MB / 1.995 GB, free: 27.27 MB / 0.7765 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/3.918, allocations: 8.998 MB / 2.004 GB, free: 24.91 MB / 0.7765 GB Notification: Performance of simCode: alias equations: time 0.01327/3.931, allocations: 6.357 MB / 2.01 GB, free: 24.59 MB / 0.7765 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008958/3.94, allocations: 5.78 MB / 2.016 GB, free: 19.8 MB / 0.7765 GB Notification: Performance of SimCode: time 9.82e-07/3.94, allocations: 0 / 2.016 GB, free: 19.8 MB / 0.7765 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5447/4.485, allocations: 281.3 MB / 2.291 GB, free: 66.26 MB / 0.7765 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/4.485, allocations: 258.7 kB / 2.291 GB, free: 66.01 MB / 0.7765 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/12.91, allocations: 0 / 2.291 GB, free: 66.01 MB / 0.7765 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_8.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_8_res.mat does not exist to compare? outputFormat=mat