Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001204/0.001205, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.696/1.696, allocations: 205.1 MB / 222 MB, free: 5 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.4144/0.4144, allocations: 39.93 MB / 309.3 MB, free: 9.25 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.001894/0.001894, allocations: 66.42 kB / 376.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 56.88 MB / 433.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4292/0.593, allocations: 89.61 MB / 0.5111 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05815/0.6512, allocations: 17.37 MB / 0.5281 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02856/0.6798, allocations: 381.8 kB / 0.5285 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.6913, allocations: 4.572 MB / 0.5329 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.7017, allocations: 2.419 MB / 0.5353 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.7057, allocations: 1.07 MB / 0.5363 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.7222, allocations: 9.688 MB / 0.5458 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009899/0.7321, allocations: 5.78 MB / 0.5515 GB, free: 444 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006741/0.7389, allocations: 2.215 MB / 0.5536 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007043/0.746, allocations: 3.61 MB / 0.5571 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.7486, allocations: 404 kB / 0.5575 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.7539, allocations: 1.478 MB / 0.559 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004902/0.7588, allocations: 2.992 MB / 0.5619 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006441/0.7653, allocations: 3.429 MB / 0.5652 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.7805, allocations: 10.9 MB / 0.5759 GB, free: 7.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.7806, allocations: 4 kB / 0.5759 GB, free: 7.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.7806, allocations: 3.938 kB / 0.5759 GB, free: 7.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006591/0.7813, allocations: 0 / 0.5759 GB, free: 7.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02675/0.808, allocations: 7.567 MB / 0.5833 GB, free: 15.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.8081, allocations: 12.02 kB / 0.5833 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.8219, allocations: 2.788 MB / 0.586 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.8333, allocations: 4.269 MB / 0.5902 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.8337, allocations: 385.7 kB / 0.5906 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00256/0.8362, allocations: 0.5035 MB / 0.591 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03424/0.8705, allocations: 16.41 MB / 0.6071 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003857/0.8709, allocations: 63.36 kB / 0.6071 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/0.8729, allocations: 239.8 kB / 0.6074 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005884/0.8788, allocations: 3.15 MB / 0.6104 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/0.9149, allocations: 14.27 MB / 0.6244 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4064/1.321, allocations: 59.13 MB / 0.6821 GB, free: 104.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/1.342, allocations: 7.169 MB / 0.6891 GB, free: 102.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007219/1.349, allocations: 4.495 MB / 0.6935 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03207/1.381, allocations: 15.44 MB / 0.7086 GB, free: 93.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/1.381, allocations: 75.56 kB / 0.7087 GB, free: 93.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.713e-06/1.382, allocations: 0 / 0.7087 GB, free: 93.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.09094/1.472, allocations: 32.81 MB / 0.7407 GB, free: 66.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.473, allocations: 214.2 kB / 0.7409 GB, free: 66.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007599/1.48, allocations: 5.356 MB / 0.7461 GB, free: 60.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001062/1.481, allocations: 77.7 kB / 0.7462 GB, free: 60.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/1.484, allocations: 4.334 MB / 0.7504 GB, free: 56.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001804/1.485, allocations: 1.284 MB / 0.7517 GB, free: 55.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002171/1.488, allocations: 1.714 MB / 0.7534 GB, free: 53.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/1.488, allocations: 301.1 kB / 0.7537 GB, free: 53.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004656/1.492, allocations: 3.924 MB / 0.7575 GB, free: 49.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006534/1.499, allocations: 8.42 MB / 0.7657 GB, free: 38.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.513, allocations: 13.23 MB / 0.7786 GB, free: 23.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001726/1.513, allocations: 51.94 kB / 0.7787 GB, free: 23.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02699/1.54, allocations: 14.26 MB / 0.7926 GB, free: 8.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/1.541, allocations: 72 kB / 0.7927 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.541, allocations: 152.8 kB / 0.7928 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005187/1.546, allocations: 2.257 MB / 0.795 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007588/1.553, allocations: 1.989 MB / 0.797 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/1.571, allocations: 13.49 MB / 0.8101 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007811/1.578, allocations: 0.5033 MB / 0.8106 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/1.58, allocations: 483.9 kB / 0.8111 GB, free: 5.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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.006874/1.587, allocations: 3.08 MB / 0.8141 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.588, allocations: 0.499 MB / 0.8146 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3029/1.891, allocations: 8.394 MB / 0.8228 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-05/1.891, allocations: 42.62 kB / 0.8228 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/1.892, allocations: 9.531 kB / 0.8228 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-05/1.892, allocations: 20 kB / 0.8229 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.926, allocations: 17.15 MB / 0.8396 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/1.926, allocations: 2.938 kB / 0.8396 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/1.929, allocations: 0.6145 MB / 0.8402 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005004/1.934, allocations: 2.039 MB / 0.8422 GB, free: 142 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008942/1.935, allocations: 67.78 kB / 0.8423 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02763/1.963, allocations: 12.71 MB / 0.8547 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.963, allocations: 1.438 kB / 0.8547 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04262/2.006, allocations: 13.15 MB / 0.8675 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005731/2.011, allocations: 1.142 MB / 0.8686 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002566/2.014, allocations: 64.48 kB / 0.8687 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0066/2.021, allocations: 257.8 kB / 0.8689 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001543/2.022, allocations: 198.8 kB / 0.8691 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/2.023, allocations: 92.38 kB / 0.8692 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00887/2.032, allocations: 3.358 MB / 0.8725 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.42e-07/2.032, allocations: 3.828 kB / 0.8725 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01444/2.046, allocations: 1.691 MB / 0.8742 GB, free: 129.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.001345/2.047, allocations: 210.6 kB / 0.8744 GB, free: 129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02694/2.074, allocations: 9.516 MB / 0.8837 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/2.074, allocations: 0 / 0.8837 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/2.085, allocations: 4.105 MB / 0.8877 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/2.09, allocations: 0.6313 MB / 0.8883 GB, free: 118 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/2.119, allocations: 19.09 MB / 0.9069 GB, free: 99.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01013/2.129, allocations: 4.798 MB / 0.9116 GB, free: 94.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01208/2.141, allocations: 2.642 MB / 0.9142 GB, free: 91.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003128/2.144, allocations: 375.3 kB / 0.9145 GB, free: 91.23 MB / 0.4981 GB Notification: Performance of SimCode: time 1.904e-06/2.144, allocations: 0 / 0.9145 GB, free: 91.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.163/2.307, allocations: 67.48 MB / 0.9804 GB, free: 23.84 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)