Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006085/0.006085, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001127/0.001127, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.3699/0.3699, allocations: 38 MB / 307.9 MB, free: 10.12 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.001514/0.001514, allocations: 67.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3508, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01797/0.3688, allocations: 17.11 MB / 0.4947 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.3822, allocations: 5.258 MB / 0.4999 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005671/0.388, allocations: 110 kB / 0.5 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.3981, allocations: 4.849 MB / 0.5047 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.4088, allocations: 2.767 MB / 0.5074 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.4131, allocations: 1.139 MB / 0.5085 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01755/0.4307, allocations: 6.997 MB / 0.5154 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.4412, allocations: 6.091 MB / 0.5213 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.4477, allocations: 2.617 MB / 0.5239 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00663/0.4543, allocations: 3.563 MB / 0.5273 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.4567, allocations: 0.5781 MB / 0.5279 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.4615, allocations: 1.604 MB / 0.5295 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004871/0.4664, allocations: 3.308 MB / 0.5327 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007789/0.4742, allocations: 3.787 MB / 0.5364 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.4959, allocations: 11.94 MB / 0.5481 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4959, allocations: 0 / 0.5481 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4959, allocations: 0 / 0.5481 GB, free: 11.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005103/0.4965, allocations: 0 / 0.5481 GB, free: 11.59 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02639/0.5229, allocations: 8.065 MB / 0.5559 GB, free: 3.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5229, allocations: 11.89 kB / 0.556 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.5387, allocations: 2.869 MB / 0.5588 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.5523, allocations: 4.639 MB / 0.5633 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007107/0.5531, allocations: 406.1 kB / 0.5637 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003406/0.5565, allocations: 0.5191 MB / 0.5642 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.041/0.5975, allocations: 16.91 MB / 0.5807 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004553/0.5981, allocations: 71.45 kB / 0.5808 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002638/0.6007, allocations: 247.8 kB / 0.581 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006943/0.6077, allocations: 3.252 MB / 0.5842 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03609/0.6438, allocations: 14.49 MB / 0.5983 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4348/1.079, allocations: 62.42 MB / 0.6593 GB, free: 85.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/1.098, allocations: 6.893 MB / 0.666 GB, free: 83.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006446/1.105, allocations: 4.253 MB / 0.6702 GB, free: 82.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.126, allocations: 9.654 MB / 0.6796 GB, free: 77.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/1.126, allocations: 76.84 kB / 0.6797 GB, free: 77.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=297): time 5.831e-06/1.126, allocations: 0 / 0.6797 GB, free: 77.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=339): time 0.08738/1.213, allocations: 34.8 MB / 0.7136 GB, free: 60.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.213, allocations: 240.2 kB / 0.7139 GB, free: 59.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009707/1.223, allocations: 6.747 MB / 0.7205 GB, free: 53.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.224, allocations: 73.7 kB / 0.7205 GB, free: 53.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004055/1.228, allocations: 4.76 MB / 0.7252 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002188/1.23, allocations: 1.262 MB / 0.7264 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002923/1.233, allocations: 1.891 MB / 0.7283 GB, free: 45.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/1.234, allocations: 305.1 kB / 0.7286 GB, free: 44.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005652/1.239, allocations: 4.063 MB / 0.7325 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008083/1.247, allocations: 9.144 MB / 0.7415 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.262, allocations: 14.17 MB / 0.7553 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001944/1.262, allocations: 52 kB / 0.7553 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02992/1.292, allocations: 15.11 MB / 0.7701 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002303/1.292, allocations: 80.94 kB / 0.7702 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003573/1.293, allocations: 183.9 kB / 0.7703 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/1.299, allocations: 2.282 MB / 0.7726 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009167/1.309, allocations: 2.156 MB / 0.7747 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/1.329, allocations: 14.44 MB / 0.7888 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/1.338, allocations: 0.5457 MB / 0.7893 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002965/1.341, allocations: 0.5273 MB / 0.7898 GB, free: 9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1125): * Single equations (assignments): 1118 * 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.0111/1.352, allocations: 3.289 MB / 0.793 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002127/1.355, allocations: 0.5746 MB / 0.7936 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.372, allocations: 8.46 MB / 0.8019 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/1.372, allocations: 32.47 kB / 0.8019 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.704e-05/1.372, allocations: 12 kB / 0.8019 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/1.372, allocations: 15.94 kB / 0.8019 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04572/1.418, allocations: 16.91 MB / 0.8184 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-05/1.418, allocations: 8 kB / 0.8184 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003677/1.422, allocations: 0.5854 MB / 0.819 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/1.428, allocations: 2.042 MB / 0.821 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/1.429, allocations: 67.98 kB / 0.8211 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/1.448, allocations: 13.74 MB / 0.8345 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.448, allocations: 8 kB / 0.8345 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02597/1.474, allocations: 13.12 MB / 0.8473 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004906/1.479, allocations: 1.239 MB / 0.8485 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002393/1.482, allocations: 62.11 kB / 0.8486 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004915/1.487, allocations: 239.6 kB / 0.8488 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001508/1.488, allocations: 209.9 kB / 0.849 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000864/1.489, allocations: 91.83 kB / 0.8491 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01176/1.501, allocations: 4.346 MB / 0.8533 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.162e-06/1.501, allocations: 0 / 0.8533 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01431/1.515, allocations: 1.778 MB / 0.8551 GB, free: 5.664 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 (279): * Single equations (assignments): 274 * 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.001526/1.517, allocations: 222.6 kB / 0.8553 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3502/1.867, allocations: 9.824 MB / 0.8649 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.867, allocations: 1.219 kB / 0.8649 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008629/1.876, allocations: 3.991 MB / 0.8688 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006427/1.882, allocations: 0.7744 MB / 0.8695 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04217/1.924, allocations: 16.61 MB / 0.8858 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/1.937, allocations: 5.044 MB / 0.8907 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01128/1.948, allocations: 2.971 MB / 0.8936 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003381/1.952, allocations: 416.9 kB / 0.894 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.513e-06/1.952, allocations: 0 / 0.894 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1208/2.073, allocations: 67.73 MB / 0.9601 GB, free: 138.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)