Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006857/0.006857, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.0014/0.0014, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3579/0.3579, allocations: 38 MB / 307.9 MB, free: 10.4 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.001538/0.001538, allocations: 63.91 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3036, allocations: 56.46 MB / 489.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.01734/0.3209, allocations: 21.24 MB / 0.4987 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.3357, allocations: 6.068 MB / 0.5047 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007437/0.3433, allocations: 145.1 kB / 0.5048 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01783/0.3612, allocations: 7.669 MB / 0.5123 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.3746, allocations: 3.651 MB / 0.5158 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005107/0.3798, allocations: 1.714 MB / 0.5175 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01877/0.3986, allocations: 9.596 MB / 0.5269 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.4149, allocations: 9.507 MB / 0.5362 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/0.4239, allocations: 3.949 MB / 0.54 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009645/0.4336, allocations: 5.281 MB / 0.5452 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00413/0.4377, allocations: 0.8711 MB / 0.546 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006424/0.4442, allocations: 1.662 MB / 0.5477 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008363/0.4526, allocations: 4.871 MB / 0.5524 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0137/0.4663, allocations: 5.5 MB / 0.5578 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02502/0.4914, allocations: 17.09 MB / 0.5745 GB, free: 372 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4915, allocations: 0 / 0.5745 GB, free: 372 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.4915, allocations: 0 / 0.5745 GB, free: 372 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007377/0.4922, allocations: 3.938 kB / 0.5745 GB, free: 368 kB / 446.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.0314/0.5236, allocations: 11.67 MB / 0.5859 GB, free: 4.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5237, allocations: 15.89 kB / 0.5859 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.5384, allocations: 3.079 MB / 0.5889 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.5518, allocations: 5.853 MB / 0.5946 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007116/0.5526, allocations: 0.5928 MB / 0.5952 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/0.5561, allocations: 0.7691 MB / 0.5959 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05799/0.6141, allocations: 24.46 MB / 0.6198 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006064/0.6148, allocations: 79.33 kB / 0.6199 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003665/0.6185, allocations: 371.7 kB / 0.6203 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008104/0.6266, allocations: 4.531 MB / 0.6247 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5145/1.141, allocations: 19.2 MB / 0.6434 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/1.26, allocations: 85.49 MB / 0.7269 GB, free: 47.96 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/1.281, allocations: 7.806 MB / 0.7345 GB, free: 40.82 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004659/1.285, allocations: 3.126 MB / 0.7376 GB, free: 37.68 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02107/1.306, allocations: 13.13 MB / 0.7504 GB, free: 24.36 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.307, allocations: 72.77 kB / 0.7505 GB, free: 24.28 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 7.093e-06/1.307, allocations: 0 / 0.7505 GB, free: 24.28 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.04921/1.356, allocations: 21.05 MB / 0.7711 GB, free: 3.73 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/1.356, allocations: 170.9 kB / 0.7712 GB, free: 3.531 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.368, allocations: 7.435 MB / 0.7785 GB, free: 12.26 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007204/1.369, allocations: 77.7 kB / 0.7785 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.007267/1.376, allocations: 7.035 MB / 0.7854 GB, free: 5.082 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002334/1.379, allocations: 1.415 MB / 0.7868 GB, free: 3.656 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003835/1.383, allocations: 2.203 MB / 0.789 GB, free: 1.445 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.383, allocations: 309.1 kB / 0.7892 GB, free: 1.141 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006307/1.389, allocations: 3.309 MB / 0.7925 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01286/1.402, allocations: 9.93 MB / 0.8022 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01973/1.422, allocations: 14.4 MB / 0.8162 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002251/1.422, allocations: 68 kB / 0.8163 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03004/1.452, allocations: 12.97 MB / 0.829 GB, free: 1.84 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.452, allocations: 104 kB / 0.8291 GB, free: 1.738 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000378/1.453, allocations: 236.9 kB / 0.8293 GB, free: 1.508 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/1.453, allocations: 308 kB / 0.8296 GB, free: 1.207 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009374/1.462, allocations: 2.577 MB / 0.8321 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/1.463, allocations: 462.2 kB / 0.8325 GB, free: 14.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009923/1.473, allocations: 0.523 MB / 0.8331 GB, free: 13.65 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/1.475, allocations: 0.6601 MB / 0.8337 GB, free: 12.99 MB / 0.5763 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.0114/1.486, allocations: 4.533 MB / 0.8381 GB, free: 8.438 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.488, allocations: 0.6945 MB / 0.8388 GB, free: 7.738 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007909/1.496, allocations: 4.093 MB / 0.8428 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-05/1.496, allocations: 39.98 kB / 0.8428 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.496, allocations: 4 kB / 0.8428 GB, free: 3.555 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/1.496, allocations: 19.94 kB / 0.8429 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3528/1.849, allocations: 42.07 MB / 0.8839 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001571/1.849, allocations: 91.12 kB / 0.884 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/1.852, allocations: 0.8665 MB / 0.8849 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/1.852, allocations: 119.6 kB / 0.885 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/1.852, allocations: 200.1 kB / 0.8852 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001681/1.853, allocations: 183.2 kB / 0.8854 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001078/1.853, allocations: 142.5 kB / 0.8855 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009382/1.862, allocations: 8.077 MB / 0.8934 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/1.865, allocations: 0.868 MB / 0.8942 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009403/1.866, allocations: 215.6 kB / 0.8944 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/1.869, allocations: 211.7 kB / 0.8946 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005839/1.869, allocations: 0.588 MB / 0.8952 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000358/1.87, allocations: 246.2 kB / 0.8954 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007546/1.877, allocations: 4.609 MB / 0.8999 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.877, allocations: 0 / 0.8999 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0119/1.889, allocations: 1.893 MB / 0.9018 GB, free: 172 MB / 0.5919 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.001161/1.89, allocations: 426.6 kB / 0.9022 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.901, allocations: 7.983 MB / 0.91 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.802e-05/1.901, allocations: 11.75 kB / 0.91 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/1.904, allocations: 2.218 MB / 0.9122 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007439/1.911, allocations: 1.181 MB / 0.9133 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03386/1.945, allocations: 22.67 MB / 0.9355 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009954/1.955, allocations: 6.964 MB / 0.9423 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007429/1.963, allocations: 3.318 MB / 0.9455 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.964, allocations: 0.5033 MB / 0.946 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.463e-06/1.964, allocations: 0 / 0.946 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.09763/2.062, allocations: 55.77 MB / 1 GB, free: 82.62 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)