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/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_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4",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.0009085/0.0009084, allocations: 179.5 kB / 16.39 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.149/1.149, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008538/0.0008538, allocations: 91.23 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6132/0.6132, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 4 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 82.85 MB / 0.6243 GB, free: 9.121 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5825/0.7005, allocations: 146.7 MB / 0.7676 GB, free: 3.383 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.7008, allocations: 82.3 kB / 0.7677 GB, free: 3.344 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.3336/1.034, allocations: 146.7 MB / 0.911 GB, free: 4.656 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.474e-06/1.034, allocations: 0 / 0.911 GB, free: 4.656 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0005422/1.035, allocations: 151.9 kB / 0.9111 GB, free: 4.508 MB / 0.6513 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.02451/1.059, allocations: 9.203 MB / 0.9201 GB, free: 11.85 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.06, allocations: 8.031 kB / 0.9201 GB, free: 11.84 MB / 0.6669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003905/1.063, allocations: 1.145 MB / 0.9212 GB, free: 11.13 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05086/1.114, allocations: 14.56 MB / 0.9354 GB, free: 14.14 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02835/1.143, allocations: 11.94 MB / 0.9471 GB, free: 4.602 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004843/1.143, allocations: 489.5 kB / 0.9476 GB, free: 4.297 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/1.146, allocations: 0.6621 MB / 0.9482 GB, free: 3.82 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4773/1.624, allocations: 17.11 MB / 0.9649 GB, free: 161.4 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/1.624, allocations: 103.4 kB / 0.965 GB, free: 161.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009042/1.625, allocations: 310 kB / 0.9653 GB, free: 161.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001947/1.627, allocations: 1.423 MB / 0.9667 GB, free: 161.4 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02429/1.651, allocations: 14.87 MB / 0.9812 GB, free: 161.4 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05877/1.71, allocations: 68.31 MB / 1.048 GB, free: 123.5 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/1.725, allocations: 8.518 MB / 1.056 GB, free: 121.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02076/1.746, allocations: 17.73 MB / 1.074 GB, free: 114.6 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/1.746, allocations: 72.44 kB / 1.074 GB, free: 114.6 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 6.883e-06/1.746, allocations: 0 / 1.074 GB, free: 114.6 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1206/1.867, allocations: 59.11 MB / 1.131 GB, free: 74.73 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/1.867, allocations: 435.3 kB / 1.132 GB, free: 74.21 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007873/1.875, allocations: 5.977 MB / 1.138 GB, free: 68.33 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0009974/1.876, allocations: 89.7 kB / 1.138 GB, free: 68.23 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.879, allocations: 4.605 MB / 1.142 GB, free: 63.78 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.88, allocations: 1.432 MB / 1.144 GB, free: 62.36 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005258/1.881, allocations: 166.5 kB / 1.144 GB, free: 62.2 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003108/1.881, allocations: 0.6567 MB / 1.144 GB, free: 61.53 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005432/1.886, allocations: 4.886 MB / 1.149 GB, free: 56.64 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007542/1.894, allocations: 9.048 MB / 1.158 GB, free: 45.67 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/1.902, allocations: 6.678 MB / 1.165 GB, free: 39.09 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-05/1.902, allocations: 40 kB / 1.165 GB, free: 39.05 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.02932/1.931, allocations: 18.59 MB / 1.183 GB, free: 20.41 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/1.932, allocations: 67.28 kB / 1.183 GB, free: 20.35 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/1.932, allocations: 140 kB / 1.183 GB, free: 20.21 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/1.943, allocations: 5.321 MB / 1.188 GB, free: 14.88 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/1.949, allocations: 1.856 MB / 1.19 GB, free: 13.02 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2901/2.239, allocations: 29.72 MB / 1.219 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007373/2.246, allocations: 0.7316 MB / 1.22 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/2.248, allocations: 459.5 kB / 1.22 GB, free: 159.8 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * 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 (924): * Single equations (assignments): 920 * 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 {(7,81.6%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007121/2.255, allocations: 3.903 MB / 1.224 GB, free: 159.7 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/2.257, allocations: 0.593 MB / 1.224 GB, free: 159.7 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02408/2.281, allocations: 13.44 MB / 1.238 GB, free: 159.4 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-05/2.281, allocations: 43.83 kB / 1.238 GB, free: 159.4 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.982e-05/2.281, allocations: 19.25 kB / 1.238 GB, free: 159.4 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-05/2.281, allocations: 20.27 kB / 1.238 GB, free: 159.4 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03935/2.32, allocations: 25.89 MB / 1.263 GB, free: 158.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/2.32, allocations: 6.344 kB / 1.263 GB, free: 158.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/2.323, allocations: 0.6448 MB / 1.264 GB, free: 158.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/2.334, allocations: 5.052 MB / 1.269 GB, free: 158.1 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008924/2.335, allocations: 78.17 kB / 1.269 GB, free: 158.1 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03158/2.367, allocations: 29.36 MB / 1.297 GB, free: 151.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.367, allocations: 3.531 kB / 1.297 GB, free: 151.8 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/2.393, allocations: 20.4 MB / 1.317 GB, free: 145.5 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/2.395, allocations: 0.647 MB / 1.318 GB, free: 145.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/2.396, allocations: 71.5 kB / 1.318 GB, free: 145.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/2.4, allocations: 499.2 kB / 1.318 GB, free: 145.1 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/2.401, allocations: 258.6 kB / 1.319 GB, free: 145.1 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003337/2.402, allocations: 100.9 kB / 1.319 GB, free: 145 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.006167/2.408, allocations: 4.38 MB / 1.323 GB, free: 143.7 MB / 0.6984 GB Notification: Performance of sort global known variables: time 4.31e-07/2.408, allocations: 3.969 kB / 1.323 GB, free: 143.7 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.00776/2.415, allocations: 2.017 MB / 1.325 GB, free: 143.5 MB / 0.6984 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 (280): * Single equations (assignments): 276 * 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,75.3%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02691/2.442, allocations: 21.81 MB / 1.346 GB, free: 128.3 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.01518/2.458, allocations: 11.96 MB / 1.358 GB, free: 118.7 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/2.458, allocations: 0 / 1.358 GB, free: 118.7 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.007889/2.466, allocations: 5.589 MB / 1.363 GB, free: 114.2 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/2.47, allocations: 0.9749 MB / 1.364 GB, free: 113.4 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3751/2.846, allocations: 175.5 MB / 1.536 GB, free: 160.5 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006946/2.853, allocations: 5.768 MB / 1.541 GB, free: 159.6 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.007704/2.86, allocations: 3.536 MB / 1.545 GB, free: 159.5 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004718/2.865, allocations: 3.424 MB / 1.548 GB, free: 159.5 MB / 0.714 GB Notification: Performance of SimCode: time 9.82e-07/2.865, allocations: 0 / 1.548 GB, free: 159.5 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1821/3.047, allocations: 172.1 MB / 1.716 GB, free: 40.98 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/3.047, allocations: 239.6 kB / 1.717 GB, free: 40.74 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.465/8.512, allocations: 0 / 1.717 GB, free: 40.74 MB / 0.714 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_4.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat does not exist to compare? outputFormat=mat