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.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001788/0.001788, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.716/1.716, allocations: 205.1 MB / 222 MB, free: 4.75 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.3873/0.3873, allocations: 39.93 MB / 309.3 MB, free: 9.32 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.001424/0.001424, allocations: 59.92 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 56.89 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3417/0.4866, allocations: 54.55 MB / 488.4 MB, free: 20.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03124/0.5179, allocations: 10.4 MB / 498.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01629/0.5342, allocations: 218.6 kB / 499 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005071/0.5394, allocations: 2.645 MB / 0.4899 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.5445, allocations: 1.291 MB / 0.4911 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.5457, allocations: 314.4 kB / 0.4914 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007388/0.5531, allocations: 4.295 MB / 0.4956 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005529/0.5587, allocations: 3.132 MB / 0.4987 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.5616, allocations: 1.062 MB / 0.4997 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.5647, allocations: 1.704 MB / 0.5014 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009718/0.5657, allocations: 216.7 kB / 0.5016 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.5678, allocations: 0.7357 MB / 0.5023 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.5699, allocations: 1.499 MB / 0.5038 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.5722, allocations: 1.765 MB / 0.5055 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008385/0.5806, allocations: 5.713 MB / 0.5111 GB, free: 4.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5806, allocations: 0 / 0.5111 GB, free: 4.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5806, allocations: 0 / 0.5111 GB, free: 4.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.5808, allocations: 5.188 kB / 0.5111 GB, free: 4.352 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.01139/0.5922, allocations: 3.739 MB / 0.5147 GB, free: 1.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.5923, allocations: 9.062 kB / 0.5147 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.5983, allocations: 1.717 MB / 0.5164 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.6026, allocations: 1.644 MB / 0.518 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.6028, allocations: 208.3 kB / 0.5182 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007942/0.6036, allocations: 266.2 kB / 0.5185 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.6208, allocations: 8.363 MB / 0.5266 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.6209, allocations: 19.88 kB / 0.5266 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003465/0.6213, allocations: 119.9 kB / 0.5268 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/0.6241, allocations: 1.76 MB / 0.5285 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.638, allocations: 7.034 MB / 0.5353 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04585/0.6838, allocations: 25.91 MB / 0.5607 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/0.6907, allocations: 2.548 MB / 0.5631 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.6926, allocations: 0.97 MB / 0.5641 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.7027, allocations: 4.46 MB / 0.5684 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.7028, allocations: 43.56 kB / 0.5685 GB, free: 13.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 4.117e-06/0.7028, allocations: 0 / 0.5685 GB, free: 13.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007316/0.7101, allocations: 2.727 MB / 0.5712 GB, free: 10.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.7102, allocations: 60.41 kB / 0.5712 GB, free: 10.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0046/0.7148, allocations: 2.265 MB / 0.5734 GB, free: 8.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.7149, allocations: 45.69 kB / 0.5735 GB, free: 8.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.7167, allocations: 2.317 MB / 0.5757 GB, free: 6.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000557/0.7173, allocations: 462 kB / 0.5762 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.7191, allocations: 0.746 MB / 0.5769 GB, free: 4.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7193, allocations: 309 kB / 0.5772 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.7215, allocations: 1.12 MB / 0.5783 GB, free: 3.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/0.7255, allocations: 3.287 MB / 0.5815 GB, free: 15.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005701/0.7313, allocations: 4.815 MB / 0.5862 GB, free: 9.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.487e-05/0.7313, allocations: 24 kB / 0.5862 GB, free: 9.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007097/0.7384, allocations: 4.316 MB / 0.5904 GB, free: 4.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.7385, allocations: 36 kB / 0.5905 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.232e-05/0.7386, allocations: 80 kB / 0.5905 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001137/0.7387, allocations: 100 kB / 0.5906 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.741, allocations: 0.8155 MB / 0.5914 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.7412, allocations: 151.4 kB / 0.5916 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/0.7438, allocations: 0.4908 MB / 0.5921 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.7441, allocations: 228 kB / 0.5923 GB, free: 3.059 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.003675/0.7478, allocations: 1.702 MB / 0.5939 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.7482, allocations: 197.4 kB / 0.5941 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.7506, allocations: 1.51 MB / 0.5956 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.7507, allocations: 16 kB / 0.5956 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7507, allocations: 4 kB / 0.5956 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.7507, allocations: 7.969 kB / 0.5956 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.7634, allocations: 7.381 MB / 0.6028 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.7635, allocations: 15.94 kB / 0.6029 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/0.7642, allocations: 192.4 kB / 0.603 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.717e-05/0.7642, allocations: 20 kB / 0.6031 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/0.7643, allocations: 43.98 kB / 0.6031 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.172e-05/0.7644, allocations: 23.94 kB / 0.6031 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/0.7644, allocations: 31.8 kB / 0.6032 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.767, allocations: 2 MB / 0.6051 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/0.7677, allocations: 322 kB / 0.6054 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.7679, allocations: 43.92 kB / 0.6055 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.7687, allocations: 47.88 kB / 0.6055 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.7689, allocations: 123.3 kB / 0.6056 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.769, allocations: 55.98 kB / 0.6057 GB, free: 4.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002306/0.7713, allocations: 1.574 MB / 0.6072 GB, free: 3.219 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7713, allocations: 0 / 0.6072 GB, free: 3.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003848/0.7752, allocations: 0.9175 MB / 0.6081 GB, free: 2.297 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.0003772/0.7756, allocations: 178.7 kB / 0.6083 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004228/0.7798, allocations: 2.609 MB / 0.6108 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.7798, allocations: 4 kB / 0.6108 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.7807, allocations: 0.7029 MB / 0.6115 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.7825, allocations: 307.2 kB / 0.6118 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.7957, allocations: 8.748 MB / 0.6203 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004189/0.7999, allocations: 2.828 MB / 0.6231 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003342/0.8033, allocations: 1.167 MB / 0.6242 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.8038, allocations: 163.4 kB / 0.6244 GB, free: 1.379 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/0.8038, allocations: 4 kB / 0.6244 GB, free: 1.375 MB / 494.1 MB Notification: Performance of Templates: time 0.2886/1.092, allocations: 18.74 MB / 0.6427 GB, free: 145.5 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)