Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies") translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies") [: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.1+maint.om/package.mo): time 0.002598/0.002598, allocations: 175.2 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.134/1.134, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001658/0.001658, allocations: 112.9 kB / 217.7 MB, free: 8.164 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1586/0.1586, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.743e-06, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.4969, allocations: 87.7 MB / 485.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4972, allocations: 76.73 kB / 486 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2588/0.756, allocations: 92.93 MB / 0.5653 GB, free: 2.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002756/0.7563, allocations: 79.59 kB / 0.5654 GB, free: 2.188 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01475/0.7711, allocations: 3.948 MB / 0.5693 GB, free: 14.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7711, allocations: 15.91 kB / 0.5693 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02529/0.7964, allocations: 5.719 MB / 0.5749 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02426/0.8207, allocations: 9.114 MB / 0.5838 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.8211, allocations: 104 kB / 0.5839 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.823, allocations: 219.8 kB / 0.5841 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01143/0.8345, allocations: 4.426 MB / 0.5884 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.8541, allocations: 6.17 MB / 0.5944 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005098/0.8547, allocations: 63.48 kB / 0.5945 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001961/0.8566, allocations: 20 kB / 0.5945 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/0.8585, allocations: 0.6535 MB / 0.5951 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2652/1.124, allocations: 29.61 MB / 0.6241 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/1.124, allocations: 325 kB / 0.6244 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/1.124, allocations: 165.3 kB / 0.6245 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/1.124, allocations: 12.34 kB / 0.6245 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.124, allocations: 36.72 kB / 0.6246 GB, free: 119.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.266e-06/1.125, allocations: 0 / 0.6246 GB, free: 119.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.006098/1.131, allocations: 1.612 MB / 0.6262 GB, free: 119.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/1.131, allocations: 235.2 kB / 0.6264 GB, free: 119.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006068/1.137, allocations: 3.468 MB / 0.6298 GB, free: 118.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/1.137, allocations: 25.7 kB / 0.6298 GB, free: 118.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/1.139, allocations: 2.257 MB / 0.632 GB, free: 117.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/1.139, allocations: 169.2 kB / 0.6322 GB, free: 117.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/1.139, allocations: 1.969 kB / 0.6322 GB, free: 117.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/1.139, allocations: 449.8 kB / 0.6326 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.14, allocations: 0.6931 MB / 0.6333 GB, free: 117.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/1.143, allocations: 3.268 MB / 0.6365 GB, free: 114.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/1.144, allocations: 1.477 MB / 0.6379 GB, free: 114.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/1.144, allocations: 26.66 kB / 0.6379 GB, free: 114.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.006077/1.15, allocations: 3.34 MB / 0.6412 GB, free: 113.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.151, allocations: 3.875 kB / 0.6412 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.372e-05/1.151, allocations: 93.53 kB / 0.6413 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001232/1.151, allocations: 133.6 kB / 0.6414 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/1.153, allocations: 0.8532 MB / 0.6422 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001272/1.153, allocations: 182.6 kB / 0.6424 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/1.158, allocations: 494.5 kB / 0.6429 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/1.158, allocations: 235.4 kB / 0.6431 GB, free: 113.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * 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.0005088/1.159, allocations: 347.2 kB / 0.6434 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/1.159, allocations: 333.1 kB / 0.6438 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009051/1.16, allocations: 353.2 kB / 0.6441 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.16, allocations: 3.469 kB / 0.6441 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.16, allocations: 2.969 kB / 0.6441 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/1.16, allocations: 5.594 kB / 0.6441 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/1.166, allocations: 3.489 MB / 0.6475 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/1.166, allocations: 9.688 kB / 0.6475 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/1.166, allocations: 84.08 kB / 0.6476 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/1.166, allocations: 15.06 kB / 0.6476 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/1.166, allocations: 11.69 kB / 0.6476 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/1.166, allocations: 21.34 kB / 0.6477 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.166, allocations: 15.5 kB / 0.6477 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001347/1.167, allocations: 2.054 MB / 0.6497 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008709/1.168, allocations: 451.1 kB / 0.6501 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/1.169, allocations: 11.06 kB / 0.6501 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.17, allocations: 52.75 kB / 0.6502 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/1.17, allocations: 54.5 kB / 0.6502 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/1.17, allocations: 27.56 kB / 0.6502 GB, free: 109.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003038/1.173, allocations: 2.45 MB / 0.6526 GB, free: 109.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003942/1.177, allocations: 0.8447 MB / 0.6535 GB, free: 109.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002684/1.177, allocations: 128.2 kB / 0.6536 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002268/1.179, allocations: 1.623 MB / 0.6552 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.179, allocations: 0 / 0.6552 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/1.179, allocations: 168.5 kB / 0.6553 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/1.182, allocations: 0.522 MB / 0.6558 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.192, allocations: 5.511 MB / 0.6612 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003446/1.196, allocations: 3.146 MB / 0.6643 GB, free: 106.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.786e-06/1.196, allocations: 0 / 0.6643 GB, free: 106.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05546/1.251, allocations: 22.17 MB / 0.6859 GB, free: 105.4 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1)