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/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_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",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.001601/0.001601, allocations: 169.2 kB / 13.64 MB, free: 1.672 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.697/1.697, allocations: 221.3 MB / 235.5 MB, free: 2.859 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.00146/0.001459, allocations: 92.05 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.359/1.359, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 5.717e-05/5.73e-05, allocations: 4 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.091, allocations: 82.84 MB / 0.6167 GB, free: 9.316 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/2.442, allocations: 146.6 MB / 0.7599 GB, free: 42.52 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/2.442, allocations: 76.56 kB / 0.76 GB, free: 42.51 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3073/2.75, allocations: 105 MB / 0.8625 GB, free: 1.668 MB / 0.5578 GB Notification: Performance of FrontEnd: time 5.49e-06/2.75, allocations: 4 kB / 0.8625 GB, free: 1.664 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0008219/2.75, allocations: 96 kB / 0.8626 GB, free: 1.57 MB / 0.5578 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.02865/2.779, allocations: 5.339 MB / 0.8678 GB, free: 12.54 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 7.605e-05/2.779, allocations: 16.03 kB / 0.8678 GB, free: 12.52 MB / 0.5734 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005618/2.785, allocations: 0.8197 MB / 0.8686 GB, free: 12 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03913/2.824, allocations: 9.243 MB / 0.8776 GB, free: 3.699 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02421/2.848, allocations: 7.711 MB / 0.8852 GB, free: 13.5 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005961/2.849, allocations: 346.8 kB / 0.8855 GB, free: 13.28 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003582/2.853, allocations: 473.8 kB / 0.8859 GB, free: 12.95 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03424/2.887, allocations: 11.66 MB / 0.8973 GB, free: 3.172 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006321/2.888, allocations: 67.38 kB / 0.8974 GB, free: 3.105 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002937/2.891, allocations: 219.1 kB / 0.8976 GB, free: 3.016 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/2.893, allocations: 1.021 MB / 0.8986 GB, free: 2.141 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/2.918, allocations: 9.846 MB / 0.9082 GB, free: 10.8 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07242/2.99, allocations: 48.87 MB / 0.9559 GB, free: 15.6 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/3.002, allocations: 4.796 MB / 0.9606 GB, free: 11.62 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003621/3.005, allocations: 2.682 MB / 0.9632 GB, free: 9.891 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0186/3.024, allocations: 9.782 MB / 0.9728 GB, free: 2.648 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/3.024, allocations: 54.12 kB / 0.9728 GB, free: 2.598 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=186): time 6.592e-06/3.024, allocations: 0 / 0.9728 GB, free: 2.598 MB / 0.6515 GB Notification: Performance of matching and sorting (n=217): time 0.07177/3.096, allocations: 23 MB / 0.9953 GB, free: 14.74 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002148/3.096, allocations: 311 kB / 0.9956 GB, free: 14.37 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/3.108, allocations: 4.205 MB / 0.9997 GB, free: 11.16 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0006696/3.108, allocations: 57.2 kB / 0.9998 GB, free: 11.12 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.00376/3.112, allocations: 3.405 MB / 1.003 GB, free: 8.492 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001601/3.114, allocations: 0.8176 MB / 1.004 GB, free: 7.668 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/3.115, allocations: 120 kB / 1.004 GB, free: 7.551 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.000429/3.115, allocations: 0.558 MB / 1.005 GB, free: 6.984 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/3.119, allocations: 2.573 MB / 1.007 GB, free: 4.406 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6706/3.79, allocations: 6.02 MB / 1.013 GB, free: 181 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009626/3.8, allocations: 3.952 MB / 1.017 GB, free: 181 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002489/3.8, allocations: 34.5 kB / 1.017 GB, free: 181 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02467/3.825, allocations: 10.06 MB / 1.027 GB, free: 180.7 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/3.825, allocations: 61.98 kB / 1.027 GB, free: 180.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/3.825, allocations: 122.8 kB / 1.027 GB, free: 180.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/3.83, allocations: 1.859 MB / 1.029 GB, free: 180.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/3.835, allocations: 1.367 MB / 1.03 GB, free: 180.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/3.849, allocations: 11.12 MB / 1.041 GB, free: 179.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006859/3.856, allocations: 422.9 kB / 1.041 GB, free: 179.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/3.858, allocations: 357.9 kB / 1.042 GB, free: 179.1 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (706): * Single equations (assignments): 702 * 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 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001611/3.859, allocations: 0.5656 MB / 1.042 GB, free: 178.9 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/3.861, allocations: 418.2 kB / 1.043 GB, free: 178.9 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009359/3.87, allocations: 5.4 MB / 1.048 GB, free: 178.7 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.449e-05/3.87, allocations: 28.38 kB / 1.048 GB, free: 178.7 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/3.87, allocations: 7.219 kB / 1.048 GB, free: 178.7 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/3.87, allocations: 10.5 kB / 1.048 GB, free: 178.7 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/3.895, allocations: 11.91 MB / 1.059 GB, free: 177.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/3.895, allocations: 7.344 kB / 1.059 GB, free: 177.2 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/3.897, allocations: 350.3 kB / 1.06 GB, free: 177.2 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003874/3.901, allocations: 1.664 MB / 1.061 GB, free: 176.9 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003905/3.901, allocations: 43.48 kB / 1.061 GB, free: 176.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/3.915, allocations: 10.74 MB / 1.072 GB, free: 172.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/3.915, allocations: 7.375 kB / 1.072 GB, free: 172.8 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/3.928, allocations: 9.025 MB / 1.081 GB, free: 169.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/3.93, allocations: 474.9 kB / 1.081 GB, free: 169.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/3.932, allocations: 46.33 kB / 1.081 GB, free: 169.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/3.934, allocations: 207 kB / 1.081 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/3.935, allocations: 123.2 kB / 1.082 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/3.935, allocations: 58.23 kB / 1.082 GB, free: 169.1 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.007848/3.943, allocations: 3.009 MB / 1.085 GB, free: 168.1 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.783e-06/3.943, allocations: 0 / 1.085 GB, free: 168.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.009414/3.953, allocations: 1.229 MB / 1.086 GB, free: 168 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01645/3.969, allocations: 10.3 MB / 1.096 GB, free: 161.9 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01121/3.98, allocations: 6.258 MB / 1.102 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/3.981, allocations: 0 / 1.102 GB, free: 156.4 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/3.985, allocations: 2.442 MB / 1.104 GB, free: 154.3 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/3.99, allocations: 0.6253 MB / 1.105 GB, free: 153.8 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/4.032, allocations: 11.71 MB / 1.116 GB, free: 143.9 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009328/4.041, allocations: 4.041 MB / 1.12 GB, free: 140.9 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.007361/4.049, allocations: 2.19 MB / 1.122 GB, free: 139.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005127/4.054, allocations: 2.272 MB / 1.125 GB, free: 137.4 MB / 0.6828 GB Notification: Performance of SimCode: time 2.254e-06/4.054, allocations: 0 / 1.125 GB, free: 137.4 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/4.221, allocations: 101.3 MB / 1.224 GB, free: 43.05 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/4.221, allocations: 211.4 kB / 1.224 GB, free: 42.83 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/10.74, allocations: 6.359 kB / 1.224 GB, free: 42.83 MB / 0.6828 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2_fmu --startTime=0 --stopTime=0.04 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat does not exist to compare? outputFormat=mat