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.0008961/0.0008961, allocations: 184.9 kB / 16.39 MB, free: 5.758 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.105/1.105, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.000839/0.0008391, allocations: 81.09 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.6261/0.6261, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 8 kB / 0.5434 GB, free: 42.28 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 82.85 MB / 0.6243 GB, free: 9.113 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.645, allocations: 146.7 MB / 0.7676 GB, free: 3.715 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.6453, allocations: 78.12 kB / 0.7677 GB, free: 3.68 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.2425/0.8878, allocations: 104.9 MB / 0.8701 GB, free: 8.914 MB / 0.62 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8878, allocations: 0 / 0.8701 GB, free: 8.914 MB / 0.62 GB Notification: Performance of Transformations before backend: time 0.0003115/0.8882, allocations: 103.9 kB / 0.8702 GB, free: 8.812 MB / 0.62 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.01526/0.9034, allocations: 5.898 MB / 0.876 GB, free: 3.258 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9035, allocations: 8.031 kB / 0.876 GB, free: 3.25 MB / 0.62 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002436/0.9059, allocations: 0.8174 MB / 0.8768 GB, free: 2.734 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03215/0.9381, allocations: 9.23 MB / 0.8858 GB, free: 10.45 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.9557, allocations: 7.751 MB / 0.8934 GB, free: 4.207 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.956, allocations: 348.5 kB / 0.8937 GB, free: 3.988 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.9579, allocations: 470.8 kB / 0.8941 GB, free: 3.656 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/0.9805, allocations: 11.75 MB / 0.9056 GB, free: 9.793 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/0.9808, allocations: 75.27 kB / 0.9057 GB, free: 9.719 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.9821, allocations: 219.5 kB / 0.9059 GB, free: 9.629 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001365/0.9835, allocations: 1.018 MB / 0.9069 GB, free: 8.758 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/1, allocations: 9.985 MB / 0.9166 GB, free: 1.32 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4846/1.485, allocations: 48.86 MB / 0.9644 GB, free: 155.6 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009585/1.495, allocations: 4.821 MB / 0.9691 GB, free: 154.9 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.013/1.508, allocations: 9.795 MB / 0.9786 GB, free: 153.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.508, allocations: 52.62 kB / 0.9787 GB, free: 153.8 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=186): time 3.907e-06/1.508, allocations: 4.438 kB / 0.9787 GB, free: 153.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=217): time 0.04644/1.554, allocations: 25.8 MB / 1.004 GB, free: 150.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/1.554, allocations: 308.2 kB / 1.004 GB, free: 149.7 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/1.559, allocations: 4.233 MB / 1.008 GB, free: 149.4 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/1.559, allocations: 58.36 kB / 1.008 GB, free: 149.3 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/1.56, allocations: 3.422 MB / 1.012 GB, free: 147.9 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/1.561, allocations: 0.8137 MB / 1.012 GB, free: 147.4 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/1.561, allocations: 115.9 kB / 1.013 GB, free: 147.4 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.561, allocations: 0.5589 MB / 1.013 GB, free: 147.1 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/1.564, allocations: 2.616 MB / 1.016 GB, free: 147.1 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003496/1.567, allocations: 6.075 MB / 1.022 GB, free: 142.5 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/1.571, allocations: 3.962 MB / 1.026 GB, free: 141.3 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/1.571, allocations: 35.34 kB / 1.026 GB, free: 141.3 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01207/1.583, allocations: 10.15 MB / 1.035 GB, free: 138.7 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/1.583, allocations: 56.59 kB / 1.036 GB, free: 138.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.829e-05/1.583, allocations: 121.2 kB / 1.036 GB, free: 138.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/1.587, allocations: 1.859 MB / 1.037 GB, free: 138.5 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.59, allocations: 1.361 MB / 1.039 GB, free: 138.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.601, allocations: 11.52 MB / 1.05 GB, free: 133.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/1.605, allocations: 426.4 kB / 1.05 GB, free: 133.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/1.605, allocations: 351.2 kB / 1.051 GB, free: 133.7 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 () * Number of clocked 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.00296/1.608, allocations: 2.603 MB / 1.053 GB, free: 132.6 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/1.609, allocations: 419.4 kB / 1.054 GB, free: 132.4 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007201/1.616, allocations: 5.437 MB / 1.059 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.616, allocations: 25.02 kB / 1.059 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.616, allocations: 8 kB / 1.059 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.616, allocations: 9.656 kB / 1.059 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.631, allocations: 11.95 MB / 1.071 GB, free: 119.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.631, allocations: 4 kB / 1.071 GB, free: 119.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.632, allocations: 350 kB / 1.071 GB, free: 119.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/1.635, allocations: 1.666 MB / 1.073 GB, free: 118.3 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.635, allocations: 37.41 kB / 1.073 GB, free: 118.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.646, allocations: 11.15 MB / 1.084 GB, free: 109.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.646, allocations: 4 kB / 1.084 GB, free: 109.2 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009296/1.655, allocations: 9.082 MB / 1.092 GB, free: 101.4 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/1.656, allocations: 467.6 kB / 1.093 GB, free: 101 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/1.657, allocations: 41 kB / 1.093 GB, free: 100.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.658, allocations: 207.6 kB / 1.093 GB, free: 100.7 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.658, allocations: 133.8 kB / 1.093 GB, free: 100.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.659, allocations: 52.62 kB / 1.093 GB, free: 100.5 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.003174/1.662, allocations: 3.05 MB / 1.096 GB, free: 97.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.2e-07/1.662, allocations: 0 / 1.096 GB, free: 97.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.003718/1.665, allocations: 1.225 MB / 1.098 GB, free: 96.29 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 () * Number of clocked 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.009566/1.675, allocations: 10.37 MB / 1.108 GB, free: 85.84 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.006559/1.682, allocations: 6.336 MB / 1.114 GB, free: 79.55 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.682, allocations: 0 / 1.114 GB, free: 79.55 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/1.684, allocations: 2.473 MB / 1.116 GB, free: 77.07 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.686, allocations: 0.6263 MB / 1.117 GB, free: 76.48 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2954/1.982, allocations: 127.2 MB / 1.241 GB, free: 206.4 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00305/1.985, allocations: 4.039 MB / 1.245 GB, free: 205.6 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.004216/1.989, allocations: 2.194 MB / 1.247 GB, free: 205.6 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/1.991, allocations: 2.276 MB / 1.249 GB, free: 205.6 MB / 0.714 GB Notification: Performance of SimCode: time 1.072e-06/1.991, allocations: 0 / 1.249 GB, free: 205.6 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/2.094, allocations: 101.4 MB / 1.348 GB, free: 151.1 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/2.094, allocations: 243.2 kB / 1.349 GB, free: 150.9 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.71/5.804, allocations: 6.875 kB / 1.349 GB, free: 150.9 MB / 0.714 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