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.00177/0.001771, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.85/1.85, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 85.17 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.48/1.48, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.712e-05/4.715e-05, allocations: 0 / 0.5358 GB, free: 12.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8546, allocations: 82.83 MB / 0.6167 GB, free: 9.246 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/2.114, allocations: 146.7 MB / 0.7599 GB, free: 42.39 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/2.114, allocations: 76.14 kB / 0.76 GB, free: 42.38 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.6443/2.758, allocations: 230.6 MB / 0.9852 GB, free: 5.363 MB / 0.6671 GB Notification: Performance of FrontEnd: time 4.017e-06/2.758, allocations: 0 / 0.9852 GB, free: 5.363 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.001365/2.76, allocations: 235.9 kB / 0.9855 GB, free: 5.133 MB / 0.6671 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.05809/2.818, allocations: 14.12 MB / 0.9993 GB, free: 7.852 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001166/2.818, allocations: 12.03 kB / 0.9993 GB, free: 7.84 MB / 0.6828 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0135/2.831, allocations: 1.785 MB / 1.001 GB, free: 6.746 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6298/3.461, allocations: 25.25 MB / 1.026 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04824/3.51, allocations: 20.22 MB / 1.045 GB, free: 123.9 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009738/3.511, allocations: 0.7561 MB / 1.046 GB, free: 123.8 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006097/3.517, allocations: 1.065 MB / 1.047 GB, free: 123.8 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06515/3.582, allocations: 27.68 MB / 1.074 GB, free: 119.4 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001184/3.583, allocations: 164.4 kB / 1.074 GB, free: 119.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005545/3.589, allocations: 476.3 kB / 1.075 GB, free: 119.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003936/3.593, allocations: 2.231 MB / 1.077 GB, free: 119.4 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05785/3.651, allocations: 24.34 MB / 1.101 GB, free: 119 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.183/3.834, allocations: 107.2 MB / 1.206 GB, free: 36.75 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03575/3.87, allocations: 15.78 MB / 1.221 GB, free: 24.56 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01278/3.882, allocations: 10.01 MB / 1.231 GB, free: 15.79 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06446/3.947, allocations: 33.6 MB / 1.264 GB, free: 3.566 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/3.947, allocations: 98.7 kB / 1.264 GB, free: 3.457 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=582): time 9.488e-06/3.947, allocations: 0 / 1.264 GB, free: 3.457 MB / 0.6984 GB Notification: Performance of matching and sorting (n=752): time 0.959/4.906, allocations: 114.3 MB / 1.375 GB, free: 128.8 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/4.907, allocations: 0.6622 MB / 1.376 GB, free: 128.1 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02549/4.932, allocations: 9.379 MB / 1.385 GB, free: 127.4 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.002845/4.935, allocations: 143.8 kB / 1.385 GB, free: 127.4 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.008977/4.944, allocations: 7.021 MB / 1.392 GB, free: 124.1 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.005587/4.95, allocations: 2.679 MB / 1.395 GB, free: 122.1 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002981/4.953, allocations: 253 kB / 1.395 GB, free: 121.9 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.001096/4.954, allocations: 0.8508 MB / 1.396 GB, free: 121.4 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01719/4.971, allocations: 9.302 MB / 1.405 GB, free: 114.2 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02531/4.996, allocations: 14.89 MB / 1.419 GB, free: 98.72 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/5.019, allocations: 12.13 MB / 1.431 GB, free: 89.36 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003112/5.019, allocations: 52 kB / 1.431 GB, free: 89.31 MB / 0.6984 GB Notification: Performance of matching and sorting (n=1607) (initialization): time 0.09011/5.11, allocations: 35.26 MB / 1.466 GB, free: 60.89 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/5.11, allocations: 85.36 kB / 1.466 GB, free: 60.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003705/5.11, allocations: 186.9 kB / 1.466 GB, free: 60.62 MB / 0.6984 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.0003879/5.111, allocations: 280 kB / 1.466 GB, free: 60.35 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/5.123, allocations: 2.866 MB / 1.469 GB, free: 57.48 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004771/5.124, allocations: 370.6 kB / 1.469 GB, free: 57.12 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0191/5.143, allocations: 1.388 MB / 1.471 GB, free: 55.73 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005138/5.148, allocations: 0.6493 MB / 1.471 GB, free: 55.09 MB / 0.6984 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 () * 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.008067/5.156, allocations: 1.012 MB / 1.472 GB, free: 54.07 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004698/5.161, allocations: 0.9682 MB / 1.473 GB, free: 53.09 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06687/5.228, allocations: 29.33 MB / 1.502 GB, free: 23.71 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001314/5.228, allocations: 78.42 kB / 1.502 GB, free: 23.64 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.232e-05/5.228, allocations: 40 kB / 1.502 GB, free: 23.6 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001823/5.228, allocations: 35.86 kB / 1.502 GB, free: 23.57 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7463/5.975, allocations: 54.43 MB / 1.555 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/5.975, allocations: 3.438 kB / 1.555 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006323/5.981, allocations: 1.251 MB / 1.556 GB, free: 112.8 MB / 0.6984 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 0.0001179/5.981, allocations: 26.14 kB / 1.556 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002357/5.984, allocations: 136.1 kB / 1.557 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.276e-05/5.984, allocations: 27.16 kB / 1.557 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/5.984, allocations: 12.66 kB / 1.557 GB, free: 112.8 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07456/6.058, allocations: 43.09 MB / 1.599 GB, free: 110.1 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005598/6.064, allocations: 1.018 MB / 1.6 GB, free: 110 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005097/6.069, allocations: 140.5 kB / 1.6 GB, free: 110 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/6.079, allocations: 1.071 MB / 1.601 GB, free: 110 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003387/6.083, allocations: 0.6382 MB / 1.602 GB, free: 110 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002047/6.085, allocations: 179 kB / 1.602 GB, free: 110 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01953/6.104, allocations: 6.953 MB / 1.608 GB, free: 109.7 MB / 0.6984 GB Notification: Performance of sort global known variables: time 1.693e-06/6.104, allocations: 0 / 1.608 GB, free: 109.7 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.01865/6.123, allocations: 3.138 MB / 1.612 GB, free: 109.7 MB / 0.6984 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 () * 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.09007/6.213, allocations: 44.55 MB / 1.655 GB, free: 98.95 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.07016/6.283, allocations: 26.58 MB / 1.681 GB, free: 80.12 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.655e-05/6.284, allocations: 0 / 1.681 GB, free: 80.12 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.04169/6.325, allocations: 14.94 MB / 1.696 GB, free: 68.84 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01985/6.345, allocations: 1.687 MB / 1.697 GB, free: 67.5 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1464/6.492, allocations: 35.84 MB / 1.732 GB, free: 37.59 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0357/6.528, allocations: 8.988 MB / 1.741 GB, free: 30.92 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.02702/6.555, allocations: 6.349 MB / 1.747 GB, free: 26.2 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02179/6.577, allocations: 5.787 MB / 1.753 GB, free: 20.41 MB / 0.6984 GB Notification: Performance of SimCode: time 3.536e-06/6.577, allocations: 0 / 1.753 GB, free: 20.41 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.18/7.757, allocations: 280.9 MB / 2.027 GB, free: 12.67 MB / 0.7296 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/7.757, allocations: 219.3 kB / 2.027 GB, free: 12.44 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/23.75, allocations: 0 / 2.027 GB, free: 12.44 MB / 0.7296 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