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.001188/0.001193, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00123/0.00123, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3308/0.3308, allocations: 37.99 MB / 307.4 MB, free: 10.06 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.001375/0.001375, allocations: 68.75 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1494, allocations: 56.46 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.355/0.5044, allocations: 93.46 MB / 0.5124 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05625/0.5607, allocations: 17.87 MB / 0.5298 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02972/0.5906, allocations: 392.4 kB / 0.5302 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.6017, allocations: 4.41 MB / 0.5345 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.6144, allocations: 2.433 MB / 0.5369 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.6186, allocations: 1.067 MB / 0.5379 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.6324, allocations: 6.946 MB / 0.5447 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009815/0.6423, allocations: 6.082 MB / 0.5506 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006683/0.649, allocations: 2.523 MB / 0.5531 GB, free: 204 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006439/0.6555, allocations: 3.809 MB / 0.5568 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002535/0.658, allocations: 0.5625 MB / 0.5574 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00532/0.6634, allocations: 1.588 MB / 0.5589 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006193/0.6696, allocations: 3.226 MB / 0.5621 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009606/0.6793, allocations: 3.671 MB / 0.5657 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.6984, allocations: 11.23 MB / 0.5766 GB, free: 8.035 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6984, allocations: 4 kB / 0.5766 GB, free: 8.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6984, allocations: 0 / 0.5766 GB, free: 8.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004744/0.6989, allocations: 0 / 0.5766 GB, free: 8.031 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02661/0.7255, allocations: 7.685 MB / 0.5841 GB, free: 272 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.7256, allocations: 11.89 kB / 0.5841 GB, free: 260 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.7408, allocations: 2.829 MB / 0.5869 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.752, allocations: 4.305 MB / 0.5911 GB, free: 9.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/0.7524, allocations: 389.8 kB / 0.5915 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00278/0.7552, allocations: 0.5035 MB / 0.592 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04034/0.7956, allocations: 16.4 MB / 0.608 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003603/0.796, allocations: 63.38 kB / 0.608 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/0.7981, allocations: 243.8 kB / 0.6083 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006376/0.8045, allocations: 3.162 MB / 0.6114 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03233/0.8369, allocations: 14.13 MB / 0.6252 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3943/1.231, allocations: 60.63 MB / 0.6844 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02107/1.252, allocations: 8.016 MB / 0.6922 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006871/1.259, allocations: 4.203 MB / 0.6963 GB, free: 100.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/1.26, allocations: 64.38 kB / 0.6964 GB, free: 100.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/1.26, allocations: 64.2 kB / 0.6964 GB, free: 100.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.081e-06/1.26, allocations: 0 / 0.6964 GB, free: 100.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.09149/1.351, allocations: 35.39 MB / 0.731 GB, free: 79.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.351, allocations: 214.1 kB / 0.7312 GB, free: 79.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008524/1.36, allocations: 6.374 MB / 0.7374 GB, free: 73.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.361, allocations: 77.7 kB / 0.7375 GB, free: 73.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002376/1.363, allocations: 4.534 MB / 0.7419 GB, free: 68.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001922/1.365, allocations: 1.241 MB / 0.7431 GB, free: 67.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00278/1.368, allocations: 1.812 MB / 0.7449 GB, free: 65.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/1.368, allocations: 301.1 kB / 0.7452 GB, free: 65.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005287/1.374, allocations: 4.109 MB / 0.7492 GB, free: 61.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008585/1.382, allocations: 8.956 MB / 0.758 GB, free: 49.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/1.397, allocations: 13.98 MB / 0.7716 GB, free: 33.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001597/1.398, allocations: 48 kB / 0.7717 GB, free: 33.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0257/1.423, allocations: 14.96 MB / 0.7863 GB, free: 18.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/1.423, allocations: 76 kB / 0.7863 GB, free: 18.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/1.424, allocations: 172.8 kB / 0.7865 GB, free: 18.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/1.429, allocations: 2.284 MB / 0.7887 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00816/1.437, allocations: 2.09 MB / 0.7908 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/1.452, allocations: 14.46 MB / 0.8049 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008833/1.461, allocations: 0.546 MB / 0.8054 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/1.463, allocations: 0.5078 MB / 0.8059 GB, free: 13.97 MB / 0.4981 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.007481/1.471, allocations: 3.153 MB / 0.809 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.472, allocations: 0.5515 MB / 0.8095 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.488, allocations: 8.461 MB / 0.8178 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.087e-05/1.488, allocations: 36 kB / 0.8178 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/1.488, allocations: 12 kB / 0.8179 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.866e-05/1.488, allocations: 15.94 kB / 0.8179 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3377/1.826, allocations: 17.42 MB / 0.8349 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-05/1.826, allocations: 4.859 kB / 0.8349 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/1.829, allocations: 0.5955 MB / 0.8355 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/1.834, allocations: 2.04 MB / 0.8375 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/1.836, allocations: 69.58 kB / 0.8375 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/1.853, allocations: 13.65 MB / 0.8509 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.853, allocations: 10.14 kB / 0.8509 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03054/1.884, allocations: 13.52 MB / 0.8641 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004757/1.889, allocations: 1.244 MB / 0.8653 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002345/1.891, allocations: 57.78 kB / 0.8653 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005191/1.896, allocations: 275 kB / 0.8656 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/1.898, allocations: 203.2 kB / 0.8658 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003681/1.898, allocations: 87.66 kB / 0.8659 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01044/1.908, allocations: 4.053 MB / 0.8698 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.908, allocations: 3.938 kB / 0.8698 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01333/1.922, allocations: 1.742 MB / 0.8715 GB, free: 131.3 MB / 0.4981 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.00144/1.923, allocations: 209.7 kB / 0.8717 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02435/1.948, allocations: 14.5 MB / 0.8859 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.948, allocations: 4 kB / 0.8859 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007562/1.955, allocations: 4.136 MB / 0.8899 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006901/1.962, allocations: 0.7398 MB / 0.8907 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.995, allocations: 19.5 MB / 0.9097 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007028/2.002, allocations: 4.854 MB / 0.9144 GB, free: 95.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007965/2.01, allocations: 2.919 MB / 0.9173 GB, free: 93.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/2.011, allocations: 407.3 kB / 0.9177 GB, free: 92.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.134e-06/2.012, allocations: 0 / 0.9177 GB, free: 92.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.1127/2.124, allocations: 71.84 MB / 0.9878 GB, free: 20.9 MB / 0.4981 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)