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.001726/0.001726, allocations: 176.8 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.0009556/0.0009556, allocations: 101.8 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.329/1.329, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.861e-05, allocations: 4 kB / 0.5289 GB, free: 1.215 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7803, allocations: 82.84 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.951, allocations: 146 MB / 0.7523 GB, free: 43.16 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.951, allocations: 74.38 kB / 0.7524 GB, free: 43.16 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3683/2.32, allocations: 144.2 MB / 0.8932 GB, free: 9.336 MB / 0.589 GB Notification: Performance of FrontEnd: time 2.255e-06/2.32, allocations: 0 / 0.8932 GB, free: 9.336 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0006789/2.32, allocations: 140 kB / 0.8933 GB, free: 9.199 MB / 0.589 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.03671/2.357, allocations: 8.275 MB / 0.9014 GB, free: 1.426 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 7.624e-05/2.357, allocations: 8.031 kB / 0.9014 GB, free: 1.418 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06332/2.421, allocations: 14.58 MB / 0.9157 GB, free: 4.41 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03781/2.458, allocations: 11.87 MB / 0.9272 GB, free: 10.99 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000651/2.459, allocations: 208 kB / 0.9274 GB, free: 10.79 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005446/2.465, allocations: 403.3 kB / 0.9278 GB, free: 10.4 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02741/2.492, allocations: 10.18 MB / 0.9378 GB, free: 3.391 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03925/2.531, allocations: 14.51 MB / 0.9519 GB, free: 7.223 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006931/2.532, allocations: 107 kB / 0.952 GB, free: 7.121 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002773/2.535, allocations: 39.95 kB / 0.9521 GB, free: 7.082 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/2.537, allocations: 1.424 MB / 0.9535 GB, free: 5.867 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5742/3.112, allocations: 66.6 MB / 1.018 GB, free: 123.9 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/3.121, allocations: 6.759 MB / 1.025 GB, free: 123.2 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006251/3.128, allocations: 4.993 MB / 1.03 GB, free: 123.2 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/3.128, allocations: 271.2 kB / 1.03 GB, free: 123 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.761e-05/3.128, allocations: 67.58 kB / 1.03 GB, free: 122.9 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=328): time 6.963e-06/3.128, allocations: 0 / 1.03 GB, free: 122.9 MB / 0.6671 GB Notification: Performance of matching and sorting (n=412): time 0.1/3.228, allocations: 50.4 MB / 1.08 GB, free: 117.4 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/3.229, allocations: 436.8 kB / 1.08 GB, free: 117 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00897/3.238, allocations: 5.197 MB / 1.085 GB, free: 115.3 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/3.239, allocations: 28.55 kB / 1.085 GB, free: 115.2 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.003315/3.242, allocations: 4.591 MB / 1.09 GB, free: 112.3 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/3.245, allocations: 1.438 MB / 1.091 GB, free: 111.2 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/3.246, allocations: 7 kB / 1.091 GB, free: 111.2 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0008696/3.247, allocations: 0.6718 MB / 1.092 GB, free: 110.7 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007782/3.255, allocations: 4.912 MB / 1.096 GB, free: 109.3 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009428/3.264, allocations: 9.147 MB / 1.105 GB, free: 102.2 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009705/3.274, allocations: 6.786 MB / 1.112 GB, free: 97.03 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/3.274, allocations: 40 kB / 1.112 GB, free: 96.99 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1085) (initialization): time 0.04045/3.315, allocations: 18.01 MB / 1.13 GB, free: 83.34 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/3.315, allocations: 68 kB / 1.13 GB, free: 83.28 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003239/3.315, allocations: 151.3 kB / 1.13 GB, free: 83.14 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01282/3.328, allocations: 5.288 MB / 1.135 GB, free: 79.55 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007345/3.336, allocations: 1.936 MB / 1.137 GB, free: 77.93 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03711/3.373, allocations: 26.78 MB / 1.163 GB, free: 56.65 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008795/3.382, allocations: 0.5919 MB / 1.164 GB, free: 56.28 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002311/3.384, allocations: 475.3 kB / 1.164 GB, free: 55.84 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * 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 (959): * Single equations (assignments): 955 * 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 {(10,71.0%) 93} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003521/3.387, allocations: 0.5033 MB / 1.165 GB, free: 55.34 MB / 0.6671 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02414/3.412, allocations: 13.29 MB / 1.177 GB, free: 43.44 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002716/3.414, allocations: 0.5671 MB / 1.178 GB, free: 42.87 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02872/3.443, allocations: 13.52 MB / 1.191 GB, free: 29.32 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/3.443, allocations: 40.62 kB / 1.191 GB, free: 29.29 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.589e-05/3.443, allocations: 20 kB / 1.191 GB, free: 29.27 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001243/3.444, allocations: 19.92 kB / 1.191 GB, free: 29.25 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05531/3.499, allocations: 25.38 MB / 1.216 GB, free: 3.758 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/3.499, allocations: 7.906 kB / 1.216 GB, free: 3.754 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/3.502, allocations: 0.6748 MB / 1.217 GB, free: 3.078 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01286/3.515, allocations: 5.03 MB / 1.222 GB, free: 14.07 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/3.517, allocations: 12 kB / 1.222 GB, free: 14.05 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0444/3.561, allocations: 26.01 MB / 1.247 GB, free: 3.965 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/3.561, allocations: 11.94 kB / 1.247 GB, free: 3.953 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5361/4.097, allocations: 20.75 MB / 1.267 GB, free: 184.8 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/4.101, allocations: 0.5992 MB / 1.268 GB, free: 184.8 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002866/4.103, allocations: 14.28 kB / 1.268 GB, free: 184.8 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005006/4.108, allocations: 448.5 kB / 1.268 GB, free: 184.8 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/4.11, allocations: 272.2 kB / 1.269 GB, free: 184.8 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003997/4.11, allocations: 102.8 kB / 1.269 GB, free: 184.8 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.008396/4.118, allocations: 3.692 MB / 1.272 GB, free: 184.5 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.032e-06/4.119, allocations: 0 / 1.272 GB, free: 184.5 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.01243/4.131, allocations: 1.824 MB / 1.274 GB, free: 184.5 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (297): * Single equations (assignments): 293 * 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 {(11,68.6%) 89} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0302/4.161, allocations: 22.28 MB / 1.296 GB, free: 181.7 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01795/4.179, allocations: 12.03 MB / 1.308 GB, free: 181.4 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/4.179, allocations: 3.844 kB / 1.308 GB, free: 181.4 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.009497/4.189, allocations: 5.749 MB / 1.313 GB, free: 181.2 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006666/4.195, allocations: 0.8454 MB / 1.314 GB, free: 181.2 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05086/4.246, allocations: 19.63 MB / 1.333 GB, free: 178.5 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009124/4.256, allocations: 5.784 MB / 1.339 GB, free: 177.6 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.009001/4.265, allocations: 3.652 MB / 1.342 GB, free: 177.5 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006243/4.271, allocations: 3.406 MB / 1.346 GB, free: 175.2 MB / 0.714 GB Notification: Performance of SimCode: time 9.62e-07/4.271, allocations: 0 / 1.346 GB, free: 175.2 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.238/4.509, allocations: 162.8 MB / 1.505 GB, free: 42.57 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/4.509, allocations: 183.1 kB / 1.505 GB, free: 42.38 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/12.57, allocations: 3.516 kB / 1.505 GB, free: 42.38 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