Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") [: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.002607/0.002606, allocations: 188.8 kB / 7.459 MB, free: 2.23 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.162/1.162, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.001595/0.001594, allocations: 122 kB / 247.1 MB, free: 6.379 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.1503/0.1503, allocations: 39.95 MB / 331.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.843e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08476, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.3997, allocations: 101.8 MB / 0.5366 GB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.3999, allocations: 71.53 kB / 0.5366 GB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5802/0.9801, allocations: 146.9 MB / 0.6801 GB, free: 81.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003584/0.9805, allocations: 150.7 kB / 0.6803 GB, free: 81.45 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.02169/1.002, allocations: 7.318 MB / 0.6874 GB, free: 78.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.002, allocations: 9.125 kB / 0.6874 GB, free: 78.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03616/1.038, allocations: 9.222 MB / 0.6964 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/1.062, allocations: 9.217 MB / 0.7054 GB, free: 77.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/1.062, allocations: 254.4 kB / 0.7057 GB, free: 77.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002975/1.065, allocations: 465.6 kB / 0.7061 GB, free: 77.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0189/1.084, allocations: 10.79 MB / 0.7167 GB, free: 77.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/1.113, allocations: 16.46 MB / 0.7327 GB, free: 72.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003089/1.113, allocations: 106.7 kB / 0.7328 GB, free: 72.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/1.114, allocations: 49.16 kB / 0.7329 GB, free: 72.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/1.116, allocations: 1.817 MB / 0.7347 GB, free: 72.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08747/1.204, allocations: 79.32 MB / 0.8121 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/1.211, allocations: 6.301 MB / 0.8183 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004787/1.216, allocations: 4.425 MB / 0.8226 GB, free: 3.777 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/1.238, allocations: 12.02 MB / 0.8343 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/1.238, allocations: 72.36 kB / 0.8344 GB, free: 9.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=301): time 5.901e-06/1.238, allocations: 0 / 0.8344 GB, free: 9.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=337): time 0.2546/1.492, allocations: 30.3 MB / 0.864 GB, free: 134.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/1.493, allocations: 294.4 kB / 0.8643 GB, free: 134.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008419/1.501, allocations: 5.184 MB / 0.8693 GB, free: 133.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007244/1.502, allocations: 27.73 kB / 0.8694 GB, free: 133.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002758/1.504, allocations: 4.938 MB / 0.8742 GB, free: 130.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.506, allocations: 1.24 MB / 0.8754 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/1.507, allocations: 0 / 0.8754 GB, free: 130.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004525/1.507, allocations: 0.7202 MB / 0.8761 GB, free: 129.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.512, allocations: 3.594 MB / 0.8796 GB, free: 129.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/1.518, allocations: 9.372 MB / 0.8888 GB, free: 122.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008285/1.527, allocations: 5.78 MB / 0.8944 GB, free: 122.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/1.527, allocations: 58.75 kB / 0.8945 GB, free: 122.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1286) (initialization): time 0.02501/1.552, allocations: 12.73 MB / 0.9069 GB, free: 121.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.552, allocations: 7.625 kB / 0.9069 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003361/1.552, allocations: 208.9 kB / 0.9071 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003366/1.556, allocations: 1.348 MB / 0.9084 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008919/1.565, allocations: 2.281 MB / 0.9106 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.576, allocations: 10.49 MB / 0.9209 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009265/1.586, allocations: 307.7 kB / 0.9212 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002778/1.588, allocations: 0.5833 MB / 0.9217 GB, free: 117.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1211): * Single equations (assignments): 1205 * 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 {(4,75.0%) 21,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001974/1.59, allocations: 0.6214 MB / 0.9224 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/1.592, allocations: 0.554 MB / 0.9229 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.602, allocations: 6.415 MB / 0.9292 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.669e-05/1.602, allocations: 35.09 kB / 0.9292 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/1.602, allocations: 10.69 kB / 0.9292 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/1.602, allocations: 14.2 kB / 0.9292 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03004/1.632, allocations: 13.77 MB / 0.9427 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/1.632, allocations: 0 / 0.9427 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/1.636, allocations: 0.5464 MB / 0.9432 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/1.638, allocations: 0.9974 MB / 0.9442 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/1.639, allocations: 18.61 kB / 0.9442 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.649, allocations: 9.508 MB / 0.9535 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.649, allocations: 3.828 kB / 0.9535 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01406/1.663, allocations: 11.02 MB / 0.9642 GB, free: 93.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003013/1.666, allocations: 1.076 MB / 0.9653 GB, free: 92.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.668, allocations: 4 kB / 0.9653 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.67, allocations: 93.12 kB / 0.9654 GB, free: 92.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/1.671, allocations: 164.5 kB / 0.9655 GB, free: 91.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.671, allocations: 83.75 kB / 0.9656 GB, free: 91.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005319/1.676, allocations: 3.519 MB / 0.9691 GB, free: 88.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009609/1.686, allocations: 1.52 MB / 0.9705 GB, free: 87.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 277 * 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%) 10,(1,100.0%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006358/1.686, allocations: 153.3 kB / 0.9707 GB, free: 87.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01336/1.7, allocations: 8.924 MB / 0.9794 GB, free: 79.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.7, allocations: 4 kB / 0.9794 GB, free: 79.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.704, allocations: 3.338 MB / 0.9827 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.709, allocations: 0.6061 MB / 0.9833 GB, free: 75.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/1.739, allocations: 14.3 MB / 0.9972 GB, free: 62.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009443/1.748, allocations: 6.069 MB / 1.003 GB, free: 58.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/1.749, allocations: 0 / 1.003 GB, free: 58.16 MB / 490.7 MB Notification: Performance of Templates: time 0.3513/2.1, allocations: 66.72 MB / 1.068 GB, free: 121.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)