Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.005223/0.005223, allocations: 181.4 kB / 7.455 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.272/1.272, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001619/0.001619, allocations: 120.6 kB / 247.1 MB, free: 6.398 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.1768/0.1768, allocations: 39.95 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.773e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 54.87 MB / 447.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4442, allocations: 100.7 MB / 0.5355 GB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.4445, allocations: 79.39 kB / 0.5356 GB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6476/1.092, allocations: 173 MB / 0.7046 GB, free: 79.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008311/1.093, allocations: 184.1 kB / 0.7047 GB, free: 79.87 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.03503/1.128, allocations: 8.73 MB / 0.7133 GB, free: 76.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.128, allocations: 10.88 kB / 0.7133 GB, free: 76.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04065/1.169, allocations: 9.466 MB / 0.7225 GB, free: 75.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.195, allocations: 9.926 MB / 0.7322 GB, free: 74.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005292/1.195, allocations: 301.3 kB / 0.7325 GB, free: 74.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004561/1.2, allocations: 0.5406 MB / 0.733 GB, free: 74.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02629/1.226, allocations: 13.33 MB / 0.7461 GB, free: 74.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04834/1.275, allocations: 19.59 MB / 0.7652 GB, free: 64.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007786/1.275, allocations: 103.9 kB / 0.7653 GB, free: 64.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003962/1.279, allocations: 52 kB / 0.7653 GB, free: 64.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/1.282, allocations: 2.232 MB / 0.7675 GB, free: 62.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2784/1.561, allocations: 88.95 MB / 0.8544 GB, free: 128.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009236/1.57, allocations: 8.261 MB / 0.8625 GB, free: 127.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006647/1.577, allocations: 5.978 MB / 0.8683 GB, free: 127.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02619/1.603, allocations: 15.36 MB / 0.8833 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.674e-05/1.603, allocations: 79.98 kB / 0.8834 GB, free: 125.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=394): time 1.085e-05/1.603, allocations: 0 / 0.8834 GB, free: 125.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=460): time 0.07861/1.682, allocations: 38.14 MB / 0.9206 GB, free: 116.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/1.682, allocations: 280.1 kB / 0.9209 GB, free: 116.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009383/1.691, allocations: 5.664 MB / 0.9264 GB, free: 114.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.692, allocations: 28.36 kB / 0.9264 GB, free: 114.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002955/1.695, allocations: 5.688 MB / 0.932 GB, free: 110.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.698, allocations: 1.649 MB / 0.9336 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007181/1.698, allocations: 0 / 0.9336 GB, free: 108.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005328/1.699, allocations: 0.7921 MB / 0.9344 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006915/1.706, allocations: 4.934 MB / 0.9392 GB, free: 106.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.717, allocations: 11.21 MB / 0.9502 GB, free: 96.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.729, allocations: 7.402 MB / 0.9574 GB, free: 90.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004437/1.73, allocations: 64 kB / 0.9574 GB, free: 90.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=1506) (initialization): time 0.03539/1.765, allocations: 16.87 MB / 0.9739 GB, free: 77.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.765, allocations: 4 kB / 0.9739 GB, free: 77.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004795/1.766, allocations: 220 kB / 0.9741 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006122/1.772, allocations: 2.376 MB / 0.9765 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/1.783, allocations: 2.698 MB / 0.9791 GB, free: 72.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/1.803, allocations: 15.54 MB / 0.9943 GB, free: 58.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/1.814, allocations: 385.3 kB / 0.9946 GB, free: 58.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003129/1.817, allocations: 0.6668 MB / 0.9953 GB, free: 57.8 MB / 490.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.002554/1.82, allocations: 0.6698 MB / 0.9959 GB, free: 57.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/1.821, allocations: 0.632 MB / 0.9966 GB, free: 56.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.838, allocations: 10.16 MB / 1.006 GB, free: 48.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.469e-05/1.838, allocations: 44 kB / 1.007 GB, free: 48.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.374e-05/1.838, allocations: 12 kB / 1.007 GB, free: 48.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-05/1.838, allocations: 24.86 kB / 1.007 GB, free: 48.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03598/1.874, allocations: 20.36 MB / 1.026 GB, free: 31.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/1.874, allocations: 0 / 1.026 GB, free: 31.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1614/2.036, allocations: 0.8009 MB / 1.027 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005352/2.041, allocations: 1.987 MB / 1.029 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/2.042, allocations: 15.72 kB / 1.029 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/2.06, allocations: 14.36 MB / 1.043 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.06, allocations: 1.312 kB / 1.043 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02401/2.084, allocations: 16.5 MB / 1.059 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004388/2.088, allocations: 1.421 MB / 1.061 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002844/2.091, allocations: 3.5 kB / 1.061 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005238/2.096, allocations: 185.8 kB / 1.061 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.098, allocations: 207.4 kB / 1.061 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004524/2.098, allocations: 118 kB / 1.061 GB, free: 118 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.006955/2.105, allocations: 3.835 MB / 1.065 GB, free: 117.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01241/2.117, allocations: 1.934 MB / 1.067 GB, free: 117.8 MB / 490.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.001297/2.119, allocations: 163.7 kB / 1.067 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.019/2.138, allocations: 12.28 MB / 1.079 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.138, allocations: 0 / 1.079 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00891/2.147, allocations: 5.029 MB / 1.084 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/2.152, allocations: 0.6529 MB / 1.085 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/2.189, allocations: 18.22 MB / 1.102 GB, free: 109.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0141/2.203, allocations: 7.116 MB / 1.109 GB, free: 107.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/2.203, allocations: 0 / 1.109 GB, free: 107.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1417/2.344, allocations: 89.44 MB / 1.197 GB, free: 39.23 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)