Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008949/0.008949, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001403/0.001403, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.674/1.674, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.3703/0.3703, allocations: 39.94 MB / 309.8 MB, free: 9.648 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.001496/0.001496, allocations: 67.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3577, allocations: 56.87 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01501/0.3728, allocations: 14.24 MB / 0.495 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.3863, allocations: 4.663 MB / 0.4996 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004835/0.3912, allocations: 90.12 kB / 0.4997 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008093/0.3994, allocations: 3.777 MB / 0.5034 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009662/0.4091, allocations: 2.413 MB / 0.5057 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.4123, allocations: 1.004 MB / 0.5067 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.424, allocations: 6.02 MB / 0.5126 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008469/0.4325, allocations: 4.73 MB / 0.5172 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.4385, allocations: 2.118 MB / 0.5193 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006293/0.4448, allocations: 2.889 MB / 0.5221 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002371/0.4472, allocations: 456 kB / 0.5225 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.4522, allocations: 1.486 MB / 0.524 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005561/0.4578, allocations: 2.681 MB / 0.5266 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007561/0.4654, allocations: 3.029 MB / 0.5296 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.4804, allocations: 9.651 MB / 0.539 GB, free: 4.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.4804, allocations: 0 / 0.539 GB, free: 4.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.4805, allocations: 0 / 0.539 GB, free: 4.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004252/0.4809, allocations: 3.938 kB / 0.539 GB, free: 4.902 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02133/0.5022, allocations: 6.546 MB / 0.5454 GB, free: 14.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.5023, allocations: 11.89 kB / 0.5454 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.5163, allocations: 2.66 MB / 0.548 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.5284, allocations: 4.07 MB / 0.552 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004776/0.5289, allocations: 312.2 kB / 0.5523 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/0.5318, allocations: 411.6 kB / 0.5527 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/0.5653, allocations: 13.01 MB / 0.5654 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004858/0.5658, allocations: 63.45 kB / 0.5654 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/0.5679, allocations: 199.8 kB / 0.5656 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004971/0.5729, allocations: 2.499 MB / 0.5681 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/0.5966, allocations: 10.84 MB / 0.5786 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07126/0.6679, allocations: 49.93 MB / 0.6274 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.68, allocations: 4.545 MB / 0.6318 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/0.6836, allocations: 2.454 MB / 0.6342 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3273/1.011, allocations: 6.725 MB / 0.6408 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/1.011, allocations: 58.66 kB / 0.6409 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 4.598e-06/1.011, allocations: 0 / 0.6409 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05469/1.066, allocations: 19.41 MB / 0.6598 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/1.066, allocations: 233.2 kB / 0.66 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.077, allocations: 5.91 MB / 0.6658 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007936/1.078, allocations: 56.73 kB / 0.6659 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003256/1.081, allocations: 4.071 MB / 0.6698 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.083, allocations: 0.7704 MB / 0.6706 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/1.085, allocations: 1.537 MB / 0.6721 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.568e-05/1.085, allocations: 308.2 kB / 0.6724 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.088, allocations: 2.636 MB / 0.675 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/1.093, allocations: 7.16 MB / 0.6819 GB, free: 99.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009517/1.103, allocations: 10.51 MB / 0.6922 GB, free: 89.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/1.103, allocations: 47.94 kB / 0.6923 GB, free: 88.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01868/1.122, allocations: 10.57 MB / 0.7026 GB, free: 78.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/1.122, allocations: 76 kB / 0.7026 GB, free: 78.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/1.122, allocations: 160 kB / 0.7028 GB, free: 78.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/1.125, allocations: 1.231 MB / 0.704 GB, free: 76.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/1.13, allocations: 1.727 MB / 0.7057 GB, free: 75.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/1.139, allocations: 8.495 MB / 0.714 GB, free: 66.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00898/1.148, allocations: 411 kB / 0.7144 GB, free: 66.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002366/1.15, allocations: 459.8 kB / 0.7148 GB, free: 65.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005893/1.156, allocations: 2.696 MB / 0.7174 GB, free: 62.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/1.157, allocations: 481.7 kB / 0.7179 GB, free: 62.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/1.164, allocations: 4.033 MB / 0.7218 GB, free: 58.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.742e-05/1.164, allocations: 23.75 kB / 0.7219 GB, free: 58.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.164, allocations: 4 kB / 0.7219 GB, free: 58.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.164, allocations: 15.95 kB / 0.7219 GB, free: 58.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/1.183, allocations: 9.541 MB / 0.7312 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/1.183, allocations: 8.062 kB / 0.7312 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.185, allocations: 327.5 kB / 0.7315 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/1.187, allocations: 0.9986 MB / 0.7325 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/1.188, allocations: 39.98 kB / 0.7325 GB, free: 47.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007338/1.195, allocations: 7.811 MB / 0.7402 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.195, allocations: 11.88 kB / 0.7402 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.206, allocations: 6.884 MB / 0.7469 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003075/1.209, allocations: 0.8383 MB / 0.7477 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/1.21, allocations: 32 kB / 0.7478 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.213, allocations: 123.8 kB / 0.7479 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.214, allocations: 112.7 kB / 0.748 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.214, allocations: 55.98 kB / 0.748 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005866/1.22, allocations: 3.782 MB / 0.7517 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.22, allocations: 0 / 0.7517 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008872/1.228, allocations: 1.296 MB / 0.753 GB, free: 26.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006005/1.229, allocations: 176.1 kB / 0.7532 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009275/1.238, allocations: 6.331 MB / 0.7593 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.238, allocations: 0 / 0.7593 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/1.241, allocations: 1.921 MB / 0.7612 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/1.246, allocations: 0.6295 MB / 0.7618 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.265, allocations: 12.04 MB / 0.7736 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004924/1.27, allocations: 4.135 MB / 0.7776 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006286/1.277, allocations: 2.315 MB / 0.7799 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.278, allocations: 323.4 kB / 0.7802 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.278, allocations: 0 / 0.7802 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.09558/1.374, allocations: 44.74 MB / 0.8239 GB, free: 1.449 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)