Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001722/0.001722, allocations: 191.2 kB / 16.14 MB, free: 6.707 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.779/1.779, allocations: 205.1 MB / 222 MB, free: 4.758 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.4285/0.4285, allocations: 39.93 MB / 309.3 MB, free: 9.664 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.001217/0.001217, allocations: 66.56 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 56.89 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4182/0.5636, allocations: 133.1 MB / 0.5537 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.07671/0.6403, allocations: 24.66 MB / 0.5777 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04653/0.6869, allocations: 0.5613 MB / 0.5783 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01512/0.7021, allocations: 7.692 MB / 0.5858 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.7144, allocations: 3.452 MB / 0.5892 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.7214, allocations: 1.619 MB / 0.5908 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02062/0.742, allocations: 14.21 MB / 0.6046 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.7568, allocations: 9.411 MB / 0.6138 GB, free: 484 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009189/0.766, allocations: 3.539 MB / 0.6173 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/0.7763, allocations: 5.608 MB / 0.6228 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003408/0.7797, allocations: 0.6328 MB / 0.6234 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004832/0.7846, allocations: 1.518 MB / 0.6249 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005905/0.7905, allocations: 4.703 MB / 0.6295 GB, free: 440 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4106/1.201, allocations: 5.278 MB / 0.6346 GB, free: 17.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02354/1.225, allocations: 16.18 MB / 0.6504 GB, free: 15.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/1.225, allocations: 2.594 kB / 0.6504 GB, free: 15.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/1.225, allocations: 2.625 kB / 0.6504 GB, free: 15.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008152/1.226, allocations: 0 / 0.6504 GB, free: 15.74 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.04396/1.27, allocations: 11.37 MB / 0.6615 GB, free: 11.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/1.27, allocations: 10.09 kB / 0.6615 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/1.288, allocations: 3.014 MB / 0.6645 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/1.306, allocations: 5.707 MB / 0.67 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008971/1.307, allocations: 0.5924 MB / 0.6706 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005444/1.312, allocations: 0.7699 MB / 0.6714 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05857/1.371, allocations: 24.47 MB / 0.6953 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003909/1.371, allocations: 74.78 kB / 0.6953 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/1.375, allocations: 368.6 kB / 0.6957 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006522/1.381, allocations: 4.553 MB / 0.7001 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05009/1.431, allocations: 19.2 MB / 0.7189 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/1.583, allocations: 85.83 MB / 0.8027 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02385/1.607, allocations: 7.824 MB / 0.8103 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005823/1.613, allocations: 3.118 MB / 0.8134 GB, free: 308 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02929/1.642, allocations: 13.1 MB / 0.8262 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.137e-05/1.642, allocations: 67.88 kB / 0.8262 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 6.412e-06/1.642, allocations: 0 / 0.8262 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.0637/1.706, allocations: 20.51 MB / 0.8463 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.706, allocations: 174 kB / 0.8464 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01533/1.722, allocations: 7.411 MB / 0.8537 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.723, allocations: 83.89 kB / 0.8538 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.312/2.035, allocations: 6.763 MB / 0.8604 GB, free: 292.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002333/2.037, allocations: 1.358 MB / 0.8617 GB, free: 292.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004004/2.041, allocations: 2.194 MB / 0.8638 GB, free: 292.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/2.041, allocations: 301.6 kB / 0.8641 GB, free: 292 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005575/2.047, allocations: 3.312 MB / 0.8674 GB, free: 291.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009966/2.057, allocations: 9.925 MB / 0.877 GB, free: 283.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01923/2.076, allocations: 14.39 MB / 0.8911 GB, free: 270.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000588/2.077, allocations: 67.47 kB / 0.8912 GB, free: 270.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03582/2.113, allocations: 12.95 MB / 0.9038 GB, free: 266.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003272/2.113, allocations: 105.2 kB / 0.9039 GB, free: 266.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006353/2.114, allocations: 232.4 kB / 0.9041 GB, free: 266.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/2.114, allocations: 312 kB / 0.9044 GB, free: 266.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/2.125, allocations: 2.58 MB / 0.907 GB, free: 265.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005868/2.126, allocations: 467.5 kB / 0.9074 GB, free: 265.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/2.138, allocations: 0.5154 MB / 0.9079 GB, free: 265.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002745/2.14, allocations: 0.6551 MB / 0.9085 GB, free: 265.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1393): * Single equations (assignments): 1382 * Array equations: 11 * 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.01152/2.152, allocations: 4.534 MB / 0.913 GB, free: 263.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/2.153, allocations: 0.6598 MB / 0.9136 GB, free: 263.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007875/2.161, allocations: 4.093 MB / 0.9176 GB, free: 261.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-05/2.161, allocations: 44.92 kB / 0.9177 GB, free: 261.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/2.161, allocations: 0 / 0.9177 GB, free: 261.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.13e-05/2.161, allocations: 20.72 kB / 0.9177 GB, free: 261.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05744/2.219, allocations: 42.06 MB / 0.9587 GB, free: 229.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001324/2.219, allocations: 94.19 kB / 0.9588 GB, free: 229.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/2.222, allocations: 0.8672 MB / 0.9597 GB, free: 228.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.361e-05/2.222, allocations: 120 kB / 0.9598 GB, free: 228.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003361/2.222, allocations: 198.8 kB / 0.96 GB, free: 228 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001057/2.222, allocations: 175.9 kB / 0.9602 GB, free: 227.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.46e-05/2.222, allocations: 143.4 kB / 0.9603 GB, free: 227.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007974/2.23, allocations: 8.04 MB / 0.9681 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/2.233, allocations: 0.8317 MB / 0.969 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/2.234, allocations: 208.7 kB / 0.9692 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003653/2.238, allocations: 209.8 kB / 0.9694 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006285/2.239, allocations: 0.5987 MB / 0.9699 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/2.239, allocations: 240 kB / 0.9702 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008765/2.248, allocations: 4.611 MB / 0.9747 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.8e-07/2.248, allocations: 0 / 0.9747 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01336/2.261, allocations: 1.891 MB / 0.9765 GB, free: 209.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001783/2.263, allocations: 425.3 kB / 0.9769 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01398/2.277, allocations: 7.76 MB / 0.9845 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.109e-05/2.277, allocations: 17.53 kB / 0.9845 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/2.281, allocations: 2.216 MB / 0.9867 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009751/2.29, allocations: 1.146 MB / 0.9878 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/2.334, allocations: 27.63 MB / 1.015 GB, free: 169.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01506/2.349, allocations: 6.967 MB / 1.022 GB, free: 162.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01008/2.359, allocations: 3.318 MB / 1.025 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/2.361, allocations: 0.4994 MB / 1.025 GB, free: 158.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/2.361, allocations: 0 / 1.025 GB, free: 158.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.1129/2.474, allocations: 59.49 MB / 1.083 GB, free: 99.07 MB / 0.6387 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)