Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, 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.001336/0.001337, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.59/1.59, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3612/0.3612, allocations: 37.99 MB / 307.4 MB, free: 10.09 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.001435/0.001436, allocations: 82.8 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1457, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.3964/0.5421, allocations: 125.8 MB / 0.5439 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08077/0.6229, allocations: 23.42 MB / 0.5668 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04641/0.6694, allocations: 0.53 MB / 0.5673 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.6829, allocations: 6.178 MB / 0.5733 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.6989, allocations: 3.098 MB / 0.5764 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.705, allocations: 1.51 MB / 0.5778 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01908/0.7241, allocations: 10.24 MB / 0.5878 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.7425, allocations: 8.78 MB / 0.5964 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009798/0.7523, allocations: 3.501 MB / 0.5998 GB, free: 176 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.7639, allocations: 5.278 MB / 0.605 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004693/0.7686, allocations: 0.7734 MB / 0.6057 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008186/0.7769, allocations: 1.791 MB / 0.6075 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01026/0.7872, allocations: 4.376 MB / 0.6118 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01388/0.8012, allocations: 4.86 MB / 0.6165 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02699/0.8282, allocations: 14.63 MB / 0.6308 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.8283, allocations: 0 / 0.6308 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.8283, allocations: 0 / 0.6308 GB, free: 372 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007277/0.829, allocations: 0 / 0.6308 GB, free: 372 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.3034/1.132, allocations: 10.08 MB / 0.6406 GB, free: 151.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.133, allocations: 13.95 kB / 0.6407 GB, free: 151.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/1.153, allocations: 3.73 MB / 0.6443 GB, free: 150.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/1.168, allocations: 6.564 MB / 0.6507 GB, free: 147.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005234/1.169, allocations: 0.4906 MB / 0.6512 GB, free: 147.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003623/1.172, allocations: 0.66 MB / 0.6518 GB, free: 147.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05023/1.223, allocations: 19.91 MB / 0.6713 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005959/1.223, allocations: 87.69 kB / 0.6714 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002316/1.226, allocations: 310.1 kB / 0.6717 GB, free: 138.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00732/1.233, allocations: 3.614 MB / 0.6752 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03641/1.269, allocations: 16.75 MB / 0.6915 GB, free: 126.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09882/1.368, allocations: 73.14 MB / 0.763 GB, free: 51.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/1.389, allocations: 8.504 MB / 0.7713 GB, free: 42.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006651/1.395, allocations: 4.533 MB / 0.7757 GB, free: 38.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.396, allocations: 0.6686 MB / 0.7764 GB, free: 37.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.481e-05/1.396, allocations: 68.81 kB / 0.7764 GB, free: 37.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=311): time 9.367e-06/1.396, allocations: 0 / 0.7764 GB, free: 37.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=335): time 0.09835/1.495, allocations: 35.75 MB / 0.8113 GB, free: 1.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.495, allocations: 295.6 kB / 0.8116 GB, free: 1.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4861/1.981, allocations: 7.814 MB / 0.8192 GB, free: 136.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.982, allocations: 75.39 kB / 0.8193 GB, free: 136.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003567/1.986, allocations: 5.739 MB / 0.8249 GB, free: 132.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.988, allocations: 1.282 MB / 0.8262 GB, free: 132 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003179/1.991, allocations: 2.08 MB / 0.8282 GB, free: 131 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/1.991, allocations: 305.7 kB / 0.8285 GB, free: 130.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005749/1.997, allocations: 4.122 MB / 0.8325 GB, free: 129.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008633/2.005, allocations: 9.839 MB / 0.8421 GB, free: 120.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/2.022, allocations: 14.9 MB / 0.8567 GB, free: 108.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002574/2.023, allocations: 57.28 kB / 0.8567 GB, free: 108.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0383/2.061, allocations: 15.84 MB / 0.8722 GB, free: 102.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/2.061, allocations: 90.84 kB / 0.8723 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/2.061, allocations: 202.8 kB / 0.8725 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006573/2.068, allocations: 2.331 MB / 0.8748 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008981/2.077, allocations: 2.346 MB / 0.877 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/2.095, allocations: 16.76 MB / 0.8934 GB, free: 90.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00944/2.104, allocations: 0.5812 MB / 0.894 GB, free: 90.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/2.106, allocations: 0.5814 MB / 0.8945 GB, free: 89.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.00811/2.114, allocations: 3.887 MB / 0.8983 GB, free: 86.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/2.116, allocations: 0.6672 MB / 0.899 GB, free: 85.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/2.129, allocations: 7.993 MB / 0.9068 GB, free: 79.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.574e-05/2.129, allocations: 36 kB / 0.9068 GB, free: 79.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/2.129, allocations: 8 kB / 0.9068 GB, free: 79.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.756e-05/2.129, allocations: 22.56 kB / 0.9069 GB, free: 79.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03838/2.168, allocations: 17.38 MB / 0.9238 GB, free: 62.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/2.168, allocations: 7.875 kB / 0.9238 GB, free: 62.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/2.171, allocations: 0.5539 MB / 0.9244 GB, free: 61.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005324/2.176, allocations: 2.01 MB / 0.9263 GB, free: 59.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009169/2.177, allocations: 56 kB / 0.9264 GB, free: 59.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/2.193, allocations: 15.62 MB / 0.9417 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.193, allocations: 7.938 kB / 0.9417 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/2.214, allocations: 12.4 MB / 0.9538 GB, free: 30.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005079/2.219, allocations: 1.277 MB / 0.955 GB, free: 29.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003916/2.223, allocations: 60 kB / 0.9551 GB, free: 29.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00578/2.229, allocations: 227.7 kB / 0.9553 GB, free: 29.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/2.23, allocations: 198.2 kB / 0.9555 GB, free: 29.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008672/2.231, allocations: 91.83 kB / 0.9556 GB, free: 28.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00945/2.24, allocations: 4.992 MB / 0.9604 GB, free: 24.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/2.241, allocations: 4 kB / 0.9604 GB, free: 24.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01139/2.252, allocations: 2.01 MB / 0.9624 GB, free: 22.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (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.001234/2.253, allocations: 208.5 kB / 0.9626 GB, free: 21.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0206/2.274, allocations: 12.38 MB / 0.9747 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/2.274, allocations: 0 / 0.9747 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005826/2.28, allocations: 3.657 MB / 0.9783 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009436/2.289, allocations: 0.9773 MB / 0.9792 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2649/2.554, allocations: 23 MB / 1.002 GB, free: 136.9 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008794/2.563, allocations: 5.954 MB / 1.008 GB, free: 136 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008052/2.571, allocations: 3.071 MB / 1.011 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/2.573, allocations: 460.2 kB / 1.011 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of SimCode: time 1.202e-06/2.573, allocations: 0 / 1.011 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.1564/2.729, allocations: 81.58 MB / 1.091 GB, free: 87.23 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)