Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_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.Strings.ScaledExperiments.StringModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_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.001088/0.001088, allocations: 177.1 kB / 8.35 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.691/1.691, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0009721/0.0009721, allocations: 91.11 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.275/1.275, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.421e-05, allocations: 0 / 0.5289 GB, free: 1.215 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8307, allocations: 82.84 MB / 0.6098 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/2.217, allocations: 146.6 MB / 0.7529 GB, free: 43.34 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004238/2.217, allocations: 74.94 kB / 0.753 GB, free: 43.33 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.4309/2.648, allocations: 145 MB / 0.8946 GB, free: 7.293 MB / 0.589 GB Notification: Performance of FrontEnd: time 4.608e-06/2.648, allocations: 0 / 0.8946 GB, free: 7.293 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0009998/2.649, allocations: 143.9 kB / 0.8947 GB, free: 7.152 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: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.0373/2.687, allocations: 8.847 MB / 0.9033 GB, free: 14.8 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/2.687, allocations: 12.02 kB / 0.9034 GB, free: 14.79 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05787/2.745, allocations: 15.19 MB / 0.9182 GB, free: 1.16 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0315/2.776, allocations: 12.43 MB / 0.9303 GB, free: 7.172 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/2.777, allocations: 208 kB / 0.9305 GB, free: 6.969 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/2.781, allocations: 411.1 kB / 0.9309 GB, free: 6.578 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02131/2.802, allocations: 10.28 MB / 0.941 GB, free: 15.4 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04053/2.842, allocations: 14.86 MB / 0.9555 GB, free: 2.766 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007333/2.843, allocations: 110.8 kB / 0.9556 GB, free: 2.664 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003184/2.846, allocations: 44 kB / 0.9556 GB, free: 2.621 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002603/2.849, allocations: 1.473 MB / 0.9571 GB, free: 1.363 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7142/3.563, allocations: 68.93 MB / 1.024 GB, free: 126.3 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/3.574, allocations: 6.784 MB / 1.031 GB, free: 125.7 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/3.58, allocations: 4.932 MB / 1.036 GB, free: 125.6 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006156/3.581, allocations: 380.5 kB / 1.036 GB, free: 125.3 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007633/3.589, allocations: 5.063 MB / 1.041 GB, free: 125.2 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=337): time 8.647e-06/3.589, allocations: 0 / 1.041 GB, free: 125.2 MB / 0.6671 GB Notification: Performance of matching and sorting (n=429): time 0.1454/3.734, allocations: 49.66 MB / 1.09 GB, free: 117.7 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003394/3.735, allocations: 436.2 kB / 1.09 GB, free: 117.2 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0195/3.754, allocations: 5.556 MB / 1.095 GB, free: 115.5 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.001869/3.756, allocations: 25.7 kB / 1.095 GB, free: 115.4 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.008542/3.765, allocations: 4.779 MB / 1.1 GB, free: 112.4 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.004353/3.769, allocations: 1.526 MB / 1.102 GB, free: 111.3 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/3.771, allocations: 3.5 kB / 1.102 GB, free: 111.3 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.001415/3.773, allocations: 0.6933 MB / 1.102 GB, free: 110.8 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008084/3.781, allocations: 4.924 MB / 1.107 GB, free: 109.4 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/3.793, allocations: 9.286 MB / 1.116 GB, free: 99.18 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/3.804, allocations: 6.9 MB / 1.123 GB, free: 93.93 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003122/3.804, allocations: 44 kB / 1.123 GB, free: 93.89 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.04654/3.851, allocations: 18.16 MB / 1.141 GB, free: 79.91 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004156/3.851, allocations: 101 kB / 1.141 GB, free: 79.81 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000425/3.852, allocations: 151.9 kB / 1.141 GB, free: 79.66 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/3.865, allocations: 5.302 MB / 1.146 GB, free: 76.09 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/3.873, allocations: 2.002 MB / 1.148 GB, free: 74.41 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03905/3.912, allocations: 26.48 MB / 1.174 GB, free: 52.84 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009539/3.921, allocations: 0.6118 MB / 1.175 GB, free: 52.23 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/3.924, allocations: 485.3 kB / 1.175 GB, free: 51.75 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[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],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1002): * Single equations (assignments): 997 * Array equations: 3 * Algorithm blocks: 1 * 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,62.0%) 87} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004382/3.929, allocations: 0.52 MB / 1.176 GB, free: 51.23 MB / 0.6671 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02596/3.955, allocations: 13.22 MB / 1.188 GB, free: 37.99 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002454/3.957, allocations: 0.5786 MB / 1.189 GB, free: 37.4 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02696/3.984, allocations: 13.49 MB / 1.202 GB, free: 23.89 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001201/3.984, allocations: 40 kB / 1.202 GB, free: 23.86 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.268e-05/3.984, allocations: 20 kB / 1.202 GB, free: 23.84 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/3.984, allocations: 23.88 kB / 1.202 GB, free: 23.81 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06204/4.047, allocations: 26.67 MB / 1.228 GB, free: 12.93 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.078e-05/4.047, allocations: 8 kB / 1.228 GB, free: 12.93 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003823/4.05, allocations: 0.7254 MB / 1.229 GB, free: 12.2 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01342/4.064, allocations: 4.992 MB / 1.234 GB, free: 7.223 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001155/4.065, allocations: 31.92 kB / 1.234 GB, free: 7.191 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7039/4.769, allocations: 24.42 MB / 1.258 GB, free: 177.3 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.862e-05/4.769, allocations: 23.36 kB / 1.258 GB, free: 177.3 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05181/4.821, allocations: 21.5 MB / 1.279 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007917/4.829, allocations: 1.532 MB / 1.28 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004281/4.833, allocations: 21.64 kB / 1.28 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006433/4.84, allocations: 472.3 kB / 1.281 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001997/4.842, allocations: 299.6 kB / 1.281 GB, free: 174.4 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001119/4.843, allocations: 115.6 kB / 1.281 GB, free: 174.4 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01211/4.855, allocations: 3.98 MB / 1.285 GB, free: 174.2 MB / 0.6984 GB Notification: Performance of sort global known variables: time 1.082e-06/4.855, allocations: 3.031 kB / 1.285 GB, free: 174.2 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.01489/4.87, allocations: 1.84 MB / 1.287 GB, free: 174.2 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(8,81.2%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04353/4.914, allocations: 24.05 MB / 1.31 GB, free: 169.3 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.02387/4.938, allocations: 12.07 MB / 1.322 GB, free: 169 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/4.938, allocations: 3.5 kB / 1.322 GB, free: 169 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/4.949, allocations: 5.505 MB / 1.327 GB, free: 167.6 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008201/4.957, allocations: 0.8659 MB / 1.328 GB, free: 167.3 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07135/5.029, allocations: 20.42 MB / 1.348 GB, free: 161.5 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01917/5.048, allocations: 5.965 MB / 1.354 GB, free: 158.3 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.01345/5.061, allocations: 4.155 MB / 1.358 GB, free: 155.8 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008898/5.07, allocations: 3.44 MB / 1.361 GB, free: 152.7 MB / 0.6984 GB Notification: Performance of SimCode: time 2.435e-06/5.07, allocations: 0 / 1.361 GB, free: 152.7 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8352/5.906, allocations: 167.8 MB / 1.525 GB, free: 144.5 MB / 0.6984 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/5.906, allocations: 167.6 kB / 1.526 GB, free: 144.4 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/14.03, allocations: 0 / 1.526 GB, free: 144.4 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat does not exist to compare? outputFormat=mat