Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.01369/0.01369, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.002225/0.002225, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3366/0.3366, allocations: 38.01 MB / 307.9 MB, free: 10.07 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.001482/0.001482, allocations: 68.38 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3026, allocations: 56.47 MB / 489.5 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01535/0.3179, allocations: 17.1 MB / 0.4947 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.3332, allocations: 5.11 MB / 0.4997 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005544/0.3388, allocations: 107.6 kB / 0.4998 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009878/0.3488, allocations: 5.079 MB / 0.5048 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.3573, allocations: 2.701 MB / 0.5074 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.3607, allocations: 1.084 MB / 0.5085 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01351/0.3742, allocations: 6.833 MB / 0.5152 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/0.3843, allocations: 5.931 MB / 0.5209 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006592/0.391, allocations: 2.558 MB / 0.5234 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007153/0.3981, allocations: 3.473 MB / 0.5268 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002733/0.4009, allocations: 0.5469 MB / 0.5274 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.4057, allocations: 1.432 MB / 0.5288 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004845/0.4106, allocations: 3.238 MB / 0.5319 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007866/0.4185, allocations: 3.655 MB / 0.5355 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.4347, allocations: 11.38 MB / 0.5466 GB, free: 13.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4347, allocations: 0 / 0.5466 GB, free: 13.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4347, allocations: 0 / 0.5466 GB, free: 13.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000416/0.4351, allocations: 0 / 0.5466 GB, free: 13.05 MB / 430.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.02026/0.4554, allocations: 7.923 MB / 0.5544 GB, free: 5.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4555, allocations: 11.89 kB / 0.5544 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.4694, allocations: 2.83 MB / 0.5571 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.4827, allocations: 4.59 MB / 0.5616 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/0.4833, allocations: 394.2 kB / 0.562 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.4857, allocations: 0.5033 MB / 0.5625 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02768/0.5134, allocations: 15.63 MB / 0.5777 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.5136, allocations: 75.3 kB / 0.5778 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008581/0.5144, allocations: 243.8 kB / 0.578 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005334/0.5198, allocations: 3.059 MB / 0.581 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02778/0.5476, allocations: 13.24 MB / 0.594 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3719/0.9195, allocations: 61.3 MB / 0.6538 GB, free: 83.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.9356, allocations: 6.65 MB / 0.6603 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005428/0.9411, allocations: 4.025 MB / 0.6643 GB, free: 81.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01726/0.9583, allocations: 9.473 MB / 0.6735 GB, free: 77.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.9584, allocations: 67.84 kB / 0.6736 GB, free: 77.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=269): time 5.17e-06/0.9584, allocations: 0 / 0.6736 GB, free: 77.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=311): time 0.07465/1.033, allocations: 32.59 MB / 0.7054 GB, free: 62.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/1.033, allocations: 241.5 kB / 0.7056 GB, free: 61.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007757/1.041, allocations: 6.988 MB / 0.7125 GB, free: 55.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006552/1.042, allocations: 76.33 kB / 0.7125 GB, free: 55.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.044, allocations: 4.766 MB / 0.7172 GB, free: 50.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.045, allocations: 1.182 MB / 0.7183 GB, free: 49.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/1.047, allocations: 1.918 MB / 0.7202 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/1.047, allocations: 305.1 kB / 0.7205 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/1.051, allocations: 3.918 MB / 0.7243 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006588/1.058, allocations: 9.251 MB / 0.7334 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.07, allocations: 14.12 MB / 0.7471 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.071, allocations: 52 kB / 0.7472 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02497/1.096, allocations: 14.99 MB / 0.7618 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/1.096, allocations: 87.94 kB / 0.7619 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.096, allocations: 184.6 kB / 0.7621 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006165/1.102, allocations: 2.297 MB / 0.7643 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007543/1.11, allocations: 2.168 MB / 0.7665 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.128, allocations: 14.39 MB / 0.7805 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009552/1.138, allocations: 0.5533 MB / 0.781 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.14, allocations: 0.5468 MB / 0.7816 GB, free: 11.47 MB / 0.5294 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 (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.005641/1.145, allocations: 3.23 MB / 0.7847 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.147, allocations: 0.5822 MB / 0.7853 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.161, allocations: 7.707 MB / 0.7928 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.221e-05/1.161, allocations: 32 kB / 0.7929 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/1.161, allocations: 12 kB / 0.7929 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-05/1.161, allocations: 15.89 kB / 0.7929 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/1.19, allocations: 16.07 MB / 0.8086 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.945e-05/1.19, allocations: 4 kB / 0.8086 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.193, allocations: 0.527 MB / 0.8091 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005769/1.199, allocations: 2.034 MB / 0.8111 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005982/1.199, allocations: 59.98 kB / 0.8111 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/1.218, allocations: 13.69 MB / 0.8245 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.218, allocations: 7.938 kB / 0.8245 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/1.239, allocations: 12.26 MB / 0.8365 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004282/1.243, allocations: 1.188 MB / 0.8377 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.245, allocations: 56 kB / 0.8377 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004077/1.249, allocations: 227.7 kB / 0.8379 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007148/1.25, allocations: 185.9 kB / 0.8381 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.25, allocations: 83.98 kB / 0.8382 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01004/1.26, allocations: 4.475 MB / 0.8426 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.513e-06/1.26, allocations: 0 / 0.8426 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01128/1.271, allocations: 1.729 MB / 0.8442 GB, free: 10.78 MB / 0.5919 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 (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.0009472/1.272, allocations: 200 kB / 0.8444 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.288, allocations: 9.48 MB / 0.8537 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.288, allocations: 4 kB / 0.8537 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006869/1.295, allocations: 3.727 MB / 0.8573 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005518/1.301, allocations: 0.7524 MB / 0.8581 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3458/1.647, allocations: 16.07 MB / 0.8738 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008403/1.655, allocations: 4.892 MB / 0.8785 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008509/1.664, allocations: 2.974 MB / 0.8814 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.665, allocations: 413.3 kB / 0.8818 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/1.665, allocations: 3.812 kB / 0.8818 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.1045/1.77, allocations: 66.11 MB / 0.9464 GB, free: 172.9 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)