Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.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_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8",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.0009297/0.0009298, allocations: 180.5 kB / 16.39 MB, free: 5.762 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.176/1.176, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.000885/0.000885, allocations: 90.5 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6829/0.6829, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.000269, allocations: 8 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 82.85 MB / 0.6243 GB, free: 9.148 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5805/0.7024, allocations: 147.3 MB / 0.7682 GB, free: 3.137 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.7027, allocations: 78.56 kB / 0.7682 GB, free: 3.102 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 1.005/1.707, allocations: 229.2 MB / 0.9921 GB, free: 149.7 MB / 0.6828 GB Notification: Performance of FrontEnd: time 2.365e-06/1.708, allocations: 0 / 0.9921 GB, free: 149.7 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.00102/1.709, allocations: 232.8 kB / 0.9923 GB, free: 149.7 MB / 0.6828 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3442 * Number of variables: 3442 Notification: Performance of Generate backend data structure: time 0.04259/1.751, allocations: 16.44 MB / 1.008 GB, free: 144.9 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.751, allocations: 14.36 kB / 1.008 GB, free: 144.9 MB / 0.6828 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007057/1.758, allocations: 1.793 MB / 1.01 GB, free: 144.8 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08296/1.841, allocations: 25.99 MB / 1.036 GB, free: 144 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04564/1.887, allocations: 20.87 MB / 1.056 GB, free: 142.2 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006889/1.888, allocations: 0.7608 MB / 1.057 GB, free: 142.2 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004456/1.892, allocations: 1.061 MB / 1.058 GB, free: 142.1 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/1.941, allocations: 28.24 MB / 1.085 GB, free: 126.5 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005279/1.942, allocations: 177.8 kB / 1.085 GB, free: 126.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/1.943, allocations: 477.1 kB / 1.086 GB, free: 126 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/1.946, allocations: 2.284 MB / 1.088 GB, free: 124.1 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0422/1.988, allocations: 24.75 MB / 1.112 GB, free: 100 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4248/2.413, allocations: 110.1 MB / 1.22 GB, free: 80.14 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03411/2.447, allocations: 15.7 MB / 1.235 GB, free: 79.4 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/2.448, allocations: 433.6 kB / 1.236 GB, free: 79.11 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02771/2.476, allocations: 12.09 MB / 1.247 GB, free: 78.86 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=593): time 8.135e-06/2.476, allocations: 0 / 1.247 GB, free: 78.86 MB / 0.6828 GB Notification: Performance of matching and sorting (n=786): time 0.2933/2.769, allocations: 134.9 MB / 1.379 GB, free: 35.47 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/2.769, allocations: 0.6686 MB / 1.38 GB, free: 34.66 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/2.783, allocations: 9.862 MB / 1.389 GB, free: 24.93 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001924/2.785, allocations: 151.3 kB / 1.389 GB, free: 24.78 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.005417/2.79, allocations: 7.221 MB / 1.397 GB, free: 18.27 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.003622/2.794, allocations: 2.845 MB / 1.399 GB, free: 15.45 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009558/2.795, allocations: 257.5 kB / 1.4 GB, free: 15.2 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0005048/2.795, allocations: 0.8746 MB / 1.4 GB, free: 14.31 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01066/2.806, allocations: 9.857 MB / 1.41 GB, free: 4.441 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01748/2.823, allocations: 15.54 MB / 1.425 GB, free: 2.469 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/2.843, allocations: 12.76 MB / 1.438 GB, free: 6.062 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002818/2.843, allocations: 54.66 kB / 1.438 GB, free: 6.012 MB / 0.714 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07622/2.919, allocations: 36.45 MB / 1.473 GB, free: 2.086 MB / 0.7453 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002778/2.92, allocations: 117.3 kB / 1.473 GB, free: 1.969 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003169/2.92, allocations: 184 kB / 1.474 GB, free: 1.789 MB / 0.7453 GB Notification: Tearing is skipped for strong component 1 because system size of 218 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/2.92, allocations: 292 kB / 1.474 GB, free: 1.504 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.931, allocations: 2.963 MB / 1.477 GB, free: 14.54 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000359/2.932, allocations: 378.5 kB / 1.477 GB, free: 14.16 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01287/2.945, allocations: 1.413 MB / 1.479 GB, free: 12.75 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003077/2.948, allocations: 0.66 MB / 1.479 GB, free: 12.09 MB / 0.7609 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 98 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[9].color[3],bodybox[9].color[2],bodybox[9].color[1],bodybox[9].body.sphereColor[3],bodybox[9].body.sphereColor[2],bodybox[9].body.sphereColor[1],bodybox[8].color[3],bodybox[8].color[2],bodybox[8].color[1],bodybox[8].body.sphereColor[3],bodybox[8].body.sphereColor[2],bodybox[8].body.sphereColor[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],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[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1415): * Single equations (assignments): 1410 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(218,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01418/2.962, allocations: 6.816 MB / 1.486 GB, free: 5.254 MB / 0.7609 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003261/2.965, allocations: 0.9912 MB / 1.487 GB, free: 4.254 MB / 0.7609 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3527/3.318, allocations: 30.28 MB / 1.516 GB, free: 197.4 MB / 0.7609 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-05/3.318, allocations: 80.34 kB / 1.516 GB, free: 197.4 MB / 0.7609 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.39e-05/3.318, allocations: 39.44 kB / 1.516 GB, free: 197.4 MB / 0.7609 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001431/3.318, allocations: 36.56 kB / 1.517 GB, free: 197.4 MB / 0.7609 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09081/3.409, allocations: 57.99 MB / 1.573 GB, free: 190.4 MB / 0.7609 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.131e-05/3.409, allocations: 14.38 kB / 1.573 GB, free: 190.4 MB / 0.7609 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005393/3.415, allocations: 1.325 MB / 1.574 GB, free: 190.3 MB / 0.7609 GB Notification: Tearing is skipped for strong component 2 because system size of 215 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 4.616e-05/3.415, allocations: 32.56 kB / 1.574 GB, free: 190.3 MB / 0.7609 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/3.416, allocations: 156.2 kB / 1.575 GB, free: 190.2 MB / 0.7609 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.513e-05/3.416, allocations: 40.22 kB / 1.575 GB, free: 190.2 MB / 0.7609 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/3.416, allocations: 17.72 kB / 1.575 GB, free: 190.2 MB / 0.7609 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05693/3.473, allocations: 46.13 MB / 1.62 GB, free: 174.9 MB / 0.7609 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009662/3.483, allocations: 2.97 MB / 1.623 GB, free: 174.1 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002911/3.486, allocations: 153.4 kB / 1.623 GB, free: 174 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007525/3.493, allocations: 1.093 MB / 1.624 GB, free: 173.4 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001685/3.495, allocations: 0.6835 MB / 1.625 GB, free: 173 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007298/3.496, allocations: 199.1 kB / 1.625 GB, free: 172.8 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.01106/3.507, allocations: 7.351 MB / 1.632 GB, free: 167 MB / 0.7609 GB Notification: Performance of sort global known variables: time 6.31e-07/3.507, allocations: 0 / 1.632 GB, free: 167 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.01142/3.518, allocations: 3.213 MB / 1.635 GB, free: 163.8 MB / 0.7609 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 18 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,revolute[5].phi,revolute[5].w,revolute[6].phi,revolute[6].w,revolute[7].phi,revolute[7].w,revolute[8].phi,revolute[8].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (564): * Single equations (assignments): 558 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(215,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06031/3.578, allocations: 48.26 MB / 1.682 GB, free: 124.1 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.04265/3.621, allocations: 27.76 MB / 1.709 GB, free: 96.46 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/3.621, allocations: 4 kB / 1.709 GB, free: 96.46 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.02753/3.649, allocations: 15.52 MB / 1.724 GB, free: 80.99 MB / 0.7609 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009269/3.658, allocations: 1.723 MB / 1.726 GB, free: 79.35 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6442/4.302, allocations: 288.7 MB / 2.008 GB, free: 59.86 MB / 0.7765 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/4.314, allocations: 9.186 MB / 2.017 GB, free: 57.94 MB / 0.7765 GB Notification: Performance of simCode: alias equations: time 0.01419/4.328, allocations: 7.018 MB / 2.024 GB, free: 57.85 MB / 0.7765 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009758/4.338, allocations: 5.828 MB / 2.03 GB, free: 53.04 MB / 0.7765 GB Notification: Performance of SimCode: time 1.543e-06/4.338, allocations: 0 / 2.03 GB, free: 53.04 MB / 0.7765 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6523/4.99, allocations: 290.9 MB / 2.314 GB, free: 111.2 MB / 0.7765 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/4.99, allocations: 241.2 kB / 2.314 GB, free: 111 MB / 0.7765 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/13.26, allocations: 0 / 2.314 GB, free: 111 MB / 0.7765 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat does not exist to compare? outputFormat=mat