Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.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.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") [: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.003772/0.003772, allocations: 173.5 kB / 7.449 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.114/1.114, allocations: 170.6 MB / 178.4 MB, free: 15.75 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.001752/0.001752, allocations: 107.9 kB / 217.7 MB, free: 8.539 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.1864/0.1864, allocations: 37.98 MB / 294.8 MB, free: 9.543 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/9.047e-06, allocations: 1.531 kB / 349.5 MB, free: 37.17 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 48.72 MB / 398.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4655, allocations: 92.13 MB / 490.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4658, allocations: 73.2 kB / 490.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3919/0.8577, allocations: 138.2 MB / 0.6139 GB, free: 2.184 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008612/0.8587, allocations: 140 kB / 0.614 GB, free: 2.047 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.257/1.116, allocations: 6.77 MB / 0.6206 GB, free: 101.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.116, allocations: 6.25 kB / 0.6206 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0374/1.153, allocations: 9.133 MB / 0.6295 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02607/1.179, allocations: 8.934 MB / 0.6383 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004885/1.18, allocations: 231.8 kB / 0.6385 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003884/1.184, allocations: 424.3 kB / 0.6389 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02147/1.205, allocations: 9.75 MB / 0.6484 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03913/1.244, allocations: 14.91 MB / 0.663 GB, free: 96.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004548/1.245, allocations: 100.5 kB / 0.6631 GB, free: 96.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/1.247, allocations: 42.72 kB / 0.6631 GB, free: 96.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/1.249, allocations: 1.638 MB / 0.6647 GB, free: 96.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08967/1.339, allocations: 71.07 MB / 0.7341 GB, free: 49.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006621/1.346, allocations: 5.065 MB / 0.7391 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004375/1.35, allocations: 3.436 MB / 0.7424 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/1.369, allocations: 9.776 MB / 0.752 GB, free: 39.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/1.369, allocations: 65.83 kB / 0.752 GB, free: 39.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=243): time 6.362e-06/1.369, allocations: 0 / 0.752 GB, free: 39.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.04693/1.416, allocations: 23.31 MB / 0.7748 GB, free: 18.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/1.416, allocations: 257.3 kB / 0.775 GB, free: 18.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009402/1.425, allocations: 5.001 MB / 0.7799 GB, free: 14.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.426, allocations: 28.11 kB / 0.7799 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003057/1.429, allocations: 4.628 MB / 0.7845 GB, free: 10.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.431, allocations: 0.994 MB / 0.7854 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005077/1.432, allocations: 1.125 kB / 0.7854 GB, free: 9.191 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005007/1.432, allocations: 0.6737 MB / 0.7861 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/1.436, allocations: 2.871 MB / 0.7889 GB, free: 6.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2693/1.705, allocations: 8.305 MB / 0.797 GB, free: 89.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007938/1.713, allocations: 4.865 MB / 0.8018 GB, free: 89.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002477/1.714, allocations: 58.62 kB / 0.8018 GB, free: 89.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.02598/1.74, allocations: 10.49 MB / 0.8121 GB, free: 89.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.74, allocations: 7.188 kB / 0.8121 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004184/1.74, allocations: 197.4 kB / 0.8122 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/1.742, allocations: 0.8401 MB / 0.8131 GB, free: 89.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007814/1.75, allocations: 2.053 MB / 0.8151 GB, free: 89.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008082/1.758, allocations: 8.059 MB / 0.8229 GB, free: 85.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007976/1.766, allocations: 284.5 kB / 0.8232 GB, free: 85.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002231/1.768, allocations: 0.5359 MB / 0.8237 GB, free: 85.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (1094): * Single equations (assignments): 1088 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00178/1.77, allocations: 0.5815 MB / 0.8243 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.771, allocations: 0.516 MB / 0.8248 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/1.779, allocations: 4.355 MB / 0.8291 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/1.779, allocations: 26.42 kB / 0.8291 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.779, allocations: 7.406 kB / 0.8291 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.779, allocations: 15.61 kB / 0.8291 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.798, allocations: 10.14 MB / 0.839 GB, free: 84.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.798, allocations: 3.969 kB / 0.839 GB, free: 84.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.801, allocations: 414 kB / 0.8394 GB, free: 84.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/1.802, allocations: 0.5283 MB / 0.8399 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/1.802, allocations: 16.78 kB / 0.8399 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/1.809, allocations: 7.135 MB / 0.8469 GB, free: 80.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.809, allocations: 3.188 kB / 0.8469 GB, free: 80.67 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009735/1.819, allocations: 7.815 MB / 0.8545 GB, free: 79.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/1.821, allocations: 0.8937 MB / 0.8554 GB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.822, allocations: 7.359 kB / 0.8554 GB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/1.825, allocations: 91.47 kB / 0.8555 GB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/1.825, allocations: 122.4 kB / 0.8556 GB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.825, allocations: 69.44 kB / 0.8557 GB, free: 79.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006752/1.832, allocations: 3.401 MB / 0.859 GB, free: 79.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01031/1.842, allocations: 1.33 MB / 0.8603 GB, free: 79.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006056/1.843, allocations: 153.2 kB / 0.8605 GB, free: 79.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01149/1.854, allocations: 7.092 MB / 0.8674 GB, free: 77.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.854, allocations: 0 / 0.8674 GB, free: 77.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00373/1.858, allocations: 2.39 MB / 0.8697 GB, free: 76.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/1.863, allocations: 0.5794 MB / 0.8703 GB, free: 75.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/1.892, allocations: 12.36 MB / 0.8824 GB, free: 71.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01184/1.904, allocations: 5.62 MB / 0.8878 GB, free: 69.89 MB / 426.7 MB Notification: Performance of SimCode: time 2.304e-06/1.904, allocations: 0 / 0.8878 GB, free: 69.89 MB / 426.7 MB Notification: Performance of Templates: time 0.119/2.023, allocations: 55.07 MB / 0.9416 GB, free: 34.27 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)