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.007833/0.007833, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001321/0.001321, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.732/1.732, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3673/0.3673, allocations: 39.95 MB / 309.8 MB, free: 9.34 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.001667/0.001668, allocations: 76.36 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4311, allocations: 56.87 MB / 492.6 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01748/0.4486, allocations: 12.61 MB / 0.4934 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009875/0.4585, allocations: 3.362 MB / 0.4967 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/0.463, allocations: 66.25 kB / 0.4968 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006563/0.4697, allocations: 2.646 MB / 0.4993 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.4756, allocations: 1.363 MB / 0.5007 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.4773, allocations: 349.4 kB / 0.501 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007091/0.4844, allocations: 2.875 MB / 0.5038 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006445/0.4909, allocations: 3.16 MB / 0.5069 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.4947, allocations: 1.19 MB / 0.5081 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.4986, allocations: 1.637 MB / 0.5097 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.5002, allocations: 295.4 kB / 0.5099 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.5028, allocations: 0.7697 MB / 0.5107 GB, free: 352 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.5054, allocations: 1.572 MB / 0.5122 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.5081, allocations: 1.83 MB / 0.514 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009095/0.5172, allocations: 5.998 MB / 0.5199 GB, free: 8.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.5173, allocations: 3.984 kB / 0.5199 GB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5173, allocations: 0 / 0.5199 GB, free: 8.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002264/0.5175, allocations: 8 kB / 0.5199 GB, free: 8.547 MB / 398.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.008908/0.5265, allocations: 3.736 MB / 0.5235 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5265, allocations: 11.89 kB / 0.5235 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005989/0.5325, allocations: 1.712 MB / 0.5252 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.5365, allocations: 1.66 MB / 0.5268 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5367, allocations: 213.1 kB / 0.527 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004567/0.5372, allocations: 263.9 kB / 0.5273 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.5513, allocations: 8.362 MB / 0.5355 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.5514, allocations: 15.81 kB / 0.5355 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.5517, allocations: 131.8 kB / 0.5356 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/0.5546, allocations: 1.76 MB / 0.5373 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.5726, allocations: 7.038 MB / 0.5442 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05037/0.623, allocations: 25.71 MB / 0.5693 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/0.6293, allocations: 2.549 MB / 0.5718 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.6311, allocations: 0.9778 MB / 0.5727 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.6416, allocations: 4.439 MB / 0.5771 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.6417, allocations: 47.56 kB / 0.5771 GB, free: 12.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 4.739e-06/0.6417, allocations: 0 / 0.5771 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.00791/0.6497, allocations: 2.723 MB / 0.5798 GB, free: 9.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.6497, allocations: 60.41 kB / 0.5798 GB, free: 9.711 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/0.6553, allocations: 2.265 MB / 0.5821 GB, free: 7.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.6555, allocations: 37.7 kB / 0.5821 GB, free: 7.363 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.6576, allocations: 2.318 MB / 0.5843 GB, free: 5.012 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.6583, allocations: 466 kB / 0.5848 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.6598, allocations: 0.7421 MB / 0.5855 GB, free: 3.801 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6599, allocations: 309.1 kB / 0.5858 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.662, allocations: 1.124 MB / 0.5869 GB, free: 2.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.666, allocations: 3.279 MB / 0.5901 GB, free: 14.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007056/0.6731, allocations: 4.823 MB / 0.5948 GB, free: 8.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.6733, allocations: 20 kB / 0.5948 GB, free: 8.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01005/0.6833, allocations: 4.321 MB / 0.5991 GB, free: 3.785 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.6834, allocations: 36.81 kB / 0.5991 GB, free: 3.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.6836, allocations: 80 kB / 0.5992 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.6838, allocations: 103.9 kB / 0.5993 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/0.6869, allocations: 0.8188 MB / 0.6001 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002349/0.6872, allocations: 147.4 kB / 0.6002 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.6908, allocations: 0.4947 MB / 0.6007 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000649/0.6915, allocations: 223.9 kB / 0.6009 GB, free: 1.887 MB / 478.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.004613/0.6961, allocations: 1.706 MB / 0.6026 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007006/0.6968, allocations: 201.5 kB / 0.6028 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.7008, allocations: 1.522 MB / 0.6043 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.7009, allocations: 12 kB / 0.6043 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.7009, allocations: 3.984 kB / 0.6043 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.701, allocations: 3.984 kB / 0.6043 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/0.7197, allocations: 7.37 MB / 0.6115 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.933e-05/0.7198, allocations: 12 kB / 0.6115 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/0.7207, allocations: 199.8 kB / 0.6117 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.759e-05/0.7207, allocations: 16 kB / 0.6117 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.7209, allocations: 39.98 kB / 0.6117 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.719e-05/0.7209, allocations: 39.73 kB / 0.6118 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-05/0.7209, allocations: 19.94 kB / 0.6118 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.7247, allocations: 1.993 MB / 0.6137 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.7259, allocations: 318 kB / 0.614 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/0.7266, allocations: 43.98 kB / 0.6141 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.7279, allocations: 59.8 kB / 0.6141 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.7281, allocations: 107.5 kB / 0.6142 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.7283, allocations: 51.98 kB / 0.6143 GB, free: 3.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003562/0.7318, allocations: 1.578 MB / 0.6158 GB, free: 2.074 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7318, allocations: 0 / 0.6158 GB, free: 2.074 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004527/0.7364, allocations: 0.9291 MB / 0.6167 GB, free: 1.141 MB / 494.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.0004877/0.7369, allocations: 170.8 kB / 0.6169 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005538/0.7424, allocations: 2.652 MB / 0.6195 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.7425, allocations: 4.125 kB / 0.6195 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.7437, allocations: 0.6976 MB / 0.6202 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.7465, allocations: 331.8 kB / 0.6205 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/0.7659, allocations: 6.927 MB / 0.6273 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006185/0.7721, allocations: 2.82 MB / 0.63 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003721/0.7759, allocations: 1.175 MB / 0.6312 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/0.7767, allocations: 159.4 kB / 0.6313 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.7767, allocations: 0 / 0.6313 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.3677/1.144, allocations: 18.76 MB / 0.6496 GB, free: 120.8 MB / 0.4981 GB 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)