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.001144/0.001144, 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.597/1.597, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.001216/0.001216, allocations: 95.53 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.201/1.201, allocations: 120.5 MB / 457.9 MB, free: 7.023 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.576e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8008, allocations: 82.83 MB / 0.6167 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/2.003, allocations: 147.2 MB / 0.7605 GB, free: 42.71 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/2.004, allocations: 72.27 kB / 0.7605 GB, free: 42.71 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.5967/2.6, allocations: 229.4 MB / 0.9846 GB, free: 5.141 MB / 0.6671 GB Notification: Performance of FrontEnd: time 3.606e-06/2.6, allocations: 0 / 0.9846 GB, free: 5.141 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.002548/2.603, allocations: 236 kB / 0.9848 GB, free: 4.91 MB / 0.6671 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.06958/2.672, allocations: 14.67 MB / 0.9992 GB, free: 7.066 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 8.395e-05/2.673, allocations: 8.031 kB / 0.9992 GB, free: 7.059 MB / 0.6828 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01302/2.686, allocations: 1.801 MB / 1.001 GB, free: 5.949 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6487/3.334, allocations: 26.03 MB / 1.026 GB, free: 129.9 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04812/3.383, allocations: 20.76 MB / 1.047 GB, free: 129.1 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009091/3.384, allocations: 0.7604 MB / 1.047 GB, free: 129.1 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006157/3.39, allocations: 1.068 MB / 1.048 GB, free: 129.1 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08173/3.471, allocations: 28.03 MB / 1.076 GB, free: 124.5 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002007/3.474, allocations: 178.3 kB / 1.076 GB, free: 124.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008465/3.482, allocations: 474.2 kB / 1.076 GB, free: 124.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005516/3.488, allocations: 2.283 MB / 1.079 GB, free: 124.3 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06939/3.557, allocations: 24.42 MB / 1.102 GB, free: 122.8 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1577/3.715, allocations: 110.1 MB / 1.21 GB, free: 34.89 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03678/3.752, allocations: 15.57 MB / 1.225 GB, free: 22.91 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01385/3.766, allocations: 9.819 MB / 1.235 GB, free: 14.33 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/3.767, allocations: 429.1 kB / 1.235 GB, free: 13.91 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03377/3.801, allocations: 12.01 MB / 1.247 GB, free: 4.512 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=593): time 1.702e-05/3.801, allocations: 0 / 1.247 GB, free: 4.512 MB / 0.6828 GB Notification: Performance of matching and sorting (n=786): time 0.9827/4.783, allocations: 116.2 MB / 1.36 GB, free: 129.9 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004669/4.784, allocations: 0.6604 MB / 1.361 GB, free: 129.2 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03106/4.815, allocations: 9.771 MB / 1.371 GB, free: 128.5 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.003728/4.819, allocations: 147.4 kB / 1.371 GB, free: 128.5 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.01215/4.831, allocations: 7.224 MB / 1.378 GB, free: 125.8 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.007632/4.839, allocations: 2.847 MB / 1.381 GB, free: 124.1 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004373/4.843, allocations: 255.2 kB / 1.381 GB, free: 124.1 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.002363/4.845, allocations: 0.8863 MB / 1.382 GB, free: 123.6 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02192/4.867, allocations: 9.714 MB / 1.391 GB, free: 120.9 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02648/4.894, allocations: 15.41 MB / 1.406 GB, free: 110.6 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/4.917, allocations: 12.68 MB / 1.419 GB, free: 100.8 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004563/4.918, allocations: 56 kB / 1.419 GB, free: 100.7 MB / 0.6984 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.08705/5.005, allocations: 36.19 MB / 1.454 GB, free: 72.96 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005915/5.006, allocations: 115.3 kB / 1.454 GB, free: 72.85 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007206/5.007, allocations: 188 kB / 1.454 GB, free: 72.66 MB / 0.6984 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.000803/5.007, allocations: 284 kB / 1.455 GB, free: 72.39 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/5.02, allocations: 2.966 MB / 1.457 GB, free: 69.97 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/5.021, allocations: 374.5 kB / 1.458 GB, free: 69.64 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01863/5.04, allocations: 1.405 MB / 1.459 GB, free: 68.72 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005686/5.046, allocations: 0.6649 MB / 1.46 GB, free: 68.1 MB / 0.6984 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 () * 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.01066/5.056, allocations: 1.031 MB / 1.461 GB, free: 67.08 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007256/5.064, allocations: 0.9952 MB / 1.462 GB, free: 66.07 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07105/5.135, allocations: 30.08 MB / 1.491 GB, free: 36.35 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001669/5.135, allocations: 79.95 kB / 1.491 GB, free: 36.27 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002034/5.135, allocations: 43.16 kB / 1.491 GB, free: 36.23 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003159/5.135, allocations: 42.14 kB / 1.491 GB, free: 36.2 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7726/5.908, allocations: 57.79 MB / 1.548 GB, free: 115.9 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002429/5.908, allocations: 10.75 kB / 1.548 GB, free: 115.9 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00815/5.917, allocations: 1.327 MB / 1.549 GB, free: 115.9 MB / 0.6984 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 0.0002326/5.917, allocations: 35.08 kB / 1.549 GB, free: 115.9 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004177/5.921, allocations: 159.8 kB / 1.549 GB, free: 115.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001769/5.921, allocations: 39.16 kB / 1.549 GB, free: 115.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-05/5.921, allocations: 21.97 kB / 1.549 GB, free: 115.9 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1103/6.032, allocations: 45.83 MB / 1.594 GB, free: 111.3 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01368/6.045, allocations: 2.967 MB / 1.597 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006759/6.052, allocations: 159.1 kB / 1.597 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01124/6.064, allocations: 1.097 MB / 1.598 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003466/6.067, allocations: 0.6806 MB / 1.599 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002111/6.069, allocations: 197.8 kB / 1.599 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01706/6.086, allocations: 7.261 MB / 1.606 GB, free: 110.9 MB / 0.6984 GB Notification: Performance of sort global known variables: time 1.052e-06/6.086, allocations: 3.906 kB / 1.606 GB, free: 110.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.02154/6.108, allocations: 3.211 MB / 1.609 GB, free: 110.9 MB / 0.6984 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) * 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.0829/6.191, allocations: 47.96 MB / 1.656 GB, free: 96.76 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.04861/6.239, allocations: 27.5 MB / 1.683 GB, free: 79.97 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/6.24, allocations: 0 / 1.683 GB, free: 79.97 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.03194/6.272, allocations: 15.39 MB / 1.698 GB, free: 68.29 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/6.286, allocations: 1.721 MB / 1.7 GB, free: 66.92 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1048/6.391, allocations: 37.55 MB / 1.736 GB, free: 35.45 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0253/6.417, allocations: 9.195 MB / 1.745 GB, free: 27.99 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.02311/6.44, allocations: 7.006 MB / 1.752 GB, free: 21.05 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01499/6.455, allocations: 5.822 MB / 1.758 GB, free: 15.23 MB / 0.6984 GB Notification: Performance of SimCode: time 1.973e-06/6.455, allocations: 0 / 1.758 GB, free: 15.23 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.301/7.756, allocations: 290.7 MB / 2.042 GB, free: 500 kB / 0.7296 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/7.756, allocations: 199.7 kB / 2.042 GB, free: 268 kB / 0.7296 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/22.13, allocations: 0 / 2.042 GB, free: 268 kB / 0.7296 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