Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, 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.001978/0.001979, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.635/1.635, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3703/0.3703, allocations: 37.98 MB / 307.4 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.001447/0.001447, allocations: 74.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1369, allocations: 56.47 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3841/0.5211, allocations: 133.1 MB / 0.5511 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.06677/0.5879, allocations: 24.56 MB / 0.5751 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04359/0.6316, allocations: 0.5612 MB / 0.5757 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.6461, allocations: 7.403 MB / 0.5829 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.6581, allocations: 3.41 MB / 0.5862 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.6628, allocations: 1.626 MB / 0.5878 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01609/0.6789, allocations: 9.639 MB / 0.5972 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01944/0.6984, allocations: 9.999 MB / 0.607 GB, free: 8.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009894/0.7083, allocations: 4.023 MB / 0.6109 GB, free: 4.734 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.7184, allocations: 5.827 MB / 0.6166 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005658/0.7241, allocations: 0.8711 MB / 0.6174 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006156/0.7303, allocations: 1.678 MB / 0.6191 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007444/0.7378, allocations: 4.941 MB / 0.6239 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.7491, allocations: 5.539 MB / 0.6293 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6018/1.351, allocations: 16.52 MB / 0.6454 GB, free: 21.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.351, allocations: 0 / 0.6454 GB, free: 21.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/1.351, allocations: 0 / 0.6454 GB, free: 21.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009274/1.352, allocations: 0 / 0.6454 GB, free: 21.22 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.04185/1.394, allocations: 11.37 MB / 0.6565 GB, free: 17.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.394, allocations: 13.55 kB / 0.6566 GB, free: 17.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/1.411, allocations: 3.019 MB / 0.6595 GB, free: 16.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/1.43, allocations: 5.699 MB / 0.6651 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001663/1.431, allocations: 0.5941 MB / 0.6657 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00771/1.439, allocations: 0.7699 MB / 0.6664 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06138/1.5, allocations: 24.47 MB / 0.6903 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004193/1.501, allocations: 77.84 kB / 0.6904 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004049/1.505, allocations: 369.8 kB / 0.6907 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006717/1.512, allocations: 4.546 MB / 0.6952 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04406/1.556, allocations: 19.2 MB / 0.7139 GB, free: 7.84 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.152/1.708, allocations: 85.84 MB / 0.7977 GB, free: 1.32 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02309/1.731, allocations: 7.755 MB / 0.8053 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006045/1.737, allocations: 3.118 MB / 0.8084 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03025/1.767, allocations: 13.1 MB / 0.8212 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/1.767, allocations: 75.31 kB / 0.8212 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 6.543e-06/1.767, allocations: 0 / 0.8212 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.07045/1.838, allocations: 20.51 MB / 0.8413 GB, free: 4.285 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/1.838, allocations: 173.4 kB / 0.8414 GB, free: 4.086 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02278/1.861, allocations: 7.407 MB / 0.8487 GB, free: 12.72 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001418/1.862, allocations: 84.28 kB / 0.8487 GB, free: 12.63 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.009858/1.872, allocations: 6.759 MB / 0.8553 GB, free: 5.895 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002577/1.875, allocations: 1.36 MB / 0.8567 GB, free: 4.547 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009062/1.884, allocations: 2.203 MB / 0.8588 GB, free: 2.34 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.884, allocations: 301.1 kB / 0.8591 GB, free: 2.043 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.27/2.154, allocations: 3.306 MB / 0.8623 GB, free: 293.3 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009697/2.164, allocations: 9.932 MB / 0.872 GB, free: 284.8 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/2.182, allocations: 14.4 MB / 0.8861 GB, free: 273.5 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004311/2.182, allocations: 65.78 kB / 0.8862 GB, free: 273.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03461/2.217, allocations: 12.94 MB / 0.8988 GB, free: 268.8 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002615/2.217, allocations: 104.8 kB / 0.8989 GB, free: 268.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004512/2.218, allocations: 233 kB / 0.8991 GB, free: 268.8 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/2.218, allocations: 310.2 kB / 0.8994 GB, free: 268.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009949/2.228, allocations: 2.58 MB / 0.9019 GB, free: 268.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006941/2.229, allocations: 461.4 kB / 0.9024 GB, free: 268.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.239, allocations: 0.5182 MB / 0.9029 GB, free: 268.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003629/2.243, allocations: 0.6667 MB / 0.9035 GB, free: 268.2 MB / 0.6388 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.01523/2.258, allocations: 4.528 MB / 0.908 GB, free: 266.3 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/2.26, allocations: 0.656 MB / 0.9086 GB, free: 266.3 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/2.271, allocations: 4.105 MB / 0.9126 GB, free: 264.6 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/2.271, allocations: 38.27 kB / 0.9126 GB, free: 264.6 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/2.271, allocations: 3.75 kB / 0.9126 GB, free: 264.6 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/2.271, allocations: 19.42 kB / 0.9127 GB, free: 264.6 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06889/2.34, allocations: 49.26 MB / 0.9608 GB, free: 229.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001178/2.34, allocations: 72 kB / 0.9608 GB, free: 229.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003145/2.343, allocations: 0.7446 MB / 0.9616 GB, free: 229 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.93e-05/2.343, allocations: 99.39 kB / 0.9617 GB, free: 228.9 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005582/2.344, allocations: 168.5 kB / 0.9618 GB, free: 228.8 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-05/2.344, allocations: 143.4 kB / 0.962 GB, free: 228.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.525e-05/2.344, allocations: 119.4 kB / 0.9621 GB, free: 228.5 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008738/2.352, allocations: 7.344 MB / 0.9693 GB, free: 220.3 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/2.355, allocations: 0.7818 MB / 0.97 GB, free: 219.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.357, allocations: 167.9 kB / 0.9702 GB, free: 219.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00412/2.361, allocations: 209.2 kB / 0.9704 GB, free: 219.1 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005832/2.361, allocations: 0.4901 MB / 0.9709 GB, free: 218.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/2.362, allocations: 213.8 kB / 0.9711 GB, free: 218.4 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007962/2.37, allocations: 4.614 MB / 0.9756 GB, free: 213.8 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8.52e-07/2.37, allocations: 0 / 0.9756 GB, free: 213.8 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01439/2.384, allocations: 1.893 MB / 0.9774 GB, free: 212 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.001571/2.386, allocations: 372.8 kB / 0.9778 GB, free: 211.6 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.401, allocations: 8.045 MB / 0.9856 GB, free: 203.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 0.0001343/2.401, allocations: 10 kB / 0.9856 GB, free: 203.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/2.405, allocations: 2.148 MB / 0.9877 GB, free: 201.5 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/2.416, allocations: 1.112 MB / 0.9888 GB, free: 200.4 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04853/2.464, allocations: 27.07 MB / 1.015 GB, free: 172.3 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01463/2.479, allocations: 6.934 MB / 1.022 GB, free: 165.3 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01121/2.49, allocations: 3.301 MB / 1.025 GB, free: 162 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/2.492, allocations: 499.3 kB / 1.026 GB, free: 161.5 MB / 0.6388 GB Notification: Performance of SimCode: time 1.493e-06/2.492, allocations: 4 kB / 1.026 GB, free: 161.5 MB / 0.6388 GB Notification: Performance of Templates: time 0.1134/2.605, allocations: 60.14 MB / 1.084 GB, free: 101.5 MB / 0.6388 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)