Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001677, allocations: 178 kB / 8.152 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 96.98 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2567/0.2567, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.625e-06/7.774e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.4375, allocations: 95.67 MB / 0.5588 GB, free: 3.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4379, allocations: 75.97 kB / 0.5589 GB, free: 3.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2607/0.6986, allocations: 66.47 MB / 0.6238 GB, free: 160 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001345/0.6988, allocations: 64 kB / 0.6238 GB, free: 96 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.008749/0.7076, allocations: 3.029 MB / 0.6268 GB, free: 13.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.7076, allocations: 8.031 kB / 0.6268 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/0.7321, allocations: 2.647 MB / 0.6294 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007449/0.7396, allocations: 2.094 MB / 0.6314 GB, free: 8.199 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.7399, allocations: 119.9 kB / 0.6315 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.7415, allocations: 200 kB / 0.6317 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01727/0.7588, allocations: 6.512 MB / 0.6381 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1693/0.9282, allocations: 8.581 MB / 0.6465 GB, free: 171.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.9283, allocations: 21.94 kB / 0.6465 GB, free: 171.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.9294, allocations: 7.844 kB / 0.6465 GB, free: 171.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/0.9309, allocations: 1.117 MB / 0.6476 GB, free: 171.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04966/0.9806, allocations: 26.72 MB / 0.6737 GB, free: 160.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.9847, allocations: 2.67 MB / 0.6763 GB, free: 158.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.9865, allocations: 0.9053 MB / 0.6772 GB, free: 158.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.9881, allocations: 1.627 MB / 0.6788 GB, free: 156.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.9882, allocations: 50.52 kB / 0.6788 GB, free: 156.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=162): time 4.739e-06/0.9882, allocations: 0 / 0.6788 GB, free: 156.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=162): time 0.006515/0.9947, allocations: 2.238 MB / 0.681 GB, free: 156 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.9948, allocations: 70.58 kB / 0.6811 GB, free: 156 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.9985, allocations: 2.083 MB / 0.6831 GB, free: 155.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.9987, allocations: 29.7 kB / 0.6831 GB, free: 155.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1, allocations: 2.584 MB / 0.6857 GB, free: 153.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/1.001, allocations: 0.5961 MB / 0.6862 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/1.001, allocations: 0 / 0.6862 GB, free: 152.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003092/1.001, allocations: 0.5204 MB / 0.6868 GB, free: 152.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/1.004, allocations: 1.394 MB / 0.6881 GB, free: 152.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004198/1.008, allocations: 4.366 MB / 0.6924 GB, free: 147.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/1.013, allocations: 2.562 MB / 0.6949 GB, free: 146.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/1.013, allocations: 30.88 kB / 0.6949 GB, free: 146.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.0124/1.026, allocations: 5.047 MB / 0.6998 GB, free: 145.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.026, allocations: 8.812 kB / 0.6998 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.026, allocations: 106.2 kB / 0.6999 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/1.026, allocations: 156.2 kB / 0.7001 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006555/1.033, allocations: 1.068 MB / 0.7011 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000151/1.033, allocations: 209.3 kB / 0.7013 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/1.037, allocations: 353.7 kB / 0.7017 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005742/1.037, allocations: 303.5 kB / 0.702 GB, free: 144.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (594): * Single equations (assignments): 588 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007179/1.038, allocations: 293.4 kB / 0.7022 GB, free: 144.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/1.039, allocations: 217.6 kB / 0.7025 GB, free: 144.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/1.043, allocations: 2.114 MB / 0.7045 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/1.044, allocations: 9.75 kB / 0.7045 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.044, allocations: 3.594 kB / 0.7045 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.044, allocations: 3.844 kB / 0.7045 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.058, allocations: 6.598 MB / 0.711 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.058, allocations: 8 kB / 0.711 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.059, allocations: 187.3 kB / 0.7112 GB, free: 138.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/1.059, allocations: 19.75 kB / 0.7112 GB, free: 138.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/1.059, allocations: 27.53 kB / 0.7112 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/1.059, allocations: 20.19 kB / 0.7112 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/1.059, allocations: 15.94 kB / 0.7112 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003994/1.063, allocations: 3.026 MB / 0.7142 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/1.064, allocations: 380.5 kB / 0.7146 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004179/1.064, allocations: 15.94 kB / 0.7146 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.066, allocations: 27.11 kB / 0.7146 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.066, allocations: 98.47 kB / 0.7147 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.066, allocations: 52 kB / 0.7147 GB, free: 134.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002555/1.069, allocations: 1.374 MB / 0.7161 GB, free: 133.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004686/1.073, allocations: 0.9247 MB / 0.717 GB, free: 132.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004094/1.074, allocations: 149.3 kB / 0.7171 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006354/1.08, allocations: 3.325 MB / 0.7204 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.08, allocations: 8 kB / 0.7204 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.082, allocations: 0.9399 MB / 0.7213 GB, free: 128.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.083, allocations: 176.5 kB / 0.7215 GB, free: 128.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.099, allocations: 6.857 MB / 0.7282 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005849/1.105, allocations: 3.276 MB / 0.7314 GB, free: 119.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/1.105, allocations: 0 / 0.7314 GB, free: 119.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07338/1.178, allocations: 40.57 MB / 0.771 GB, free: 81.08 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)