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.002124/0.002125, allocations: 176.4 kB / 8.349 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.701/1.701, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.001212/0.001212, allocations: 93.25 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.535/1.535, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.317e-05, allocations: 3.984 kB / 0.5289 GB, free: 1.223 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8665, allocations: 82.83 MB / 0.6098 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/2.055, allocations: 146 MB / 0.7523 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/2.056, allocations: 74.92 kB / 0.7524 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2789/2.335, allocations: 103.1 MB / 0.8531 GB, free: 37.38 MB / 0.5421 GB Notification: Performance of FrontEnd: time 4.969e-06/2.335, allocations: 4 kB / 0.8531 GB, free: 37.38 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0007865/2.336, allocations: 96 kB / 0.8532 GB, free: 37.29 MB / 0.5421 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.02721/2.363, allocations: 5.337 MB / 0.8584 GB, free: 31.88 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 7.871e-05/2.363, allocations: 12.03 kB / 0.8584 GB, free: 31.86 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03783/2.401, allocations: 9.241 MB / 0.8674 GB, free: 22.6 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02351/2.424, allocations: 7.704 MB / 0.8749 GB, free: 14.81 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/2.425, allocations: 148 kB / 0.8751 GB, free: 14.67 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003303/2.428, allocations: 275.8 kB / 0.8753 GB, free: 14.4 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01485/2.443, allocations: 6.928 MB / 0.8821 GB, free: 7.461 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/2.474, allocations: 10.19 MB / 0.892 GB, free: 12.3 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006372/2.475, allocations: 75.36 kB / 0.8921 GB, free: 12.23 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00323/2.478, allocations: 28 kB / 0.8921 GB, free: 12.2 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/2.481, allocations: 1.019 MB / 0.8931 GB, free: 11.17 MB / 0.5578 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0709/2.552, allocations: 47.63 MB / 0.9397 GB, free: 10.02 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005487/2.557, allocations: 3.903 MB / 0.9435 GB, free: 5.969 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/2.561, allocations: 2.596 MB / 0.946 GB, free: 3.359 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/2.561, allocations: 239.3 kB / 0.9462 GB, free: 3.09 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/2.561, allocations: 55.86 kB / 0.9463 GB, free: 3.027 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=196): time 6.762e-06/2.561, allocations: 3.938 kB / 0.9463 GB, free: 3.023 MB / 0.6046 GB Notification: Performance of matching and sorting (n=228): time 0.04666/2.608, allocations: 23.48 MB / 0.9692 GB, free: 11.43 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/2.608, allocations: 308.7 kB / 0.9695 GB, free: 11.06 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/2.615, allocations: 3.702 MB / 0.9731 GB, free: 7.34 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 0.0005998/2.615, allocations: 25.7 kB / 0.9732 GB, free: 7.309 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.002928/2.618, allocations: 3.429 MB / 0.9765 GB, free: 3.832 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/2.619, allocations: 0.8286 MB / 0.9773 GB, free: 2.992 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/2.62, allocations: 4 kB / 0.9773 GB, free: 2.988 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 0.0003931/2.62, allocations: 0.5663 MB / 0.9779 GB, free: 2.414 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/2.624, allocations: 2.565 MB / 0.9804 GB, free: 15.84 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006235/2.63, allocations: 6.101 MB / 0.9863 GB, free: 7.973 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/2.636, allocations: 3.971 MB / 0.9902 GB, free: 4.004 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.101e-05/2.636, allocations: 36.19 kB / 0.9902 GB, free: 3.969 MB / 0.6515 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.6456/3.282, allocations: 9.579 MB / 0.9996 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/3.282, allocations: 62.36 kB / 0.9997 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/3.282, allocations: 124.3 kB / 0.9998 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/3.286, allocations: 1.9 MB / 1.002 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/3.291, allocations: 1.419 MB / 1.003 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/3.307, allocations: 10.67 MB / 1.013 GB, free: 160.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005998/3.313, allocations: 315.6 kB / 1.014 GB, free: 160.1 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/3.314, allocations: 367.3 kB / 1.014 GB, free: 160.1 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * 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 (735): * Single equations (assignments): 731 * 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 {(5,80.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001273/3.316, allocations: 432.1 kB / 1.015 GB, free: 160 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009645/3.325, allocations: 5.629 MB / 1.02 GB, free: 159.9 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/3.326, allocations: 392.4 kB / 1.02 GB, free: 159.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/3.336, allocations: 5.418 MB / 1.026 GB, free: 159.7 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/3.336, allocations: 24.5 kB / 1.026 GB, free: 159.7 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/3.336, allocations: 10.67 kB / 1.026 GB, free: 159.7 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-05/3.337, allocations: 13.94 kB / 1.026 GB, free: 159.7 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/3.361, allocations: 11.38 MB / 1.037 GB, free: 158.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/3.361, allocations: 6.344 kB / 1.037 GB, free: 158.9 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/3.363, allocations: 372.8 kB / 1.037 GB, free: 158.9 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004061/3.367, allocations: 1.641 MB / 1.039 GB, free: 158.8 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/3.367, allocations: 15.58 kB / 1.039 GB, free: 158.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/3.384, allocations: 9.955 MB / 1.049 GB, free: 155.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-05/3.384, allocations: 3.938 kB / 1.049 GB, free: 155.3 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/3.402, allocations: 9.11 MB / 1.057 GB, free: 151.9 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002503/3.404, allocations: 437 kB / 1.058 GB, free: 151.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/3.406, allocations: 7.938 kB / 1.058 GB, free: 151.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/3.41, allocations: 175.5 kB / 1.058 GB, free: 151.6 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007706/3.411, allocations: 141.5 kB / 1.058 GB, free: 151.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003896/3.411, allocations: 62.55 kB / 1.058 GB, free: 151.6 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.007441/3.418, allocations: 2.568 MB / 1.061 GB, free: 150.7 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.11e-07/3.418, allocations: 2.078 kB / 1.061 GB, free: 150.7 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.008812/3.427, allocations: 1.08 MB / 1.062 GB, free: 150.7 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (169): * Single equations (assignments): 165 * 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.01592/3.443, allocations: 10.54 MB / 1.072 GB, free: 143.7 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0113/3.455, allocations: 6.21 MB / 1.078 GB, free: 138.6 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/3.455, allocations: 0 / 1.078 GB, free: 138.6 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.003732/3.458, allocations: 2.417 MB / 1.08 GB, free: 136.6 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004269/3.463, allocations: 0.5357 MB / 1.081 GB, free: 136.2 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/3.497, allocations: 11.54 MB / 1.092 GB, free: 126.4 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/3.508, allocations: 4.042 MB / 1.096 GB, free: 123.4 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.009248/3.517, allocations: 2.271 MB / 1.098 GB, free: 122 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006478/3.524, allocations: 2.246 MB / 1.101 GB, free: 120 MB / 0.6515 GB Notification: Performance of SimCode: time 2.825e-06/3.524, allocations: 0 / 1.101 GB, free: 120 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2288/3.753, allocations: 95.38 MB / 1.194 GB, free: 27.83 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004087/3.753, allocations: 186.9 kB / 1.194 GB, free: 27.63 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.88/9.633, allocations: 2.031 kB / 1.194 GB, free: 27.63 MB / 0.6515 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