Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007282/0.007282, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001643/0.001643, allocations: 195.5 kB / 16.68 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.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.325/0.325, allocations: 38 MB / 307.9 MB, free: 9.977 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.001597/0.001597, allocations: 67.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3511, allocations: 56.45 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01728/0.3684, allocations: 16.51 MB / 0.4941 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.3832, allocations: 5.135 MB / 0.4992 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005154/0.3885, allocations: 100.3 kB / 0.4993 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.3986, allocations: 4.598 MB / 0.5038 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009301/0.4079, allocations: 2.61 MB / 0.5063 GB, free: 452 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.4123, allocations: 1.125 MB / 0.5074 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01617/0.4285, allocations: 6.703 MB / 0.5139 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.4413, allocations: 5.783 MB / 0.5196 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006687/0.448, allocations: 2.485 MB / 0.522 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006484/0.4545, allocations: 3.454 MB / 0.5254 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00254/0.4571, allocations: 0.5625 MB / 0.5259 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.4622, allocations: 1.568 MB / 0.5275 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004892/0.4672, allocations: 3.18 MB / 0.5306 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008713/0.4759, allocations: 3.643 MB / 0.5341 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.4931, allocations: 11.59 MB / 0.5455 GB, free: 14.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4932, allocations: 7.938 kB / 0.5455 GB, free: 14.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4932, allocations: 0 / 0.5455 GB, free: 14.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004723/0.4937, allocations: 0 / 0.5455 GB, free: 14.23 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02188/0.5156, allocations: 7.876 MB / 0.5532 GB, free: 6.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.5156, allocations: 15.89 kB / 0.5532 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.5303, allocations: 2.874 MB / 0.556 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.5422, allocations: 4.384 MB / 0.5603 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/0.5427, allocations: 381.8 kB / 0.5606 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/0.5452, allocations: 0.5075 MB / 0.5611 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03573/0.581, allocations: 16.4 MB / 0.5771 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/0.5814, allocations: 75.34 kB / 0.5772 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.5829, allocations: 235.8 kB / 0.5774 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00605/0.5889, allocations: 3.162 MB / 0.5805 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03325/0.6222, allocations: 14.14 MB / 0.5943 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3826/1.005, allocations: 60.41 MB / 0.6533 GB, free: 85.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/1.026, allocations: 8.006 MB / 0.6611 GB, free: 84.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00586/1.032, allocations: 4.203 MB / 0.6652 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/1.032, allocations: 58.69 kB / 0.6653 GB, free: 83.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/1.032, allocations: 72.41 kB / 0.6654 GB, free: 82.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 5.43e-06/1.032, allocations: 0 / 0.6654 GB, free: 82.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=332): time 0.09355/1.126, allocations: 35.73 MB / 0.7003 GB, free: 68.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.126, allocations: 217 kB / 0.7005 GB, free: 68.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009772/1.136, allocations: 6.372 MB / 0.7067 GB, free: 63.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009242/1.137, allocations: 88.83 kB / 0.7068 GB, free: 63.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002595/1.139, allocations: 4.715 MB / 0.7114 GB, free: 58.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.141, allocations: 1.292 MB / 0.7126 GB, free: 57.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002624/1.144, allocations: 1.833 MB / 0.7144 GB, free: 55.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/1.144, allocations: 305.1 kB / 0.7147 GB, free: 55.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005033/1.149, allocations: 4.105 MB / 0.7187 GB, free: 51.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007518/1.157, allocations: 8.962 MB / 0.7275 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/1.171, allocations: 13.98 MB / 0.7411 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/1.171, allocations: 48 kB / 0.7412 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02631/1.197, allocations: 14.99 MB / 0.7558 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/1.198, allocations: 76 kB / 0.7559 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003009/1.198, allocations: 175.4 kB / 0.7561 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005672/1.204, allocations: 2.278 MB / 0.7583 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007279/1.211, allocations: 2.09 MB / 0.7603 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.229, allocations: 14.45 MB / 0.7744 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008682/1.238, allocations: 0.5452 MB / 0.775 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/1.24, allocations: 0.5077 MB / 0.7755 GB, free: 4.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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 (1084): * Single equations (assignments): 1079 * 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 {(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.006745/1.246, allocations: 3.158 MB / 0.7785 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.248, allocations: 0.582 MB / 0.7791 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.263, allocations: 8.469 MB / 0.7874 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.303e-05/1.264, allocations: 36 kB / 0.7874 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/1.264, allocations: 12 kB / 0.7874 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-05/1.264, allocations: 19.94 kB / 0.7875 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03309/1.297, allocations: 17.24 MB / 0.8043 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/1.297, allocations: 3.938 kB / 0.8043 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/1.3, allocations: 0.601 MB / 0.8049 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005535/1.306, allocations: 2.034 MB / 0.8069 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000753/1.307, allocations: 63.98 kB / 0.8069 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/1.325, allocations: 13.77 MB / 0.8204 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.325, allocations: 7.938 kB / 0.8204 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.347, allocations: 13.56 MB / 0.8336 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003765/1.351, allocations: 1.27 MB / 0.8349 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001844/1.353, allocations: 63.92 kB / 0.8349 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004149/1.357, allocations: 283.5 kB / 0.8352 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008618/1.358, allocations: 189.9 kB / 0.8354 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003054/1.358, allocations: 91.98 kB / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007492/1.366, allocations: 4.061 MB / 0.8394 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.366, allocations: 3.938 kB / 0.8394 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009429/1.375, allocations: 1.746 MB / 0.8411 GB, free: 0.7188 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.0008509/1.376, allocations: 205 kB / 0.8413 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01624/1.392, allocations: 9.932 MB / 0.851 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.392, allocations: 7.469 kB / 0.851 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007271/1.4, allocations: 4.145 MB / 0.8551 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/1.405, allocations: 0.7076 MB / 0.8558 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/1.433, allocations: 16.45 MB / 0.8718 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2581/1.691, allocations: 4.85 MB / 0.8766 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008809/1.7, allocations: 2.919 MB / 0.8794 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/1.702, allocations: 396.9 kB / 0.8798 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/1.702, allocations: 0 / 0.8798 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.1078/1.81, allocations: 66.92 MB / 0.9452 GB, free: 176.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)