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.001214/0.001214, allocations: 175.2 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.774/1.774, allocations: 221.4 MB / 235.5 MB, free: 2.953 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.001096/0.001095, allocations: 87.81 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.771/1.771, allocations: 120.5 MB / 457.9 MB, free: 7.059 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-05/5.979e-05, allocations: 0 / 0.5358 GB, free: 12.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8539, allocations: 82.84 MB / 0.6167 GB, free: 9.23 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/2.184, allocations: 146.7 MB / 0.7599 GB, free: 42.3 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/2.184, allocations: 77.02 kB / 0.76 GB, free: 42.3 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.391/2.575, allocations: 146.8 MB / 0.9034 GB, free: 13.46 MB / 0.6046 GB Notification: Performance of FrontEnd: time 3.486e-06/2.576, allocations: 0 / 0.9034 GB, free: 13.46 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.001362/2.577, allocations: 140 kB / 0.9035 GB, free: 13.33 MB / 0.6046 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.03826/2.615, allocations: 8.277 MB / 0.9116 GB, free: 5.531 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 7.425e-05/2.615, allocations: 8.031 kB / 0.9116 GB, free: 5.523 MB / 0.6046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008415/2.624, allocations: 1.142 MB / 0.9127 GB, free: 4.816 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05924/2.683, allocations: 14.58 MB / 0.927 GB, free: 7.797 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03809/2.721, allocations: 11.88 MB / 0.9386 GB, free: 14.32 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007569/2.722, allocations: 487.3 kB / 0.939 GB, free: 14.02 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005487/2.728, allocations: 0.6644 MB / 0.9397 GB, free: 13.54 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06162/2.789, allocations: 17.01 MB / 0.9563 GB, free: 15.45 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00122/2.791, allocations: 102.8 kB / 0.9564 GB, free: 15.36 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004508/2.795, allocations: 308.2 kB / 0.9567 GB, free: 15.23 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003178/2.798, allocations: 1.427 MB / 0.9581 GB, free: 14.02 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0342/2.833, allocations: 14.68 MB / 0.9724 GB, free: 2.871 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7477/3.58, allocations: 68.31 MB / 1.039 GB, free: 124.6 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/3.6, allocations: 8.47 MB / 1.047 GB, free: 123.9 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006491/3.606, allocations: 5.118 MB / 1.052 GB, free: 123.8 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03212/3.638, allocations: 17.71 MB / 1.07 GB, free: 122.5 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.039e-05/3.639, allocations: 70.59 kB / 1.07 GB, free: 122.4 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 7.184e-06/3.639, allocations: 0 / 1.07 GB, free: 122.4 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1534/3.792, allocations: 52.95 MB / 1.121 GB, free: 115.2 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/3.792, allocations: 429.5 kB / 1.122 GB, free: 114.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/3.808, allocations: 5.928 MB / 1.128 GB, free: 112.9 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001431/3.809, allocations: 89.08 kB / 1.128 GB, free: 112.8 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.005718/3.815, allocations: 4.609 MB / 1.132 GB, free: 109.7 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.003768/3.819, allocations: 1.436 MB / 1.134 GB, free: 108.7 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002426/3.821, allocations: 162.5 kB / 1.134 GB, free: 108.5 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.001594/3.823, allocations: 0.6531 MB / 1.134 GB, free: 108.1 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00981/3.833, allocations: 4.809 MB / 1.139 GB, free: 104.3 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/3.846, allocations: 8.975 MB / 1.148 GB, free: 94.38 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/3.857, allocations: 6.666 MB / 1.154 GB, free: 89.27 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002146/3.857, allocations: 44 kB / 1.154 GB, free: 89.22 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.04105/3.898, allocations: 18.44 MB / 1.172 GB, free: 75.26 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003567/3.899, allocations: 64 kB / 1.173 GB, free: 75.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005056/3.899, allocations: 147.7 kB / 1.173 GB, free: 75.05 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/3.915, allocations: 5.306 MB / 1.178 GB, free: 71.45 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008567/3.923, allocations: 1.863 MB / 1.18 GB, free: 69.89 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05079/3.974, allocations: 28.57 MB / 1.208 GB, free: 43.21 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01256/3.987, allocations: 0.737 MB / 1.208 GB, free: 42.47 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003344/3.99, allocations: 455.9 kB / 1.209 GB, free: 42.03 MB / 0.6828 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 () * 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.004472/3.995, allocations: 0.713 MB / 1.209 GB, free: 41.31 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002285/3.997, allocations: 0.5978 MB / 1.21 GB, free: 40.71 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/4.024, allocations: 13.36 MB / 1.223 GB, free: 27.31 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000126/4.024, allocations: 49.92 kB / 1.223 GB, free: 27.27 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-05/4.024, allocations: 16 kB / 1.223 GB, free: 27.25 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/4.024, allocations: 19.94 kB / 1.223 GB, free: 27.23 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06709/4.091, allocations: 25.81 MB / 1.248 GB, free: 1.281 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.822e-05/4.091, allocations: 4 kB / 1.248 GB, free: 1.277 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003846/4.095, allocations: 0.6454 MB / 1.249 GB, free: 0.6328 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0159/4.111, allocations: 5.048 MB / 1.254 GB, free: 11.6 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001788/4.113, allocations: 75.94 kB / 1.254 GB, free: 11.53 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6836/4.797, allocations: 28.21 MB / 1.282 GB, free: 180 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/4.797, allocations: 7.281 kB / 1.282 GB, free: 180 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03732/4.834, allocations: 20.28 MB / 1.301 GB, free: 178.5 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/4.837, allocations: 0.6458 MB / 1.302 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002826/4.84, allocations: 77.3 kB / 1.302 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/4.846, allocations: 0.4928 MB / 1.303 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001708/4.848, allocations: 255.7 kB / 1.303 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004775/4.848, allocations: 105.3 kB / 1.303 GB, free: 178.4 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.00958/4.858, allocations: 4.316 MB / 1.307 GB, free: 178.2 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.052e-06/4.858, allocations: 0 / 1.307 GB, free: 178.2 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.01256/4.87, allocations: 2.024 MB / 1.309 GB, free: 178.2 MB / 0.714 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 () * 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.03455/4.905, allocations: 21.68 MB / 1.33 GB, free: 175.6 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01983/4.925, allocations: 11.82 MB / 1.342 GB, free: 175.3 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/4.925, allocations: 0 / 1.342 GB, free: 175.3 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.009757/4.935, allocations: 5.527 MB / 1.347 GB, free: 175 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007292/4.942, allocations: 0.9803 MB / 1.348 GB, free: 175 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05732/4.999, allocations: 19.63 MB / 1.367 GB, free: 169.2 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/5.01, allocations: 5.759 MB / 1.373 GB, free: 167.4 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.0102/5.02, allocations: 3.537 MB / 1.376 GB, free: 167.4 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007548/5.028, allocations: 3.426 MB / 1.38 GB, free: 164.5 MB / 0.714 GB Notification: Performance of SimCode: time 1.884e-06/5.028, allocations: 0 / 1.38 GB, free: 164.5 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7972/5.825, allocations: 171.9 MB / 1.548 GB, free: 147.2 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/5.825, allocations: 223.1 kB / 1.548 GB, free: 147 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/14.32, allocations: 0 / 1.548 GB, free: 147 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