Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3255/0.3255, allocations: 37.99 MB / 307.7 MB, free: 9.973 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.001771/0.001771, allocations: 68.75 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1216, allocations: 56.47 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.02089/0.1425, allocations: 18.74 MB / 450.5 MB, free: 3.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2228/0.3654, allocations: 5.456 MB / 455.9 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00557/0.371, allocations: 117.8 kB / 456 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.383, allocations: 5.839 MB / 461.9 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009181/0.3922, allocations: 2.965 MB / 464.8 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.3955, allocations: 1.204 MB / 466 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009564/0.405, allocations: 7.49 MB / 473.5 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009004/0.4141, allocations: 7.579 MB / 481.1 MB, free: 29.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.419, allocations: 2.922 MB / 484 MB, free: 28.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007112/0.4262, allocations: 4.017 MB / 488 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003254/0.4295, allocations: 0.6713 MB / 488.7 MB, free: 27.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/0.4352, allocations: 1.541 MB / 490.3 MB, free: 26.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007117/0.4424, allocations: 3.719 MB / 494 MB, free: 25.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01412/0.4565, allocations: 4.224 MB / 498.2 MB, free: 22.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.4788, allocations: 12.81 MB / 0.499 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.4788, allocations: 0 / 0.499 GB, free: 16.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4788, allocations: 0 / 0.499 GB, free: 16.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000948/0.4798, allocations: 6.25 kB / 0.499 GB, free: 16.15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.0314/0.5112, allocations: 8.856 MB / 0.5077 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5113, allocations: 12.11 kB / 0.5077 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/0.5289, allocations: 2.985 MB / 0.5106 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.5421, allocations: 4.873 MB / 0.5154 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/0.5426, allocations: 454.1 kB / 0.5158 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/0.5461, allocations: 0.5921 MB / 0.5164 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04412/0.5902, allocations: 18.49 MB / 0.5344 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003995/0.5906, allocations: 67.31 kB / 0.5345 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002797/0.5935, allocations: 277.7 kB / 0.5348 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006753/0.6002, allocations: 3.554 MB / 0.5382 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03919/0.6395, allocations: 15.68 MB / 0.5536 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1144/0.7539, allocations: 70.21 MB / 0.6221 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2857/1.04, allocations: 8.444 MB / 0.6304 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00633/1.046, allocations: 4.998 MB / 0.6352 GB, free: 139.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/1.068, allocations: 11.87 MB / 0.6468 GB, free: 134.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.929e-05/1.069, allocations: 69.03 kB / 0.6469 GB, free: 134.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 9.889e-06/1.069, allocations: 0 / 0.6469 GB, free: 134.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.1137/1.182, allocations: 38.94 MB / 0.6849 GB, free: 121.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.183, allocations: 247.8 kB / 0.6852 GB, free: 121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01615/1.199, allocations: 7.429 MB / 0.6924 GB, free: 116.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001698/1.2, allocations: 89.17 kB / 0.6925 GB, free: 116.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005112/1.206, allocations: 5.203 MB / 0.6976 GB, free: 112.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003317/1.209, allocations: 1.45 MB / 0.699 GB, free: 110.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003776/1.213, allocations: 2.084 MB / 0.701 GB, free: 108.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/1.213, allocations: 309 kB / 0.7013 GB, free: 108.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/1.219, allocations: 4.469 MB / 0.7057 GB, free: 104.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007982/1.227, allocations: 10.09 MB / 0.7155 GB, free: 91.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.243, allocations: 15.63 MB / 0.7308 GB, free: 73.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002084/1.243, allocations: 60 kB / 0.7309 GB, free: 73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03595/1.279, allocations: 16.46 MB / 0.7469 GB, free: 56.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.279, allocations: 92 kB / 0.747 GB, free: 56.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/1.28, allocations: 196 kB / 0.7472 GB, free: 56.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005869/1.285, allocations: 2.32 MB / 0.7495 GB, free: 53.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009099/1.295, allocations: 2.441 MB / 0.7519 GB, free: 51.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/1.312, allocations: 14.45 MB / 0.766 GB, free: 36.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/1.323, allocations: 0.5929 MB / 0.7666 GB, free: 36.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/1.326, allocations: 0.5908 MB / 0.7671 GB, free: 35.58 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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.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 (1261): * Single equations (assignments): 1254 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008747/1.335, allocations: 3.62 MB / 0.7707 GB, free: 31.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.336, allocations: 0.6362 MB / 0.7713 GB, free: 31.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.352, allocations: 9.198 MB / 0.7803 GB, free: 22.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/1.352, allocations: 40 kB / 0.7803 GB, free: 22.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/1.352, allocations: 12 kB / 0.7803 GB, free: 22.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/1.352, allocations: 19.92 kB / 0.7803 GB, free: 22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03807/1.39, allocations: 19.36 MB / 0.7992 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/1.39, allocations: 8 kB / 0.7993 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003571/1.394, allocations: 0.7066 MB / 0.7999 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/1.398, allocations: 2.05 MB / 0.8019 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/1.4, allocations: 75.98 kB / 0.802 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2928/1.692, allocations: 13.67 MB / 0.8154 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.692, allocations: 15.44 kB / 0.8154 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02224/1.715, allocations: 14.32 MB / 0.8294 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004853/1.72, allocations: 1.348 MB / 0.8307 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/1.722, allocations: 69.86 kB / 0.8307 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004217/1.726, allocations: 269.9 kB / 0.831 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007427/1.727, allocations: 244.5 kB / 0.8312 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.727, allocations: 101.2 kB / 0.8313 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008896/1.736, allocations: 4.79 MB / 0.836 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.736, allocations: 0 / 0.836 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01338/1.749, allocations: 1.944 MB / 0.8379 GB, free: 132 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (329): * Single equations (assignments): 324 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/1.751, allocations: 226.9 kB / 0.8381 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02765/1.778, allocations: 13.95 MB / 0.8518 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.778, allocations: 3.844 kB / 0.8518 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008358/1.787, allocations: 4.318 MB / 0.856 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01219/1.799, allocations: 0.8315 MB / 0.8568 GB, free: 126 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04625/1.845, allocations: 18.56 MB / 0.8749 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/1.857, allocations: 5.492 MB / 0.8803 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009625/1.867, allocations: 3.318 MB / 0.8835 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.869, allocations: 457.2 kB / 0.8839 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.869, allocations: 0 / 0.8839 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1746/2.044, allocations: 79.35 MB / 0.9614 GB, free: 33.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)