Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.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.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 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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009432/0.0009434, allocations: 172.7 kB / 15.95 MB, free: 208 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.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3921/0.3921, allocations: 39.99 MB / 310.4 MB, free: 9.664 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.2. 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.0006142/0.0006142, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1537, allocations: 57.97 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.3703/0.5241, allocations: 82.18 MB / 0.5068 GB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04511/0.5693, allocations: 16.48 MB / 0.5229 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02451/0.5938, allocations: 389.1 kB / 0.5233 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.6119, allocations: 4.307 MB / 0.5275 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05766/0.6696, allocations: 12.56 MB / 0.5397 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.6806, allocations: 0.8646 MB / 0.5406 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05381/0.7344, allocations: 36.2 MB / 0.5759 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01416/0.7486, allocations: 7.436 MB / 0.5832 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.7541, allocations: 2.035 MB / 0.5852 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006154/0.7603, allocations: 3.197 MB / 0.5883 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.7622, allocations: 235.9 kB / 0.5885 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.7663, allocations: 1.01 MB / 0.5895 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004667/0.771, allocations: 2.825 MB / 0.5923 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003153/0.7742, allocations: 1.333 MB / 0.5936 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.7871, allocations: 8.756 MB / 0.6021 GB, free: 14.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.7872, allocations: 3.938 kB / 0.6021 GB, free: 14.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.7872, allocations: 3.938 kB / 0.6021 GB, free: 14.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000533/0.7877, allocations: 0 / 0.6021 GB, free: 14.34 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01798/0.8057, allocations: 6.582 MB / 0.6086 GB, free: 7.676 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8058, allocations: 8.031 kB / 0.6086 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.8187, allocations: 2.896 MB / 0.6114 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.8298, allocations: 4.424 MB / 0.6157 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/0.8303, allocations: 381.9 kB / 0.6161 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.8325, allocations: 0.5151 MB / 0.6166 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3343/1.167, allocations: 15.62 MB / 0.6318 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002835/1.167, allocations: 69.91 kB / 0.6319 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009989/1.168, allocations: 243.5 kB / 0.6321 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004657/1.173, allocations: 3.06 MB / 0.6351 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.199, allocations: 13.2 MB / 0.648 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08088/1.28, allocations: 61.6 MB / 0.7082 GB, free: 97.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/1.294, allocations: 6.645 MB / 0.7147 GB, free: 93.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004643/1.299, allocations: 4.026 MB / 0.7186 GB, free: 91.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/1.314, allocations: 9.485 MB / 0.7279 GB, free: 82.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/1.314, allocations: 60.56 kB / 0.7279 GB, free: 82.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 6.202e-06/1.314, allocations: 0 / 0.7279 GB, free: 82.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.06922/1.384, allocations: 32.52 MB / 0.7597 GB, free: 49.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/1.384, allocations: 243.9 kB / 0.7599 GB, free: 49.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009693/1.394, allocations: 6.948 MB / 0.7667 GB, free: 42.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008425/1.394, allocations: 73.7 kB / 0.7668 GB, free: 42.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/1.397, allocations: 4.767 MB / 0.7714 GB, free: 37.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/1.398, allocations: 1.177 MB / 0.7726 GB, free: 36.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/1.399, allocations: 190.5 kB / 0.7728 GB, free: 36.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003562/1.399, allocations: 0.7027 MB / 0.7734 GB, free: 35.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004549/1.404, allocations: 3.883 MB / 0.7772 GB, free: 31.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006772/1.411, allocations: 9.209 MB / 0.7862 GB, free: 19.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007687/1.418, allocations: 5.839 MB / 0.7919 GB, free: 13.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.418, allocations: 52 kB / 0.792 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02855/1.447, allocations: 14.91 MB / 0.8065 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/1.447, allocations: 84 kB / 0.8066 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003562/1.448, allocations: 184.7 kB / 0.8068 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008101/1.456, allocations: 2.32 MB / 0.8091 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009176/1.465, allocations: 2.168 MB / 0.8112 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2903/1.755, allocations: 13.47 MB / 0.8243 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009219/1.765, allocations: 0.5507 MB / 0.8249 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.767, allocations: 0.5476 MB / 0.8254 GB, free: 140.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007773/1.775, allocations: 3.226 MB / 0.8285 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/1.776, allocations: 0.5847 MB / 0.8291 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.789, allocations: 7.698 MB / 0.8366 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/1.789, allocations: 33.91 kB / 0.8367 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/1.789, allocations: 9.156 kB / 0.8367 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.88e-05/1.789, allocations: 20.69 kB / 0.8367 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/1.821, allocations: 16.23 MB / 0.8525 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.821, allocations: 10.81 kB / 0.8526 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.824, allocations: 0.5215 MB / 0.8531 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/1.83, allocations: 2.033 MB / 0.8551 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007853/1.831, allocations: 56.28 kB / 0.8551 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/1.85, allocations: 12.67 MB / 0.8675 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/1.85, allocations: 9.047 kB / 0.8675 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/1.871, allocations: 12.21 MB / 0.8794 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003402/1.874, allocations: 1.205 MB / 0.8806 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/1.876, allocations: 55.12 kB / 0.8806 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.879, allocations: 225.9 kB / 0.8809 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/1.88, allocations: 190.3 kB / 0.881 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.88, allocations: 81.78 kB / 0.8811 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008033/1.888, allocations: 4.434 MB / 0.8854 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.61e-07/1.888, allocations: 1.562 kB / 0.8854 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01087/1.899, allocations: 1.735 MB / 0.8871 GB, free: 120.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0008079/1.9, allocations: 200.5 kB / 0.8873 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.914, allocations: 9.378 MB / 0.8965 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.914, allocations: 0 / 0.8965 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005804/1.92, allocations: 3.716 MB / 0.9001 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/1.926, allocations: 0.722 MB / 0.9008 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/1.953, allocations: 18.68 MB / 0.9191 GB, free: 88.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00572/1.959, allocations: 4.903 MB / 0.9238 GB, free: 84.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007328/1.967, allocations: 2.966 MB / 0.9267 GB, free: 81.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.968, allocations: 411.3 kB / 0.9271 GB, free: 80.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/1.968, allocations: 0 / 0.9271 GB, free: 80.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.1014/2.07, allocations: 66.08 MB / 0.9917 GB, free: 14.69 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) Environment - environmentSimulation: