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.001945/0.001945, 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.003293/0.003294, 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.728/1.728, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.4011/0.4011, allocations: 39.93 MB / 309.7 MB, free: 9.246 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.001654/0.001654, allocations: 74.86 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 56.87 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.0191/0.1623, allocations: 17.11 MB / 451.6 MB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3078/0.4702, allocations: 5.09 MB / 456.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.4744, allocations: 111.4 kB / 456.8 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008927/0.4833, allocations: 5.074 MB / 461.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009082/0.4925, allocations: 2.713 MB / 464.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.4965, allocations: 1.081 MB / 465.7 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01607/0.5126, allocations: 6.835 MB / 472.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.5236, allocations: 5.939 MB / 478.4 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007213/0.5309, allocations: 2.549 MB / 481 MB, free: 30 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/0.5382, allocations: 3.472 MB / 484.5 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003218/0.5415, allocations: 0.5466 MB / 485 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007298/0.5488, allocations: 1.44 MB / 486.4 MB, free: 28.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007956/0.5568, allocations: 3.233 MB / 489.7 MB, free: 27.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01323/0.5701, allocations: 3.662 MB / 493.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02499/0.5951, allocations: 11.02 MB / 0.4925 GB, free: 20.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.5952, allocations: 1.312 kB / 0.4925 GB, free: 20.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5952, allocations: 0 / 0.4925 GB, free: 20.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007719/0.596, allocations: 0 / 0.4925 GB, free: 20.1 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.0385/0.6345, allocations: 7.918 MB / 0.5003 GB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.436e-05/0.6346, allocations: 13.64 kB / 0.5003 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.652, allocations: 2.827 MB / 0.503 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.668, allocations: 4.518 MB / 0.5075 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004218/0.6685, allocations: 387.5 kB / 0.5078 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00339/0.6719, allocations: 0.5089 MB / 0.5083 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0416/0.7135, allocations: 15.64 MB / 0.5236 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/0.714, allocations: 67.45 kB / 0.5237 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002751/0.7167, allocations: 245 kB / 0.5239 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006149/0.7229, allocations: 3.06 MB / 0.5269 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03115/0.7541, allocations: 13.26 MB / 0.5398 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/0.8568, allocations: 61.6 MB / 0.6 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/0.8735, allocations: 6.65 MB / 0.6065 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006006/0.8796, allocations: 4.025 MB / 0.6104 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/0.8987, allocations: 9.488 MB / 0.6197 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.8988, allocations: 56.56 kB / 0.6197 GB, free: 5.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 4.599e-06/0.8988, allocations: 0 / 0.6197 GB, free: 5.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.326/1.225, allocations: 32.57 MB / 0.6515 GB, free: 136.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.225, allocations: 243.5 kB / 0.6518 GB, free: 136.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/1.238, allocations: 6.994 MB / 0.6586 GB, free: 133.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000977/1.239, allocations: 75.52 kB / 0.6587 GB, free: 133.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003882/1.243, allocations: 4.763 MB / 0.6633 GB, free: 130 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002111/1.245, allocations: 1.189 MB / 0.6645 GB, free: 129.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003992/1.249, allocations: 1.912 MB / 0.6663 GB, free: 128.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/1.249, allocations: 303 kB / 0.6666 GB, free: 127.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007642/1.257, allocations: 3.921 MB / 0.6705 GB, free: 126.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/1.267, allocations: 9.245 MB / 0.6795 GB, free: 118.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.283, allocations: 14.12 MB / 0.6933 GB, free: 107.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.283, allocations: 54.19 kB / 0.6933 GB, free: 107.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02862/1.312, allocations: 14.98 MB / 0.708 GB, free: 95.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.312, allocations: 87.7 kB / 0.7081 GB, free: 95.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/1.312, allocations: 185 kB / 0.7082 GB, free: 94.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005557/1.318, allocations: 2.303 MB / 0.7105 GB, free: 93.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008063/1.326, allocations: 2.172 MB / 0.7126 GB, free: 90.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.34, allocations: 14.41 MB / 0.7267 GB, free: 76.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009577/1.35, allocations: 0.546 MB / 0.7272 GB, free: 75.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001794/1.352, allocations: 0.5507 MB / 0.7277 GB, free: 75.17 MB / 494.1 MB 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 (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.006447/1.358, allocations: 3.225 MB / 0.7309 GB, free: 71.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/1.36, allocations: 0.5823 MB / 0.7315 GB, free: 71.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.372, allocations: 7.718 MB / 0.739 GB, free: 63.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/1.372, allocations: 32 kB / 0.739 GB, free: 63.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-05/1.372, allocations: 8 kB / 0.739 GB, free: 63.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/1.372, allocations: 19.94 kB / 0.7391 GB, free: 63.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.402, allocations: 16.25 MB / 0.7549 GB, free: 47.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/1.402, allocations: 4 kB / 0.7549 GB, free: 47.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/1.405, allocations: 0.5231 MB / 0.7554 GB, free: 46.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004896/1.41, allocations: 2.038 MB / 0.7574 GB, free: 44.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007696/1.411, allocations: 67.89 kB / 0.7575 GB, free: 44.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/1.425, allocations: 13.61 MB / 0.7708 GB, free: 30.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.425, allocations: 4 kB / 0.7708 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/1.443, allocations: 12.23 MB / 0.7827 GB, free: 18.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004266/1.447, allocations: 1.188 MB / 0.7839 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002339/1.45, allocations: 59.94 kB / 0.784 GB, free: 17.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004655/1.454, allocations: 223.4 kB / 0.7842 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009294/1.455, allocations: 185.9 kB / 0.7843 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.455, allocations: 87.98 kB / 0.7844 GB, free: 16.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009342/1.465, allocations: 4.471 MB / 0.7888 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.31e-07/1.465, allocations: 0 / 0.7888 GB, free: 12.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01134/1.476, allocations: 1.73 MB / 0.7905 GB, free: 10.44 MB / 494.1 MB 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 (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.0008731/1.477, allocations: 207.8 kB / 0.7907 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01793/1.495, allocations: 11.51 MB / 0.8019 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.495, allocations: 8 kB / 0.8019 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006996/1.502, allocations: 3.72 MB / 0.8056 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007475/1.51, allocations: 0.7624 MB / 0.8063 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2662/1.776, allocations: 16.24 MB / 0.8222 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005952/1.782, allocations: 4.885 MB / 0.8269 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00726/1.789, allocations: 2.976 MB / 0.8298 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.791, allocations: 411.4 kB / 0.8302 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/1.791, allocations: 0 / 0.8302 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1266/1.917, allocations: 71.45 MB / 0.9 GB, free: 94.98 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile (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)