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.00609/0.00609, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.001332/0.001332, allocations: 199.3 kB / 16.67 MB, free: 5.977 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3403/0.3403, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.001517/0.001517, allocations: 68.47 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3494, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.017/0.3664, allocations: 16.5 MB / 0.4941 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.3813, allocations: 5.144 MB / 0.4992 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005525/0.3869, allocations: 100.8 kB / 0.4993 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009768/0.3967, allocations: 4.59 MB / 0.5037 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.4068, allocations: 2.607 MB / 0.5063 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.4105, allocations: 1.134 MB / 0.5074 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01409/0.4246, allocations: 6.716 MB / 0.514 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009878/0.4346, allocations: 5.776 MB / 0.5196 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/0.4414, allocations: 2.492 MB / 0.522 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006419/0.4478, allocations: 3.462 MB / 0.5254 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002055/0.4499, allocations: 0.5625 MB / 0.526 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.4544, allocations: 1.568 MB / 0.5275 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.4588, allocations: 3.195 MB / 0.5306 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007287/0.4661, allocations: 3.647 MB / 0.5342 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.4839, allocations: 11.54 MB / 0.5454 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.484, allocations: 0 / 0.5454 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.484, allocations: 0 / 0.5454 GB, free: 14.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004271/0.4844, allocations: 0 / 0.5454 GB, free: 14.27 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.02268/0.5071, allocations: 7.693 MB / 0.553 GB, free: 6.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.902e-05/0.5072, allocations: 11.89 kB / 0.553 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.5216, allocations: 2.827 MB / 0.5557 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.5337, allocations: 4.363 MB / 0.56 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/0.5341, allocations: 389.8 kB / 0.5604 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/0.536, allocations: 0.5035 MB / 0.5609 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03371/0.5697, allocations: 16.41 MB / 0.5769 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.57, allocations: 59.47 kB / 0.5769 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000673/0.5707, allocations: 243.8 kB / 0.5772 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005341/0.576, allocations: 3.162 MB / 0.5803 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02935/0.6054, allocations: 14.12 MB / 0.594 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4021/1.007, allocations: 60.3 MB / 0.6529 GB, free: 85.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02171/1.029, allocations: 8.008 MB / 0.6608 GB, free: 84.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006013/1.035, allocations: 4.205 MB / 0.6649 GB, free: 83.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/1.036, allocations: 56.97 kB / 0.6649 GB, free: 83.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/1.036, allocations: 67.88 kB / 0.665 GB, free: 83.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 5.781e-06/1.036, allocations: 3.531 kB / 0.665 GB, free: 83.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=332): time 0.08974/1.125, allocations: 35.39 MB / 0.6995 GB, free: 68.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/1.126, allocations: 213.5 kB / 0.6997 GB, free: 68.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009102/1.135, allocations: 6.361 MB / 0.706 GB, free: 63.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001277/1.136, allocations: 81.27 kB / 0.706 GB, free: 63.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002649/1.139, allocations: 4.542 MB / 0.7105 GB, free: 58.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/1.141, allocations: 1.242 MB / 0.7117 GB, free: 57.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/1.143, allocations: 1.816 MB / 0.7135 GB, free: 55.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/1.143, allocations: 301.1 kB / 0.7137 GB, free: 55.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004783/1.148, allocations: 4.105 MB / 0.7178 GB, free: 51.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00687/1.155, allocations: 8.958 MB / 0.7265 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.168, allocations: 13.97 MB / 0.7401 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/1.169, allocations: 48 kB / 0.7402 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02512/1.194, allocations: 14.97 MB / 0.7548 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/1.194, allocations: 83.94 kB / 0.7549 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/1.194, allocations: 168 kB / 0.7551 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/1.2, allocations: 2.278 MB / 0.7573 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00751/1.207, allocations: 2.09 MB / 0.7593 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/1.225, allocations: 14.44 MB / 0.7734 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.236, allocations: 0.5422 MB / 0.7739 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002229/1.238, allocations: 0.5148 MB / 0.7744 GB, free: 4.609 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.007586/1.246, allocations: 3.157 MB / 0.7775 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/1.248, allocations: 0.5437 MB / 0.7781 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/1.265, allocations: 8.458 MB / 0.7863 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.347e-05/1.265, allocations: 39.31 kB / 0.7864 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-05/1.265, allocations: 12 kB / 0.7864 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.325e-05/1.265, allocations: 15.94 kB / 0.7864 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04344/1.309, allocations: 17.23 MB / 0.8032 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.309, allocations: 7.984 kB / 0.8032 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/1.312, allocations: 0.5928 MB / 0.8038 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005839/1.318, allocations: 2.042 MB / 0.8058 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008196/1.319, allocations: 59.98 kB / 0.8059 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/1.34, allocations: 13.76 MB / 0.8193 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.34, allocations: 4 kB / 0.8193 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/1.365, allocations: 13.53 MB / 0.8325 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005006/1.37, allocations: 1.24 MB / 0.8337 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/1.372, allocations: 63.66 kB / 0.8338 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004699/1.377, allocations: 279.6 kB / 0.8341 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/1.378, allocations: 193.8 kB / 0.8342 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005876/1.378, allocations: 91.98 kB / 0.8343 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01039/1.389, allocations: 4.053 MB / 0.8383 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/1.389, allocations: 0 / 0.8383 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01377/1.403, allocations: 1.741 MB / 0.84 GB, free: 0.9141 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.00131/1.404, allocations: 215.7 kB / 0.8402 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01887/1.423, allocations: 9.927 MB / 0.8499 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.423, allocations: 0 / 0.8499 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008416/1.431, allocations: 4.148 MB / 0.8539 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007873/1.439, allocations: 0.7227 MB / 0.8546 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/1.477, allocations: 16.2 MB / 0.8705 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.296/1.773, allocations: 4.854 MB / 0.8752 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009092/1.782, allocations: 2.919 MB / 0.8781 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.784, allocations: 396.8 kB / 0.8784 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/1.784, allocations: 0 / 0.8784 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.1237/1.908, allocations: 67.19 MB / 0.944 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)