Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, 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.001444/0.001444, allocations: 187.3 kB / 16.25 MB, free: 6.578 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.71/1.71, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.4343/0.4343, allocations: 39.93 MB / 309.4 MB, free: 8.992 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.001405/0.001405, allocations: 63.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 56.88 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3428/0.4924, allocations: 54.55 MB / 488.5 MB, free: 20.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03252/0.5249, allocations: 10.34 MB / 498.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01633/0.5414, allocations: 221.1 kB / 499.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005308/0.5467, allocations: 2.558 MB / 0.4899 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.5527, allocations: 1.271 MB / 0.4911 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.5538, allocations: 326.3 kB / 0.4914 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00559/0.5594, allocations: 2.898 MB / 0.4943 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005414/0.5649, allocations: 3.328 MB / 0.4975 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.569, allocations: 1.208 MB / 0.4987 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.5736, allocations: 1.768 MB / 0.5004 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.5752, allocations: 299.3 kB / 0.5007 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5782, allocations: 0.7904 MB / 0.5015 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.5818, allocations: 1.569 MB / 0.503 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0058/0.5876, allocations: 1.845 MB / 0.5048 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.6011, allocations: 5.812 MB / 0.5105 GB, free: 3.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.6011, allocations: 0 / 0.5105 GB, free: 3.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6012, allocations: 7.875 kB / 0.5105 GB, free: 3.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003856/0.6016, allocations: 0 / 0.5105 GB, free: 3.926 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01672/0.6183, allocations: 3.748 MB / 0.5142 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.6184, allocations: 13.42 kB / 0.5142 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008485/0.6269, allocations: 1.724 MB / 0.5159 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00596/0.6329, allocations: 1.635 MB / 0.5175 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004183/0.6333, allocations: 208.8 kB / 0.5177 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.6353, allocations: 266.4 kB / 0.5179 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.6598, allocations: 8.367 MB / 0.5261 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001718/0.6601, allocations: 15.88 kB / 0.5261 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/0.6618, allocations: 119.9 kB / 0.5262 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003278/0.6651, allocations: 1.764 MB / 0.5279 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.6822, allocations: 7.038 MB / 0.5348 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0571/0.7394, allocations: 25.91 MB / 0.5601 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006216/0.7456, allocations: 2.553 MB / 0.5626 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.7475, allocations: 0.97 MB / 0.5636 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009703/0.7572, allocations: 4.449 MB / 0.5679 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.7573, allocations: 47.5 kB / 0.5679 GB, free: 14.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 6.392e-06/0.7573, allocations: 0 / 0.5679 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007941/0.7653, allocations: 2.723 MB / 0.5706 GB, free: 11.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.7654, allocations: 60.41 kB / 0.5707 GB, free: 11.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005698/0.7711, allocations: 2.257 MB / 0.5729 GB, free: 9.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.7713, allocations: 45.62 kB / 0.5729 GB, free: 9.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002148/0.7735, allocations: 2.318 MB / 0.5752 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007873/0.7743, allocations: 466 kB / 0.5756 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.7761, allocations: 0.746 MB / 0.5763 GB, free: 5.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7762, allocations: 309.1 kB / 0.5766 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.7785, allocations: 1.12 MB / 0.5777 GB, free: 4.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003894/0.7824, allocations: 3.291 MB / 0.5809 GB, free: 15.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006165/0.7886, allocations: 4.815 MB / 0.5856 GB, free: 9.793 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-05/0.7888, allocations: 24 kB / 0.5857 GB, free: 9.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.009139/0.7979, allocations: 4.317 MB / 0.5899 GB, free: 5.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.7981, allocations: 36 kB / 0.5899 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001875/0.7983, allocations: 76 kB / 0.59 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.7985, allocations: 104 kB / 0.5901 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.8015, allocations: 0.8149 MB / 0.5909 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001715/0.8017, allocations: 151.4 kB / 0.591 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.8052, allocations: 0.4908 MB / 0.5915 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007304/0.806, allocations: 236.2 kB / 0.5917 GB, free: 3.547 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 445 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004348/0.8104, allocations: 1.702 MB / 0.5934 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006037/0.811, allocations: 197.4 kB / 0.5936 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/0.8142, allocations: 1.514 MB / 0.5951 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.8143, allocations: 16 kB / 0.5951 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.8143, allocations: 0 / 0.5951 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.8143, allocations: 3.984 kB / 0.5951 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.8313, allocations: 7.382 MB / 0.6023 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/0.8314, allocations: 12 kB / 0.6023 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.8322, allocations: 187.6 kB / 0.6025 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.904e-05/0.8323, allocations: 20 kB / 0.6025 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.8325, allocations: 39.98 kB / 0.6025 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.807e-05/0.8325, allocations: 27.92 kB / 0.6026 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-05/0.8325, allocations: 31.8 kB / 0.6026 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.8358, allocations: 2.004 MB / 0.6046 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.8369, allocations: 318 kB / 0.6049 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006945/0.8376, allocations: 39.98 kB / 0.6049 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.839, allocations: 47.88 kB / 0.6049 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.8392, allocations: 119.3 kB / 0.6051 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.8393, allocations: 55.98 kB / 0.6051 GB, free: 5.312 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003928/0.8433, allocations: 1.574 MB / 0.6066 GB, free: 3.723 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8433, allocations: 0 / 0.6066 GB, free: 3.723 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00535/0.8486, allocations: 0.9214 MB / 0.6075 GB, free: 2.797 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * 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 (98): * Single equations (assignments): 95 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006946/0.8493, allocations: 182.7 kB / 0.6077 GB, free: 2.609 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006967/0.8563, allocations: 2.897 MB / 0.6105 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.649e-05/0.8564, allocations: 4 kB / 0.6106 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.8579, allocations: 0.6992 MB / 0.6112 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.8614, allocations: 318.6 kB / 0.6115 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/0.8839, allocations: 8.74 MB / 0.6201 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007005/0.8909, allocations: 2.832 MB / 0.6228 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00453/0.8955, allocations: 1.171 MB / 0.624 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/0.8965, allocations: 163.4 kB / 0.6241 GB, free: 1.586 MB / 494.1 MB Notification: Performance of SimCode: time 2.886e-06/0.8965, allocations: 3.938 kB / 0.6241 GB, free: 1.582 MB / 494.1 MB Notification: Performance of Templates: time 0.295/1.192, allocations: 19.37 MB / 0.6431 GB, free: 147.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)