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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001492, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4177/0.4177, allocations: 38.04 MB / 308.4 MB, free: 10.38 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006412/0.0006412, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1465, allocations: 57.53 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.3842/0.5308, allocations: 117.7 MB / 0.5387 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07413/0.605, allocations: 25.71 MB / 0.5638 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03605/0.6411, allocations: 0.5651 MB / 0.5643 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02511/0.6662, allocations: 5.96 MB / 0.5702 GB, free: 376 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.07042/0.7367, allocations: 16.6 MB / 0.5864 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.7473, allocations: 1.202 MB / 0.5876 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.06437/0.8117, allocations: 40.55 MB / 0.6272 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3772/1.189, allocations: 10.1 MB / 0.637 GB, free: 42.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/1.195, allocations: 2.169 MB / 0.6391 GB, free: 42.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006175/1.201, allocations: 3.037 MB / 0.6421 GB, free: 42.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002786/1.204, allocations: 334.5 kB / 0.6424 GB, free: 42.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/1.21, allocations: 1.164 MB / 0.6436 GB, free: 42.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006495/1.216, allocations: 3.565 MB / 0.647 GB, free: 42.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005141/1.222, allocations: 1.824 MB / 0.6488 GB, free: 42.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/1.243, allocations: 12.36 MB / 0.6609 GB, free: 41.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.243, allocations: 4.656 kB / 0.6609 GB, free: 41.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.657e-06/1.243, allocations: 0 / 0.6609 GB, free: 41.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008597/1.244, allocations: 0.7188 kB / 0.6609 GB, free: 41.79 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03723/1.281, allocations: 9.257 MB / 0.6699 GB, free: 36.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/1.281, allocations: 13.09 kB / 0.67 GB, free: 36.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06701/1.348, allocations: 11.56 MB / 0.6812 GB, free: 32.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/1.37, allocations: 6.486 MB / 0.6876 GB, free: 30.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00064/1.371, allocations: 0.5232 MB / 0.6881 GB, free: 30.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005811/1.377, allocations: 0.7023 MB / 0.6888 GB, free: 30.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05989/1.437, allocations: 22.12 MB / 0.7104 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006917/1.437, allocations: 89.48 kB / 0.7105 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004318/1.442, allocations: 335.9 kB / 0.7108 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008023/1.45, allocations: 4.202 MB / 0.7149 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04808/1.498, allocations: 18.81 MB / 0.7333 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1359/1.634, allocations: 80.69 MB / 0.8121 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/1.658, allocations: 9.237 MB / 0.8211 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/1.658, allocations: 88.38 kB / 0.8212 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.644e-05/1.658, allocations: 79.73 kB / 0.8212 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=412): time 9.228e-06/1.658, allocations: 0 / 0.8212 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=475): time 0.4325/2.091, allocations: 47.65 MB / 0.8678 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/2.091, allocations: 291 kB / 0.868 GB, free: 219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01984/2.111, allocations: 8.71 MB / 0.8766 GB, free: 216 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00206/2.113, allocations: 97.73 kB / 0.8766 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006765/2.12, allocations: 6.101 MB / 0.8826 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.004625/2.125, allocations: 1.744 MB / 0.8843 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003908/2.128, allocations: 231.6 kB / 0.8845 GB, free: 209.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.001543/2.13, allocations: 0.7814 MB / 0.8853 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01303/2.143, allocations: 5.157 MB / 0.8903 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01848/2.162, allocations: 11.19 MB / 0.9013 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/2.177, allocations: 7.453 MB / 0.9085 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/2.177, allocations: 60.53 kB / 0.9086 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.04096/2.218, allocations: 18.56 MB / 0.9267 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/2.219, allocations: 96 kB / 0.9268 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003643/2.219, allocations: 208 kB / 0.927 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006558/2.225, allocations: 2.624 MB / 0.9296 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/2.237, allocations: 2.711 MB / 0.9322 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/2.257, allocations: 18.57 MB / 0.9503 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/2.271, allocations: 0.6706 MB / 0.951 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0034/2.274, allocations: 0.6412 MB / 0.9516 GB, free: 163.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 75 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1359): * Single equations (assignments): 1353 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01405/2.288, allocations: 4.196 MB / 0.9557 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002973/2.291, allocations: 0.7482 MB / 0.9565 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/2.312, allocations: 11.1 MB / 0.9673 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-05/2.312, allocations: 48 kB / 0.9673 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.045e-05/2.312, allocations: 16 kB / 0.9674 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/2.313, allocations: 23.91 kB / 0.9674 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05584/2.368, allocations: 23.55 MB / 0.9904 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.146e-05/2.368, allocations: 4 kB / 0.9904 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005175/2.374, allocations: 0.9169 MB / 0.9913 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005736/2.379, allocations: 2.293 MB / 0.9935 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001381/2.381, allocations: 91.97 kB / 0.9936 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/2.4, allocations: 17.47 MB / 1.011 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/2.4, allocations: 4 kB / 1.011 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02663/2.427, allocations: 18.33 MB / 1.029 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00653/2.433, allocations: 1.651 MB / 1.03 GB, free: 84.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002771/2.436, allocations: 83.98 kB / 1.03 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006037/2.442, allocations: 355.5 kB / 1.031 GB, free: 83.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/2.443, allocations: 282.8 kB / 1.031 GB, free: 83.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004216/2.444, allocations: 129.9 kB / 1.031 GB, free: 83.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01047/2.454, allocations: 5.627 MB / 1.036 GB, free: 77.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/2.454, allocations: 0 / 1.036 GB, free: 77.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01486/2.469, allocations: 2.318 MB / 1.039 GB, free: 75.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 400 * 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.001868/2.471, allocations: 264 kB / 1.039 GB, free: 75.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02334/2.494, allocations: 12.77 MB / 1.051 GB, free: 62.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.495, allocations: 8.062 kB / 1.051 GB, free: 62.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009435/2.504, allocations: 5.611 MB / 1.057 GB, free: 56.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00858/2.513, allocations: 0.9384 MB / 1.058 GB, free: 55.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04943/2.562, allocations: 25.54 MB / 1.083 GB, free: 30.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/2.575, allocations: 6.594 MB / 1.089 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.2553/2.831, allocations: 3.779 MB / 1.093 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003824/2.834, allocations: 0.5379 MB / 1.093 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.044e-06/2.834, allocations: 0 / 1.093 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1639/2.998, allocations: 90.95 MB / 1.182 GB, free: 159.9 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: