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.001916/0.001916, allocations: 174.8 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.838/1.838, allocations: 221.3 MB / 235.5 MB, free: 2.938 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.001114/0.001114, allocations: 99.48 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.182/1.182, allocations: 120.5 MB / 457.9 MB, free: 7.027 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.869e-05, allocations: 0 / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7958/0.7958, allocations: 82.83 MB / 0.6167 GB, free: 9.316 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.961, allocations: 147.2 MB / 0.7605 GB, free: 42.7 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.962, allocations: 79.14 kB / 0.7606 GB, free: 42.7 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3802/2.342, allocations: 147.6 MB / 0.9047 GB, free: 12.07 MB / 0.6046 GB Notification: Performance of FrontEnd: time 1.813e-06/2.342, allocations: 0 / 0.9047 GB, free: 12.07 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0008044/2.343, allocations: 147.9 kB / 0.9049 GB, free: 11.93 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: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.03117/2.374, allocations: 8.841 MB / 0.9135 GB, free: 3.562 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/2.374, allocations: 8.031 kB / 0.9135 GB, free: 3.555 MB / 0.6046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005963/2.38, allocations: 1.158 MB / 0.9146 GB, free: 2.832 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05984/2.44, allocations: 15.2 MB / 0.9295 GB, free: 5.199 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03398/2.474, allocations: 12.44 MB / 0.9416 GB, free: 11.17 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005641/2.474, allocations: 487.2 kB / 0.9421 GB, free: 10.86 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003354/2.478, allocations: 0.6691 MB / 0.9427 GB, free: 10.38 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03339/2.511, allocations: 17.44 MB / 0.9598 GB, free: 11.68 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002973/2.512, allocations: 110.4 kB / 0.9599 GB, free: 11.58 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009156/2.513, allocations: 304.4 kB / 0.9602 GB, free: 11.45 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/2.515, allocations: 1.477 MB / 0.9616 GB, free: 10.19 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/2.544, allocations: 14.88 MB / 0.9761 GB, free: 14.75 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6726/3.216, allocations: 71.35 MB / 1.046 GB, free: 125.3 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/3.235, allocations: 8.407 MB / 1.054 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/3.241, allocations: 5.022 MB / 1.059 GB, free: 124.6 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/3.242, allocations: 384 kB / 1.059 GB, free: 124.3 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01656/3.258, allocations: 6.17 MB / 1.065 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 8.817e-06/3.259, allocations: 0 / 1.065 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.156/3.415, allocations: 56 MB / 1.12 GB, free: 119.2 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003071/3.415, allocations: 443.7 kB / 1.12 GB, free: 118.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01678/3.432, allocations: 6.332 MB / 1.127 GB, free: 116.9 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/3.433, allocations: 93.58 kB / 1.127 GB, free: 116.9 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.006757/3.44, allocations: 4.754 MB / 1.131 GB, free: 113.9 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.004232/3.444, allocations: 1.582 MB / 1.133 GB, free: 112.7 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/3.447, allocations: 167.4 kB / 1.133 GB, free: 112.6 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.001497/3.448, allocations: 0.679 MB / 1.134 GB, free: 112.1 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01101/3.459, allocations: 5.066 MB / 1.139 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01542/3.475, allocations: 9.329 MB / 1.148 GB, free: 100.3 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/3.49, allocations: 7.055 MB / 1.155 GB, free: 94.94 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004114/3.49, allocations: 40 kB / 1.155 GB, free: 94.9 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.05632/3.547, allocations: 19.16 MB / 1.173 GB, free: 80.18 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004187/3.547, allocations: 98.7 kB / 1.173 GB, free: 80.08 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004474/3.548, allocations: 144 kB / 1.174 GB, free: 79.94 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/3.563, allocations: 5.31 MB / 1.179 GB, free: 76.37 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008814/3.571, allocations: 1.961 MB / 1.181 GB, free: 74.73 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04301/3.615, allocations: 28.56 MB / 1.209 GB, free: 46.83 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009512/3.624, allocations: 0.7665 MB / 1.209 GB, free: 46.07 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/3.626, allocations: 471.9 kB / 1.21 GB, free: 45.61 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * 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 (978): * Single equations (assignments): 973 * 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 {(6,83.3%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003693/3.63, allocations: 0.7428 MB / 1.211 GB, free: 44.87 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/3.633, allocations: 0.6132 MB / 1.211 GB, free: 44.25 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02727/3.66, allocations: 13.87 MB / 1.225 GB, free: 30.35 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/3.66, allocations: 47.28 kB / 1.225 GB, free: 30.31 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.934e-05/3.66, allocations: 18.03 kB / 1.225 GB, free: 30.29 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/3.66, allocations: 23.92 kB / 1.225 GB, free: 30.27 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05306/3.713, allocations: 28.23 MB / 1.252 GB, free: 1.82 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-05/3.713, allocations: 8 kB / 1.252 GB, free: 1.812 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003272/3.717, allocations: 0.7294 MB / 1.253 GB, free: 1.086 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01228/3.729, allocations: 5.056 MB / 1.258 GB, free: 12.04 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009828/3.73, allocations: 87.73 kB / 1.258 GB, free: 11.95 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6157/4.346, allocations: 26.56 MB / 1.284 GB, free: 168.5 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/4.346, allocations: 17.47 kB / 1.284 GB, free: 168.5 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03225/4.378, allocations: 21.99 MB / 1.306 GB, free: 165.7 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006166/4.384, allocations: 1.593 MB / 1.307 GB, free: 165.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/4.387, allocations: 87.48 kB / 1.307 GB, free: 165.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005464/4.392, allocations: 0.5273 MB / 1.308 GB, free: 165.6 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/4.394, allocations: 307.7 kB / 1.308 GB, free: 165.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006791/4.395, allocations: 115.5 kB / 1.308 GB, free: 165.6 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01245/4.407, allocations: 4.649 MB / 1.313 GB, free: 165.4 MB / 0.6984 GB Notification: Performance of sort global known variables: time 5.41e-07/4.407, allocations: 0 / 1.313 GB, free: 165.4 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.01762/4.425, allocations: 2.089 MB / 1.315 GB, free: 165.4 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,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04229/4.467, allocations: 24.52 MB / 1.339 GB, free: 158.9 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.02552/4.493, allocations: 12.3 MB / 1.351 GB, free: 155.3 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.548e-05/4.493, allocations: 0 / 1.351 GB, free: 155.3 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.01229/4.505, allocations: 5.647 MB / 1.356 GB, free: 153.5 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009682/4.515, allocations: 1.015 MB / 1.357 GB, free: 153.1 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/4.584, allocations: 21 MB / 1.378 GB, free: 143.3 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008228/4.592, allocations: 5.961 MB / 1.383 GB, free: 138.8 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.01016/4.602, allocations: 4.24 MB / 1.388 GB, free: 136.3 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00629/4.609, allocations: 3.462 MB / 1.391 GB, free: 133.1 MB / 0.6984 GB Notification: Performance of SimCode: time 1.623e-06/4.609, allocations: 0 / 1.391 GB, free: 133.1 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9028/5.511, allocations: 180.4 MB / 1.567 GB, free: 157.8 MB / 0.6984 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/5.512, allocations: 207.9 kB / 1.567 GB, free: 157.6 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/15.58, allocations: 0 / 1.567 GB, free: 157.6 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