Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002219/0.002219, allocations: 182.4 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.217/1.217, allocations: 194.2 MB / 202.1 MB, free: 8.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 125.7 kB / 247.1 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1962/0.1962, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/6.081e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09545, allocations: 54.86 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3167/0.4122, allocations: 84.68 MB / 0.5198 GB, free: 9.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4125, allocations: 68.34 kB / 0.5199 GB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06012/0.4727, allocations: 25.52 MB / 0.5448 GB, free: 8.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.745e-05/0.4728, allocations: 32 kB / 0.5449 GB, free: 8.949 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.004606/0.4774, allocations: 1.6 MB / 0.5464 GB, free: 7.422 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/0.4775, allocations: 8.031 kB / 0.5464 GB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.4795, allocations: 257.1 kB / 0.5467 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.4826, allocations: 0.8208 MB / 0.5475 GB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.4827, allocations: 63.98 kB / 0.5475 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.483, allocations: 108 kB / 0.5476 GB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002944/0.4859, allocations: 1.731 MB / 0.5493 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/0.4896, allocations: 3.091 MB / 0.5523 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.4896, allocations: 19.81 kB / 0.5524 GB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.4898, allocations: 12 kB / 0.5524 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/0.4901, allocations: 353.8 kB / 0.5527 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.5004, allocations: 14.46 MB / 0.5668 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.5005, allocations: 165.1 kB / 0.567 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.5005, allocations: 85.31 kB / 0.5671 GB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.5006, allocations: 75.28 kB / 0.5671 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.5006, allocations: 117.1 kB / 0.5673 GB, free: 3.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.684e-06/0.5006, allocations: 0 / 0.5673 GB, free: 3.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001845/0.5008, allocations: 128.4 kB / 0.5674 GB, free: 3.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.5008, allocations: 51.41 kB / 0.5674 GB, free: 3.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.5022, allocations: 1.118 MB / 0.5685 GB, free: 2.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.5022, allocations: 25.7 kB / 0.5685 GB, free: 2.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007565/0.5029, allocations: 1.324 MB / 0.5698 GB, free: 1.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.503, allocations: 49.39 kB / 0.5699 GB, free: 1.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.503, allocations: 0 / 0.5699 GB, free: 1.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5032, allocations: 415.3 kB / 0.5703 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.5036, allocations: 321.8 kB / 0.5706 GB, free: 1.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.5051, allocations: 1.844 MB / 0.5724 GB, free: 14.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.5059, allocations: 0.743 MB / 0.5731 GB, free: 13.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.5059, allocations: 16 kB / 0.5731 GB, free: 13.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00228/0.5082, allocations: 1.699 MB / 0.5748 GB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5082, allocations: 8.25 kB / 0.5748 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/0.5083, allocations: 59.98 kB / 0.5749 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.859e-05/0.5084, allocations: 80 kB / 0.5749 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5095, allocations: 479.8 kB / 0.5754 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.561e-05/0.5096, allocations: 119.5 kB / 0.5755 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.5107, allocations: 248.9 kB / 0.5757 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.5109, allocations: 136.9 kB / 0.5759 GB, free: 11.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * 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.0002309/0.5111, allocations: 331.4 kB / 0.5762 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5112, allocations: 199.7 kB / 0.5764 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.5114, allocations: 205.2 kB / 0.5766 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/0.5115, allocations: 184.2 kB / 0.5767 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.626e-05/0.5115, allocations: 180.2 kB / 0.5769 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.5116, allocations: 184.2 kB / 0.5771 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.5125, allocations: 1.01 MB / 0.5781 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.5126, allocations: 109.1 kB / 0.5782 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.5126, allocations: 105 kB / 0.5783 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/0.5127, allocations: 180.2 kB / 0.5785 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.5127, allocations: 184.3 kB / 0.5786 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-05/0.5128, allocations: 180.2 kB / 0.5788 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.854e-05/0.5129, allocations: 180.3 kB / 0.579 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002019/0.5131, allocations: 411.5 kB / 0.5794 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.5133, allocations: 264.1 kB / 0.5796 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5135, allocations: 184.2 kB / 0.5798 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.5137, allocations: 101 kB / 0.5799 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5138, allocations: 191.7 kB / 0.5801 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.5138, allocations: 101 kB / 0.5802 GB, free: 7.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007568/0.5146, allocations: 0.7136 MB / 0.5809 GB, free: 6.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001426/0.516, allocations: 417.7 kB / 0.5813 GB, free: 6.066 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001685/0.5162, allocations: 181.7 kB / 0.5814 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008708/0.5171, allocations: 0.7865 MB / 0.5822 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5171, allocations: 0 / 0.5822 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5171, allocations: 0 / 0.5822 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.5176, allocations: 0.6074 MB / 0.5828 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.5208, allocations: 2.055 MB / 0.5848 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.5223, allocations: 1.691 MB / 0.5865 GB, free: 0.918 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5223, allocations: 0 / 0.5865 GB, free: 0.918 MB / 394.7 MB Notification: Performance of Templates: time 0.01576/0.538, allocations: 6.228 MB / 0.5925 GB, free: 10.81 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)