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.006711/0.006711, allocations: 102 kB / 15.73 MB, free: 6.488 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.001327/0.001327, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.473/1.473, 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.353/0.353, allocations: 38 MB / 307.9 MB, free: 10.2 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.001507/0.001507, allocations: 71.89 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3438, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01598/0.3598, allocations: 16.5 MB / 0.4941 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.3718, allocations: 5.141 MB / 0.4992 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.3763, allocations: 104.8 kB / 0.4993 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009106/0.3855, allocations: 4.589 MB / 0.5037 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.3955, allocations: 2.693 MB / 0.5064 GB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.3996, allocations: 1.133 MB / 0.5075 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4131, allocations: 6.715 MB / 0.514 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.4247, allocations: 5.772 MB / 0.5197 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006169/0.431, allocations: 2.498 MB / 0.5221 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006769/0.4378, allocations: 3.458 MB / 0.5255 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.4405, allocations: 0.5664 MB / 0.526 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005299/0.4458, allocations: 1.565 MB / 0.5276 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005307/0.4511, allocations: 3.191 MB / 0.5307 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008026/0.4592, allocations: 3.643 MB / 0.5342 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.4789, allocations: 11.55 MB / 0.5455 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.4789, allocations: 0 / 0.5455 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4789, allocations: 0 / 0.5455 GB, free: 14.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005142/0.4795, allocations: 0 / 0.5455 GB, free: 14.17 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.02152/0.501, allocations: 7.685 MB / 0.553 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.5011, allocations: 15.89 kB / 0.553 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.5146, allocations: 2.834 MB / 0.5558 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5257, allocations: 4.363 MB / 0.5601 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004464/0.5262, allocations: 389.8 kB / 0.5604 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/0.5286, allocations: 0.4957 MB / 0.5609 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03348/0.5621, allocations: 16.4 MB / 0.577 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/0.5624, allocations: 71.39 kB / 0.577 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006608/0.563, allocations: 235.8 kB / 0.5772 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005017/0.568, allocations: 3.166 MB / 0.5803 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/0.5969, allocations: 14.13 MB / 0.5941 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3952/0.9922, allocations: 60.3 MB / 0.653 GB, free: 85.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02151/1.014, allocations: 8.008 MB / 0.6608 GB, free: 84.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006446/1.02, allocations: 4.209 MB / 0.6649 GB, free: 83.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/1.021, allocations: 57.72 kB / 0.665 GB, free: 83.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/1.021, allocations: 62.84 kB / 0.6651 GB, free: 83.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 6.793e-06/1.021, allocations: 1.156 kB / 0.6651 GB, free: 83.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=332): time 0.09746/1.118, allocations: 35.39 MB / 0.6996 GB, free: 68.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/1.118, allocations: 216.5 kB / 0.6998 GB, free: 68.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0081/1.126, allocations: 6.362 MB / 0.706 GB, free: 63.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009319/1.127, allocations: 81.31 kB / 0.7061 GB, free: 63.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.13, allocations: 4.539 MB / 0.7106 GB, free: 58.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.131, allocations: 1.241 MB / 0.7118 GB, free: 57.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002161/1.133, allocations: 1.82 MB / 0.7135 GB, free: 55.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/1.133, allocations: 301.1 kB / 0.7138 GB, free: 55.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.138, allocations: 4.105 MB / 0.7178 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00664/1.145, allocations: 8.96 MB / 0.7266 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.158, allocations: 13.98 MB / 0.7402 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/1.158, allocations: 51.94 kB / 0.7403 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02645/1.185, allocations: 14.96 MB / 0.7549 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.185, allocations: 82.44 kB / 0.755 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.185, allocations: 168 kB / 0.7551 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005078/1.19, allocations: 2.281 MB / 0.7574 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007083/1.197, allocations: 2.094 MB / 0.7594 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.214, allocations: 14.43 MB / 0.7735 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007737/1.222, allocations: 0.5453 MB / 0.774 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.223, allocations: 0.5077 MB / 0.7745 GB, free: 4.559 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.007339/1.231, allocations: 3.157 MB / 0.7776 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/1.232, allocations: 0.5437 MB / 0.7781 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/1.248, allocations: 8.466 MB / 0.7864 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/1.248, allocations: 32 kB / 0.7864 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.248, allocations: 12 kB / 0.7865 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/1.248, allocations: 19.94 kB / 0.7865 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/1.282, allocations: 17.23 MB / 0.8033 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/1.282, allocations: 7.938 kB / 0.8033 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003259/1.285, allocations: 0.5929 MB / 0.8039 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005275/1.29, allocations: 2.042 MB / 0.8059 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005205/1.291, allocations: 63.83 kB / 0.8059 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/1.308, allocations: 13.76 MB / 0.8194 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.308, allocations: 4 kB / 0.8194 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02187/1.33, allocations: 13.54 MB / 0.8326 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003329/1.333, allocations: 1.24 MB / 0.8338 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008834/1.334, allocations: 59.28 kB / 0.8339 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002676/1.337, allocations: 283.6 kB / 0.8341 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/1.338, allocations: 201.7 kB / 0.8343 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002723/1.338, allocations: 91.98 kB / 0.8344 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006173/1.344, allocations: 4.046 MB / 0.8384 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.344, allocations: 3.938 kB / 0.8384 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008913/1.353, allocations: 1.749 MB / 0.8401 GB, free: 0.8477 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.0006094/1.354, allocations: 215.4 kB / 0.8403 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01584/1.37, allocations: 9.926 MB / 0.85 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.37, allocations: 0 / 0.85 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006869/1.376, allocations: 4.148 MB / 0.854 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.381, allocations: 0.7112 MB / 0.8547 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/1.408, allocations: 16.21 MB / 0.8705 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2695/1.678, allocations: 4.848 MB / 0.8753 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009176/1.687, allocations: 2.916 MB / 0.8781 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/1.69, allocations: 397.5 kB / 0.8785 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/1.69, allocations: 3.219 kB / 0.8785 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.1239/1.814, allocations: 66.92 MB / 0.9439 GB, free: 176.2 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)