Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8") translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001497, allocations: 191 kB / 8.141 MB, free: 2.191 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.27/1.27, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.001341/0.001341, allocations: 92.84 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8685/0.8685, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.217e-06, allocations: 4 kB / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1538, allocations: 82.84 MB / 0.6091 GB, free: 3.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6819/0.8357, allocations: 146.5 MB / 0.7522 GB, free: 24 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.8361, allocations: 71.59 kB / 0.7522 GB, free: 15.99 MB / 0.5265 GB Notification: Performance of FrontEnd: time 0.8368/1.673, allocations: 221 MB / 0.9681 GB, free: 135.7 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.000943/1.674, allocations: 231.8 kB / 0.9683 GB, free: 135.7 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.04159/1.715, allocations: 13.43 MB / 0.9814 GB, free: 131.6 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.716, allocations: 6.938 kB / 0.9814 GB, free: 131.6 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08625/1.802, allocations: 24.62 MB / 1.005 GB, free: 130.8 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04505/1.847, allocations: 20.97 MB / 1.026 GB, free: 129.1 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/1.848, allocations: 328.2 kB / 1.026 GB, free: 129.1 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005275/1.853, allocations: 0.6394 MB / 1.027 GB, free: 129 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0317/1.885, allocations: 17.7 MB / 1.044 GB, free: 129 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05119/1.936, allocations: 24.43 MB / 1.068 GB, free: 113 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009726/1.937, allocations: 173.1 kB / 1.068 GB, free: 112.9 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004282/1.941, allocations: 52 kB / 1.068 GB, free: 112.8 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003711/1.945, allocations: 2.545 MB / 1.071 GB, free: 110.7 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1344/2.079, allocations: 112.5 MB / 1.181 GB, free: 0.8164 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02916/2.108, allocations: 13.45 MB / 1.194 GB, free: 3.234 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.231/2.34, allocations: 11.34 MB / 1.205 GB, free: 217 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04374/2.383, allocations: 26.78 MB / 1.231 GB, free: 213.1 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01176/2.395, allocations: 10.01 MB / 1.241 GB, free: 212.9 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=586): time 1.045e-05/2.395, allocations: 0 / 1.241 GB, free: 212.9 MB / 0.6828 GB Notification: Performance of matching and sorting (n=804): time 0.2295/2.625, allocations: 108.4 MB / 1.347 GB, free: 168.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/2.625, allocations: 0.6674 MB / 1.347 GB, free: 167.5 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01802/2.643, allocations: 8.799 MB / 1.356 GB, free: 160.2 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.002602/2.646, allocations: 29.7 kB / 1.356 GB, free: 160.2 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.006652/2.652, allocations: 5.885 MB / 1.362 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.005044/2.657, allocations: 2.811 MB / 1.364 GB, free: 153 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/2.659, allocations: 0 / 1.364 GB, free: 153 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0007589/2.66, allocations: 0.8955 MB / 1.365 GB, free: 152.2 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01317/2.673, allocations: 10.73 MB / 1.376 GB, free: 143.2 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/2.69, allocations: 16.5 MB / 1.392 GB, free: 126.2 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/2.709, allocations: 13.86 MB / 1.405 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/2.709, allocations: 56 kB / 1.405 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1699) (initialization): time 0.06556/2.775, allocations: 36.12 MB / 1.441 GB, free: 80.56 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/2.775, allocations: 10.47 kB / 1.441 GB, free: 80.56 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/2.775, allocations: 195.8 kB / 1.441 GB, free: 80.37 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0285/2.803, allocations: 11.75 MB / 1.452 GB, free: 68.67 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.815, allocations: 2.884 MB / 1.455 GB, free: 65.78 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2696/3.085, allocations: 56.49 MB / 1.51 GB, free: 193.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01293/3.098, allocations: 0.779 MB / 1.511 GB, free: 193.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003152/3.101, allocations: 0.6833 MB / 1.512 GB, free: 193.6 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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 (1457): * Single equations (assignments): 1452 * 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 {(25,52.0%) 193} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003168/3.104, allocations: 0.6632 MB / 1.512 GB, free: 193.4 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/3.106, allocations: 0.9355 MB / 1.513 GB, free: 193.4 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04876/3.155, allocations: 30.89 MB / 1.544 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/3.155, allocations: 79.56 kB / 1.544 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.596e-05/3.155, allocations: 43.05 kB / 1.544 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/3.156, allocations: 39.97 kB / 1.544 GB, free: 193.1 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09364/3.249, allocations: 58.19 MB / 1.601 GB, free: 179 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.222e-05/3.249, allocations: 10.78 kB / 1.601 GB, free: 179 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007053/3.256, allocations: 1.204 MB / 1.602 GB, free: 179 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02886/3.285, allocations: 11.28 MB / 1.613 GB, free: 173.4 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002125/3.287, allocations: 38.64 kB / 1.613 GB, free: 173.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06847/3.356, allocations: 53.65 MB / 1.665 GB, free: 131.2 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/3.356, allocations: 15.84 kB / 1.665 GB, free: 131.2 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06594/3.422, allocations: 48.36 MB / 1.712 GB, free: 82.94 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008396/3.43, allocations: 3.062 MB / 1.715 GB, free: 79.85 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003822/3.434, allocations: 27.98 kB / 1.715 GB, free: 79.82 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008112/3.442, allocations: 0.6114 MB / 1.716 GB, free: 79.22 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/3.444, allocations: 399.8 kB / 1.716 GB, free: 78.83 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009515/3.445, allocations: 203 kB / 1.717 GB, free: 78.64 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.01034/3.455, allocations: 6.436 MB / 1.723 GB, free: 72.25 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01617/3.472, allocations: 3.291 MB / 1.726 GB, free: 68.96 MB / 0.6828 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 (582): * Single equations (assignments): 576 * 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 {(20,60.0%) 195} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002087/3.474, allocations: 222.2 kB / 1.726 GB, free: 68.82 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.0389/3.513, allocations: 25.6 MB / 1.751 GB, free: 43.53 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/3.513, allocations: 0 / 1.751 GB, free: 43.53 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.2639/3.777, allocations: 12.45 MB / 1.763 GB, free: 197.5 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009605/3.786, allocations: 1.391 MB / 1.765 GB, free: 197.5 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07009/3.856, allocations: 35.49 MB / 1.799 GB, free: 193.2 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01847/3.875, allocations: 9.964 MB / 1.809 GB, free: 192.2 MB / 0.6828 GB Notification: Performance of SimCode: time 1.102e-06/3.875, allocations: 2.594 kB / 1.809 GB, free: 192.2 MB / 0.6828 GB Notification: Performance of Templates: time 0.2646/4.14, allocations: 198.4 MB / 2.003 GB, free: 58.53 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches