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.001313/0.001314, allocations: 187.6 kB / 8.138 MB, free: 2.223 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.121/1.121, allocations: 221.4 MB / 230 MB, free: 3.016 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.0009177/0.0009177, allocations: 98.19 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6679/0.6679, allocations: 120.4 MB / 452 MB, free: 13.03 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.279e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 82.84 MB / 0.6091 GB, free: 3.594 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5225/0.6363, allocations: 146.5 MB / 0.7522 GB, free: 15.59 MB / 0.5265 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.6366, allocations: 71.03 kB / 0.7522 GB, free: 15.56 MB / 0.5265 GB Notification: Performance of FrontEnd: time 0.7846/1.421, allocations: 221 MB / 0.9681 GB, free: 141.2 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.000961/1.422, allocations: 230.6 kB / 0.9683 GB, free: 141.2 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.03722/1.459, allocations: 13.43 MB / 0.9814 GB, free: 137 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.46, allocations: 7.938 kB / 0.9814 GB, free: 137 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08442/1.544, allocations: 24.63 MB / 1.005 GB, free: 136.3 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04288/1.587, allocations: 20.96 MB / 1.026 GB, free: 134.6 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/1.587, allocations: 332.2 kB / 1.026 GB, free: 134.6 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004821/1.592, allocations: 0.6483 MB / 1.027 GB, free: 134.6 MB / 0.6828 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02657/1.619, allocations: 17.7 MB / 1.044 GB, free: 134.6 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04129/1.66, allocations: 24.42 MB / 1.068 GB, free: 129.8 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000693/1.661, allocations: 179.2 kB / 1.068 GB, free: 129.7 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.664, allocations: 49.12 kB / 1.068 GB, free: 129.7 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003715/1.667, allocations: 2.546 MB / 1.071 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1293/1.797, allocations: 112.5 MB / 1.181 GB, free: 32.86 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.811, allocations: 13.45 MB / 1.194 GB, free: 19.68 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/1.822, allocations: 11.34 MB / 1.205 GB, free: 8.324 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2387/2.06, allocations: 26.79 MB / 1.231 GB, free: 204.3 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009428/2.07, allocations: 10.01 MB / 1.241 GB, free: 204 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=586): time 7.894e-06/2.07, allocations: 0 / 1.241 GB, free: 204 MB / 0.6828 GB Notification: Performance of matching and sorting (n=804): time 0.2116/2.281, allocations: 108.4 MB / 1.347 GB, free: 178.2 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/2.282, allocations: 0.6638 MB / 1.347 GB, free: 177.4 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/2.293, allocations: 8.804 MB / 1.356 GB, free: 170.1 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.002001/2.295, allocations: 29.7 kB / 1.356 GB, free: 170 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.005141/2.3, allocations: 5.891 MB / 1.362 GB, free: 165.7 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.00394/2.304, allocations: 2.799 MB / 1.364 GB, free: 163.1 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/2.306, allocations: 4 kB / 1.364 GB, free: 163.1 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0005193/2.306, allocations: 0.8916 MB / 1.365 GB, free: 162.4 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/2.318, allocations: 10.74 MB / 1.376 GB, free: 153.4 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01733/2.335, allocations: 16.5 MB / 1.392 GB, free: 136.4 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01685/2.352, allocations: 13.85 MB / 1.405 GB, free: 125.5 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/2.352, allocations: 55.62 kB / 1.405 GB, free: 125.5 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1699) (initialization): time 0.06449/2.416, allocations: 36.13 MB / 1.441 GB, free: 95.9 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/2.417, allocations: 8 kB / 1.441 GB, free: 95.89 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/2.417, allocations: 188 kB / 1.441 GB, free: 95.71 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02876/2.446, allocations: 11.74 MB / 1.452 GB, free: 84.02 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/2.457, allocations: 2.888 MB / 1.455 GB, free: 81.12 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.275/2.732, allocations: 56.5 MB / 1.51 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/2.745, allocations: 0.7798 MB / 1.511 GB, free: 181.8 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003468/2.749, allocations: 0.6843 MB / 1.512 GB, free: 181.8 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.003518/2.753, allocations: 0.6601 MB / 1.512 GB, free: 181.7 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.755, allocations: 0.9395 MB / 1.513 GB, free: 181.7 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04968/2.804, allocations: 30.89 MB / 1.544 GB, free: 181.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001357/2.805, allocations: 80.66 kB / 1.544 GB, free: 181.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.865e-05/2.805, allocations: 38 kB / 1.544 GB, free: 181.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001345/2.805, allocations: 37.41 kB / 1.544 GB, free: 181.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08927/2.894, allocations: 58.21 MB / 1.601 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/2.894, allocations: 11.91 kB / 1.601 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006421/2.901, allocations: 1.201 MB / 1.602 GB, free: 172.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02696/2.928, allocations: 11.27 MB / 1.613 GB, free: 171 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001866/2.929, allocations: 35.81 kB / 1.613 GB, free: 171 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06373/2.993, allocations: 53.65 MB / 1.665 GB, free: 133.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/2.993, allocations: 22.88 kB / 1.665 GB, free: 133.9 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06144/3.055, allocations: 48.36 MB / 1.712 GB, free: 90.91 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007789/3.062, allocations: 3.066 MB / 1.715 GB, free: 87.82 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003049/3.066, allocations: 30.33 kB / 1.715 GB, free: 87.79 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007017/3.073, allocations: 0.6053 MB / 1.716 GB, free: 87.19 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001335/3.074, allocations: 402.3 kB / 1.716 GB, free: 86.8 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009122/3.075, allocations: 211.6 kB / 1.717 GB, free: 86.6 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.008549/3.083, allocations: 6.433 MB / 1.723 GB, free: 80.21 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01276/3.096, allocations: 3.288 MB / 1.726 GB, free: 76.94 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.001312/3.098, allocations: 226.7 kB / 1.726 GB, free: 76.79 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.03069/3.128, allocations: 25.59 MB / 1.751 GB, free: 51.49 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/3.128, allocations: 6.531 kB / 1.751 GB, free: 51.48 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.1978/3.326, allocations: 12.44 MB / 1.763 GB, free: 181.4 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007741/3.334, allocations: 1.395 MB / 1.765 GB, free: 181.3 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05865/3.393, allocations: 35.49 MB / 1.799 GB, free: 177 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01501/3.408, allocations: 9.959 MB / 1.809 GB, free: 176.1 MB / 0.6828 GB Notification: Performance of SimCode: time 8.41e-07/3.408, allocations: 0 / 1.809 GB, free: 176.1 MB / 0.6828 GB Notification: Performance of Templates: time 0.2428/3.65, allocations: 198.4 MB / 2.003 GB, free: 57.44 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/jenkins1/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