Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") [: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.00351/0.00351, allocations: 175.6 kB / 7.451 MB, free: 2.504 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.256/1.256, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001712/0.001712, allocations: 111.9 kB / 217.7 MB, free: 8.203 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.1915/0.1915, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.807e-06/8.956e-06, allocations: 2.688 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5055, allocations: 93.93 MB / 492.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5058, allocations: 74.02 kB / 492.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7111/1.217, allocations: 172.7 MB / 0.6494 GB, free: 62.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008786/1.218, allocations: 176.8 kB / 0.6495 GB, free: 62.11 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04666/1.265, allocations: 8.73 MB / 0.6581 GB, free: 58.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.265, allocations: 11.53 kB / 0.6581 GB, free: 58.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05974/1.324, allocations: 9.455 MB / 0.6673 GB, free: 58.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02922/1.354, allocations: 9.934 MB / 0.677 GB, free: 57.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006563/1.354, allocations: 303.2 kB / 0.6773 GB, free: 57.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00516/1.359, allocations: 0.5349 MB / 0.6778 GB, free: 57.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03023/1.39, allocations: 13.32 MB / 0.6908 GB, free: 57.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06284/1.453, allocations: 19.57 MB / 0.7099 GB, free: 47.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001087/1.454, allocations: 105 kB / 0.71 GB, free: 47.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00636/1.46, allocations: 54.91 kB / 0.7101 GB, free: 47.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003646/1.464, allocations: 2.23 MB / 0.7123 GB, free: 45.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3234/1.787, allocations: 88.89 MB / 0.7991 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009735/1.797, allocations: 8.27 MB / 0.8071 GB, free: 55.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008692/1.806, allocations: 5.96 MB / 0.813 GB, free: 55.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02842/1.834, allocations: 15.37 MB / 0.828 GB, free: 53.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.161e-05/1.834, allocations: 80.09 kB / 0.828 GB, free: 53.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=394): time 7.594e-06/1.834, allocations: 0 / 0.828 GB, free: 53.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=460): time 0.08438/1.919, allocations: 38.14 MB / 0.8653 GB, free: 44.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.919, allocations: 280.2 kB / 0.8656 GB, free: 43.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.93, allocations: 5.67 MB / 0.8711 GB, free: 41.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00193/1.931, allocations: 27.95 kB / 0.8711 GB, free: 41.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00423/1.936, allocations: 5.684 MB / 0.8767 GB, free: 37.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002674/1.938, allocations: 1.644 MB / 0.8783 GB, free: 36.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009393/1.939, allocations: 3.188 kB / 0.8783 GB, free: 36.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000564/1.94, allocations: 0.7942 MB / 0.8791 GB, free: 36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007373/1.947, allocations: 4.931 MB / 0.8839 GB, free: 34.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/1.962, allocations: 11.22 MB / 0.8948 GB, free: 24.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.973, allocations: 7.389 MB / 0.9021 GB, free: 21.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000207/1.973, allocations: 65.41 kB / 0.9021 GB, free: 21.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=1506) (initialization): time 0.03869/2.012, allocations: 16.89 MB / 0.9186 GB, free: 9.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/2.012, allocations: 4 kB / 0.9186 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000377/2.012, allocations: 226.7 kB / 0.9188 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006025/2.018, allocations: 2.369 MB / 0.9211 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/2.03, allocations: 2.696 MB / 0.9238 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/2.052, allocations: 15.53 MB / 0.9389 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/2.064, allocations: 386.8 kB / 0.9393 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003645/2.068, allocations: 0.6662 MB / 0.94 GB, free: 6.051 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1410): * Single equations (assignments): 1404 * 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,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003984/2.072, allocations: 0.6757 MB / 0.9406 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002192/2.074, allocations: 0.6325 MB / 0.9412 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2019/2.276, allocations: 10.25 MB / 0.9512 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/2.276, allocations: 46.09 kB / 0.9513 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/2.276, allocations: 15.44 kB / 0.9513 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.58e-05/2.276, allocations: 23.67 kB / 0.9513 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0385/2.315, allocations: 20.35 MB / 0.9712 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/2.315, allocations: 1.625 kB / 0.9712 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004747/2.32, allocations: 0.7783 MB / 0.972 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005525/2.325, allocations: 1.985 MB / 0.9739 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009609/2.326, allocations: 15.05 kB / 0.9739 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/2.343, allocations: 14.36 MB / 0.9879 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.343, allocations: 0 / 0.9879 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02221/2.365, allocations: 16.5 MB / 1.004 GB, free: 99.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00357/2.369, allocations: 1.423 MB / 1.005 GB, free: 99.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.37, allocations: 0 / 1.005 GB, free: 99.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/2.374, allocations: 187.9 kB / 1.006 GB, free: 99.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/2.374, allocations: 218.3 kB / 1.006 GB, free: 99.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003962/2.375, allocations: 113.9 kB / 1.006 GB, free: 99.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005708/2.381, allocations: 3.834 MB / 1.01 GB, free: 97.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01068/2.391, allocations: 1.937 MB / 1.012 GB, free: 97.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 383 * 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%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007981/2.392, allocations: 164.1 kB / 1.012 GB, free: 97.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01709/2.409, allocations: 12.28 MB / 1.024 GB, free: 93.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.409, allocations: 2.656 kB / 1.024 GB, free: 93.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008108/2.417, allocations: 5.04 MB / 1.029 GB, free: 91.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/2.422, allocations: 0.6564 MB / 1.029 GB, free: 91.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/2.459, allocations: 18.2 MB / 1.047 GB, free: 85.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/2.471, allocations: 7.125 MB / 1.054 GB, free: 80.27 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/2.471, allocations: 0 / 1.054 GB, free: 80.27 MB / 458.7 MB Notification: Performance of Templates: time 0.4032/2.874, allocations: 89.4 MB / 1.141 GB, free: 92.67 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)