Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.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_4,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|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,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|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") [: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.001202/0.001202, allocations: 185.2 kB / 8.133 MB, free: 2.68 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 7.672 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 106.2 kB / 280.8 MB, free: 5.145 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6691/0.6691, allocations: 120.4 MB / 452 MB, free: 284 kB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.19e-06, allocations: 0 / 0.5282 GB, free: 54.91 MB / 398.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 82.84 MB / 0.6091 GB, free: 7.238 MB / 430.3 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4914/0.6045, allocations: 146.5 MB / 0.7522 GB, free: 6.453 MB / 0.5142 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.6047, allocations: 72.97 kB / 0.7522 GB, free: 6.418 MB / 0.5142 GB Notification: Performance of FrontEnd: time 0.3681/0.9727, allocations: 142.3 MB / 0.8912 GB, free: 13.51 MB / 0.6392 GB Notification: Performance of Transformations before backend: time 0.0007294/0.9735, allocations: 140 kB / 0.8913 GB, free: 13.38 MB / 0.6392 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.02582/0.9993, allocations: 8.161 MB / 0.8993 GB, free: 5.703 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9994, allocations: 8.031 kB / 0.8993 GB, free: 5.695 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05426/1.054, allocations: 14.27 MB / 0.9132 GB, free: 8.984 MB / 0.6548 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02961/1.083, allocations: 12.56 MB / 0.9255 GB, free: 14.88 MB / 0.6704 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/1.084, allocations: 208 kB / 0.9257 GB, free: 14.67 MB / 0.6704 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/1.087, allocations: 419.2 kB / 0.9261 GB, free: 14.27 MB / 0.6704 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02071/1.107, allocations: 10.86 MB / 0.9367 GB, free: 6.609 MB / 0.6704 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2112/1.319, allocations: 15.43 MB / 0.9518 GB, free: 226.4 MB / 0.6704 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003395/1.319, allocations: 110 kB / 0.9519 GB, free: 226.4 MB / 0.6704 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009506/1.32, allocations: 37.81 kB / 0.9519 GB, free: 226.4 MB / 0.6704 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/1.322, allocations: 1.633 MB / 0.9535 GB, free: 226.4 MB / 0.6704 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06768/1.389, allocations: 72.11 MB / 1.024 GB, free: 190.5 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007216/1.397, allocations: 7.337 MB / 1.031 GB, free: 189.6 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005078/1.402, allocations: 5.816 MB / 1.037 GB, free: 187.6 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/1.421, allocations: 14.54 MB / 1.051 GB, free: 181.5 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004692/1.425, allocations: 5.175 MB / 1.056 GB, free: 180.1 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=330): time 5.15e-06/1.425, allocations: 0 / 1.056 GB, free: 180.1 MB / 0.6704 GB Notification: Performance of matching and sorting (n=422): time 0.09058/1.516, allocations: 48.44 MB / 1.103 GB, free: 151.6 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.178e-05/1.516, allocations: 432 kB / 1.104 GB, free: 151.1 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00718/1.523, allocations: 5.716 MB / 1.109 GB, free: 146.3 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.0007631/1.524, allocations: 25.7 kB / 1.109 GB, free: 146.3 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/1.527, allocations: 4.062 MB / 1.113 GB, free: 142.8 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.528, allocations: 1.507 MB / 1.115 GB, free: 141.4 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/1.528, allocations: 0 / 1.115 GB, free: 141.4 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0003266/1.529, allocations: 0.6819 MB / 1.115 GB, free: 140.9 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005538/1.534, allocations: 5.163 MB / 1.121 GB, free: 136.5 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007097/1.541, allocations: 9.52 MB / 1.13 GB, free: 125.9 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007663/1.549, allocations: 7.226 MB / 1.137 GB, free: 120.2 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.385e-05/1.549, allocations: 44 kB / 1.137 GB, free: 120.2 MB / 0.6704 GB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.02778/1.577, allocations: 18.13 MB / 1.155 GB, free: 103 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.577, allocations: 4 kB / 1.155 GB, free: 103 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/1.577, allocations: 148 kB / 1.155 GB, free: 102.8 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/1.589, allocations: 5.015 MB / 1.16 GB, free: 97.8 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006878/1.596, allocations: 1.93 MB / 1.162 GB, free: 95.87 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03106/1.627, allocations: 25.6 MB / 1.187 GB, free: 70.16 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007213/1.634, allocations: 443.2 kB / 1.187 GB, free: 69.73 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.636, allocations: 479.9 kB / 1.187 GB, free: 69.26 MB / 0.6704 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,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[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 (995): * Single equations (assignments): 990 * 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 {(10,70.0%) 88} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002164/1.638, allocations: 0.5124 MB / 1.188 GB, free: 68.74 MB / 0.6704 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.639, allocations: 0.5785 MB / 1.188 GB, free: 68.15 MB / 0.6704 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/1.661, allocations: 13.44 MB / 1.202 GB, free: 54.7 MB / 0.6704 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/1.661, allocations: 40 kB / 1.202 GB, free: 54.66 MB / 0.6704 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.661, allocations: 23.66 kB / 1.202 GB, free: 54.64 MB / 0.6704 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/1.661, allocations: 19.92 kB / 1.202 GB, free: 54.62 MB / 0.6704 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03911/1.7, allocations: 26.36 MB / 1.227 GB, free: 28 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/1.7, allocations: 8 kB / 1.227 GB, free: 28 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/1.703, allocations: 0.6445 MB / 1.228 GB, free: 27.35 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/1.715, allocations: 4.712 MB / 1.233 GB, free: 22.63 MB / 0.6704 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008671/1.716, allocations: 23.98 kB / 1.233 GB, free: 22.61 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2214/1.937, allocations: 24.07 MB / 1.256 GB, free: 213.9 MB / 0.6704 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.937, allocations: 14.59 kB / 1.256 GB, free: 213.9 MB / 0.6704 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02923/1.966, allocations: 21.7 MB / 1.277 GB, free: 211.3 MB / 0.6704 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003879/1.97, allocations: 1.524 MB / 1.279 GB, free: 211.2 MB / 0.6704 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/1.972, allocations: 25.62 kB / 1.279 GB, free: 211.2 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/1.975, allocations: 291.4 kB / 1.279 GB, free: 211.2 MB / 0.6704 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/1.976, allocations: 229.8 kB / 1.279 GB, free: 211.2 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004129/1.976, allocations: 110.6 kB / 1.28 GB, free: 211.2 MB / 0.6704 GB Notification: Performance of sort global known variables: time 0.005646/1.982, allocations: 4.118 MB / 1.284 GB, free: 211 MB / 0.6704 GB Notification: Performance of remove unused functions: time 0.008271/1.99, allocations: 1.785 MB / 1.285 GB, free: 211 MB / 0.6704 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].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 (312): * Single equations (assignments): 306 * 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 {(8,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008419/1.991, allocations: 194.3 kB / 1.285 GB, free: 210.9 MB / 0.6704 GB Notification: Performance of simCode: created initialization part: time 0.01571/2.007, allocations: 12.2 MB / 1.297 GB, free: 210.6 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.007, allocations: 3.5 kB / 1.297 GB, free: 210.6 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.007677/2.014, allocations: 5.429 MB / 1.303 GB, free: 210.5 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/2.02, allocations: 0.8279 MB / 1.303 GB, free: 210.5 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/2.059, allocations: 18.61 MB / 1.322 GB, free: 207.8 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.012/2.071, allocations: 6.3 MB / 1.328 GB, free: 206.9 MB / 0.6704 GB Notification: Performance of SimCode: time 9.02e-07/2.071, allocations: 2.438 kB / 1.328 GB, free: 206.9 MB / 0.6704 GB Notification: Performance of Templates: time 0.142/2.213, allocations: 97.87 MB / 1.423 GB, free: 137.5 MB / 0.6704 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches