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: 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_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_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.001578/0.001579, allocations: 180.8 kB / 8.133 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.16/1.16, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0009123/0.0009122, allocations: 108.6 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7371/0.7371, allocations: 120.4 MB / 452 MB, free: 13.07 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.53e-06, allocations: 0 / 0.5282 GB, free: 52.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 82.84 MB / 0.6091 GB, free: 3.594 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5613/0.6964, allocations: 146.5 MB / 0.7521 GB, free: 104 kB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001565/0.6966, allocations: 76.03 kB / 0.7522 GB, free: 68 kB / 0.5109 GB Notification: Performance of FrontEnd: time 0.8479/1.545, allocations: 221 MB / 0.9681 GB, free: 136.6 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.00128/1.546, allocations: 235.2 kB / 0.9683 GB, free: 136.6 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.04217/1.588, allocations: 13.42 MB / 0.9814 GB, free: 132.4 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.588, allocations: 7.312 kB / 0.9814 GB, free: 132.4 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08571/1.674, allocations: 24.63 MB / 1.005 GB, free: 131.6 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04707/1.721, allocations: 20.98 MB / 1.026 GB, free: 129.9 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006307/1.722, allocations: 328 kB / 1.026 GB, free: 129.9 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006256/1.728, allocations: 0.6394 MB / 1.027 GB, free: 129.9 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03462/1.763, allocations: 17.7 MB / 1.044 GB, free: 129.9 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/1.814, allocations: 24.41 MB / 1.068 GB, free: 113.3 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006952/1.815, allocations: 176 kB / 1.068 GB, free: 113.1 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.817, allocations: 52 kB / 1.068 GB, free: 113.1 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003043/1.82, allocations: 2.549 MB / 1.071 GB, free: 111 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1506/1.971, allocations: 112.5 MB / 1.181 GB, free: 0.9844 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/1.99, allocations: 13.45 MB / 1.194 GB, free: 3.402 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2745/2.265, allocations: 11.34 MB / 1.205 GB, free: 217.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04866/2.314, allocations: 26.77 MB / 1.231 GB, free: 213.4 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01302/2.327, allocations: 10.02 MB / 1.241 GB, free: 213.1 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=586): time 1.805e-05/2.327, allocations: 2.188 kB / 1.241 GB, free: 213.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=804): time 0.2376/2.565, allocations: 108.4 MB / 1.347 GB, free: 168.4 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/2.565, allocations: 0.6667 MB / 1.347 GB, free: 167.6 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/2.58, allocations: 8.793 MB / 1.356 GB, free: 160.3 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.002355/2.582, allocations: 32.3 kB / 1.356 GB, free: 160.3 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.006263/2.588, allocations: 5.892 MB / 1.362 GB, free: 155.7 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.004719/2.593, allocations: 2.802 MB / 1.364 GB, free: 153.1 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/2.595, allocations: 4 kB / 1.364 GB, free: 153.1 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0005803/2.595, allocations: 0.8901 MB / 1.365 GB, free: 152.4 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01167/2.607, allocations: 10.75 MB / 1.376 GB, free: 143.4 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01483/2.622, allocations: 16.5 MB / 1.392 GB, free: 126.3 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/2.638, allocations: 13.86 MB / 1.405 GB, free: 115.5 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/2.638, allocations: 52 kB / 1.405 GB, free: 115.4 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1699) (initialization): time 0.05806/2.696, allocations: 36.12 MB / 1.441 GB, free: 80.8 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/2.696, allocations: 14.47 kB / 1.441 GB, free: 80.79 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/2.696, allocations: 194.4 kB / 1.441 GB, free: 80.61 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02754/2.724, allocations: 11.75 MB / 1.452 GB, free: 68.9 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/2.735, allocations: 2.887 MB / 1.455 GB, free: 66.01 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2913/3.027, allocations: 56.49 MB / 1.51 GB, free: 194.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/3.04, allocations: 0.7764 MB / 1.511 GB, free: 194.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003626/3.044, allocations: 0.6834 MB / 1.512 GB, free: 194.7 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.004099/3.048, allocations: 0.6628 MB / 1.512 GB, free: 194.6 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002375/3.051, allocations: 0.9421 MB / 1.513 GB, free: 194.6 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05094/3.102, allocations: 30.88 MB / 1.544 GB, free: 194.3 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001379/3.102, allocations: 80.16 kB / 1.544 GB, free: 194.3 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-05/3.102, allocations: 35.56 kB / 1.544 GB, free: 194.3 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001478/3.102, allocations: 40.5 kB / 1.544 GB, free: 194.3 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1062/3.208, allocations: 58.2 MB / 1.601 GB, free: 180.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/3.208, allocations: 14.75 kB / 1.601 GB, free: 180.1 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006966/3.215, allocations: 1.198 MB / 1.602 GB, free: 180.1 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02971/3.245, allocations: 11.27 MB / 1.613 GB, free: 173.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002433/3.247, allocations: 39.17 kB / 1.613 GB, free: 173.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06912/3.317, allocations: 53.66 MB / 1.665 GB, free: 131.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.405e-05/3.317, allocations: 22.62 kB / 1.665 GB, free: 131.4 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06652/3.383, allocations: 48.35 MB / 1.712 GB, free: 83.21 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008447/3.392, allocations: 3.061 MB / 1.715 GB, free: 80.13 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003553/3.395, allocations: 31.97 kB / 1.715 GB, free: 80.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007868/3.403, allocations: 0.5996 MB / 1.716 GB, free: 79.5 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001643/3.405, allocations: 414.8 kB / 1.716 GB, free: 79.11 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008151/3.406, allocations: 202.7 kB / 1.717 GB, free: 78.91 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.009122/3.415, allocations: 6.433 MB / 1.723 GB, free: 72.52 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01437/3.429, allocations: 3.284 MB / 1.726 GB, free: 69.25 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.001469/3.431, allocations: 225.9 kB / 1.726 GB, free: 69.1 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.03301/3.464, allocations: 25.59 MB / 1.751 GB, free: 43.79 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/3.464, allocations: 4 kB / 1.751 GB, free: 43.79 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.2351/3.699, allocations: 12.45 MB / 1.763 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008907/3.708, allocations: 1.388 MB / 1.765 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07122/3.779, allocations: 35.48 MB / 1.799 GB, free: 193.6 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02081/3.8, allocations: 9.966 MB / 1.809 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of SimCode: time 1.533e-06/3.8, allocations: 3.719 kB / 1.809 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of Templates: time 0.2744/4.074, allocations: 198.4 MB / 2.003 GB, free: 58.82 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches