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.007401/0.007401, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001269/0.001269, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3121/0.3121, 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.001622/0.001622, allocations: 63.91 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2802, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01425/0.2945, allocations: 17.1 MB / 0.4947 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.305, allocations: 5.093 MB / 0.4997 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004217/0.3093, allocations: 115.8 kB / 0.4998 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.3199, allocations: 5.071 MB / 0.5048 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.3308, allocations: 2.701 MB / 0.5074 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.3347, allocations: 1.089 MB / 0.5085 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.3466, allocations: 6.847 MB / 0.5152 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008881/0.3555, allocations: 5.936 MB / 0.521 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.3601, allocations: 2.558 MB / 0.5235 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005371/0.3654, allocations: 3.473 MB / 0.5268 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.3672, allocations: 0.5469 MB / 0.5274 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003884/0.3711, allocations: 1.428 MB / 0.5288 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00394/0.3751, allocations: 3.238 MB / 0.5319 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006101/0.3812, allocations: 3.659 MB / 0.5355 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.396, allocations: 11.42 MB / 0.5467 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3961, allocations: 3.938 kB / 0.5467 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3961, allocations: 0 / 0.5467 GB, free: 13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003541/0.3964, allocations: 0 / 0.5467 GB, free: 13 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.01973/0.4162, allocations: 8.133 MB / 0.5546 GB, free: 4.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4162, allocations: 15.89 kB / 0.5546 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/0.4292, allocations: 2.871 MB / 0.5574 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009447/0.4387, allocations: 4.607 MB / 0.5619 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.439, allocations: 382.2 kB / 0.5623 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.4405, allocations: 0.5114 MB / 0.5628 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.468, allocations: 15.64 MB / 0.5781 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.4682, allocations: 71.41 kB / 0.5781 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006251/0.4689, allocations: 243.8 kB / 0.5784 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005281/0.4742, allocations: 3.056 MB / 0.5813 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.5003, allocations: 13.25 MB / 0.5943 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.326/0.8263, allocations: 61.42 MB / 0.6543 GB, free: 83.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/0.8429, allocations: 6.649 MB / 0.6608 GB, free: 83.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005275/0.8482, allocations: 4.025 MB / 0.6647 GB, free: 81.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/0.8639, allocations: 9.503 MB / 0.674 GB, free: 77.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.8639, allocations: 63.95 kB / 0.674 GB, free: 77.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=269): time 6.742e-06/0.864, allocations: 3.719 kB / 0.674 GB, free: 77.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=311): time 0.07619/0.9402, allocations: 33.03 MB / 0.7063 GB, free: 61.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.9403, allocations: 237.8 kB / 0.7065 GB, free: 61.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/0.9513, allocations: 7.011 MB / 0.7134 GB, free: 55.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009046/0.9523, allocations: 73.7 kB / 0.7134 GB, free: 55.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002771/0.9551, allocations: 4.944 MB / 0.7183 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/0.9565, allocations: 1.237 MB / 0.7195 GB, free: 49.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/0.959, allocations: 1.924 MB / 0.7214 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.9591, allocations: 308.1 kB / 0.7216 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/0.964, allocations: 3.922 MB / 0.7255 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006832/0.9708, allocations: 9.244 MB / 0.7345 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/0.9843, allocations: 14.12 MB / 0.7483 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/0.9845, allocations: 56 kB / 0.7483 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02589/1.01, allocations: 15.02 MB / 0.763 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000299/1.011, allocations: 84 kB / 0.7631 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004376/1.011, allocations: 188 kB / 0.7633 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006821/1.018, allocations: 2.293 MB / 0.7655 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008032/1.026, allocations: 2.176 MB / 0.7676 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/1.045, allocations: 14.4 MB / 0.7817 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008556/1.054, allocations: 0.5462 MB / 0.7822 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/1.056, allocations: 0.5439 MB / 0.7828 GB, free: 11.29 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.007354/1.064, allocations: 3.228 MB / 0.7859 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002377/1.066, allocations: 0.617 MB / 0.7865 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.083, allocations: 7.714 MB / 0.7941 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-05/1.083, allocations: 36 kB / 0.7941 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/1.083, allocations: 8 kB / 0.7941 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.328e-05/1.083, allocations: 11.95 kB / 0.7941 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03435/1.118, allocations: 16.07 MB / 0.8098 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/1.118, allocations: 8 kB / 0.8098 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.121, allocations: 0.5226 MB / 0.8103 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/1.126, allocations: 2.042 MB / 0.8123 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000698/1.127, allocations: 55.98 kB / 0.8124 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/1.146, allocations: 13.7 MB / 0.8258 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.146, allocations: 7.938 kB / 0.8258 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02177/1.168, allocations: 12.29 MB / 0.8378 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/1.171, allocations: 1.215 MB / 0.839 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/1.173, allocations: 52 kB / 0.839 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/1.176, allocations: 223.6 kB / 0.8392 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007552/1.177, allocations: 189.9 kB / 0.8394 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/1.177, allocations: 83.98 kB / 0.8395 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008519/1.186, allocations: 4.475 MB / 0.8438 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.11e-07/1.186, allocations: 0 / 0.8438 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01064/1.197, allocations: 1.73 MB / 0.8455 GB, free: 10.49 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.001005/1.198, allocations: 198.6 kB / 0.8457 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01904/1.217, allocations: 9.5 MB / 0.855 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.217, allocations: 0 / 0.855 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007998/1.225, allocations: 3.722 MB / 0.8586 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/1.23, allocations: 0.7594 MB / 0.8594 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2841/1.514, allocations: 16.29 MB / 0.8753 GB, free: 211.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/1.526, allocations: 4.89 MB / 0.8801 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01112/1.537, allocations: 2.972 MB / 0.883 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/1.539, allocations: 408.6 kB / 0.8834 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of SimCode: time 2.264e-06/1.539, allocations: 0 / 0.8834 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.1152/1.654, allocations: 66.13 MB / 0.9479 GB, free: 172.3 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)