Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001235/0.001235, 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.001341/0.001341, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.693/1.693, allocations: 205.1 MB / 222 MB, free: 4.766 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.428/0.428, allocations: 39.93 MB / 309.3 MB, free: 9.355 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.001474/0.001474, allocations: 62.42 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 56.89 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4052/0.5592, allocations: 133.1 MB / 0.5537 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.08863/0.6479, allocations: 24.66 MB / 0.5777 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04035/0.6883, allocations: 0.5651 MB / 0.5783 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01636/0.7047, allocations: 7.676 MB / 0.5858 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.7182, allocations: 3.472 MB / 0.5892 GB, free: 9.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.7232, allocations: 1.615 MB / 0.5908 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01871/0.7419, allocations: 14.21 MB / 0.6046 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01801/0.76, allocations: 9.415 MB / 0.6138 GB, free: 300 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/0.772, allocations: 3.524 MB / 0.6173 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.7839, allocations: 5.624 MB / 0.6228 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004826/0.7888, allocations: 0.6328 MB / 0.6234 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006402/0.7952, allocations: 1.51 MB / 0.6249 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008076/0.8033, allocations: 4.699 MB / 0.6294 GB, free: 268 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4264/1.23, allocations: 5.28 MB / 0.6346 GB, free: 17.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02421/1.254, allocations: 16.19 MB / 0.6504 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/1.254, allocations: 0 / 0.6504 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.355e-06/1.254, allocations: 2 kB / 0.6504 GB, free: 15.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009202/1.255, allocations: 0 / 0.6504 GB, free: 15.55 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.0447/1.3, allocations: 11.36 MB / 0.6615 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/1.3, allocations: 9.062 kB / 0.6615 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01825/1.318, allocations: 3.023 MB / 0.6645 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/1.334, allocations: 5.696 MB / 0.67 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009655/1.335, allocations: 0.6008 MB / 0.6706 GB, free: 9.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005588/1.341, allocations: 0.7622 MB / 0.6714 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06147/1.403, allocations: 24.47 MB / 0.6953 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000431/1.403, allocations: 84.86 kB / 0.6953 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004257/1.407, allocations: 365 kB / 0.6957 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006883/1.414, allocations: 4.544 MB / 0.7001 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04537/1.46, allocations: 19.21 MB / 0.7189 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1436/1.603, allocations: 85.84 MB / 0.8027 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.626, allocations: 7.759 MB / 0.8103 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006227/1.632, allocations: 3.122 MB / 0.8133 GB, free: 140 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/1.663, allocations: 13.1 MB / 0.8261 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/1.663, allocations: 80.12 kB / 0.8262 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 6.432e-06/1.663, allocations: 3.938 kB / 0.8262 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=360): time 0.0615/1.724, allocations: 20.5 MB / 0.8462 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.725, allocations: 166.9 kB / 0.8464 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01352/1.738, allocations: 7.415 MB / 0.8536 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.739, allocations: 80.44 kB / 0.8537 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.309/2.048, allocations: 6.76 MB / 0.8603 GB, free: 292.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00216/2.05, allocations: 1.358 MB / 0.8616 GB, free: 292.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004388/2.055, allocations: 2.192 MB / 0.8638 GB, free: 292.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/2.055, allocations: 301.9 kB / 0.8641 GB, free: 292.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006135/2.061, allocations: 3.315 MB / 0.8673 GB, free: 292.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/2.073, allocations: 9.934 MB / 0.877 GB, free: 283.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02169/2.095, allocations: 14.4 MB / 0.8911 GB, free: 271.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000687/2.096, allocations: 67.53 kB / 0.8911 GB, free: 271.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03481/2.131, allocations: 12.94 MB / 0.9038 GB, free: 266.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002723/2.131, allocations: 107.7 kB / 0.9039 GB, free: 266.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005121/2.131, allocations: 232.7 kB / 0.9041 GB, free: 266.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/2.132, allocations: 310.2 kB / 0.9044 GB, free: 266.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/2.142, allocations: 2.588 MB / 0.9069 GB, free: 266.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005363/2.143, allocations: 455.1 kB / 0.9073 GB, free: 266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/2.154, allocations: 0.5244 MB / 0.9079 GB, free: 265.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003344/2.157, allocations: 0.6606 MB / 0.9085 GB, free: 265.7 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 (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.01253/2.17, allocations: 4.537 MB / 0.9129 GB, free: 263.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/2.171, allocations: 0.6559 MB / 0.9136 GB, free: 263.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008064/2.179, allocations: 4.097 MB / 0.9176 GB, free: 261.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-05/2.18, allocations: 36.12 kB / 0.9176 GB, free: 261.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/2.18, allocations: 7.656 kB / 0.9176 GB, free: 261.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/2.18, allocations: 15.94 kB / 0.9176 GB, free: 261.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06638/2.246, allocations: 49.27 MB / 0.9657 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001501/2.246, allocations: 72 kB / 0.9658 GB, free: 222.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/2.249, allocations: 0.7446 MB / 0.9665 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/2.249, allocations: 99.94 kB / 0.9666 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/2.249, allocations: 167.1 kB / 0.9668 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.486e-05/2.25, allocations: 143.4 kB / 0.9669 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.287e-05/2.25, allocations: 115.8 kB / 0.967 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/2.257, allocations: 7.345 MB / 0.9742 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/2.259, allocations: 0.7812 MB / 0.975 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/2.261, allocations: 175.9 kB / 0.9751 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003919/2.265, allocations: 207.9 kB / 0.9753 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005472/2.265, allocations: 494.9 kB / 0.9758 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002799/2.266, allocations: 212 kB / 0.976 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008361/2.274, allocations: 4.611 MB / 0.9805 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.81e-07/2.274, allocations: 5.422 kB / 0.9805 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.013/2.287, allocations: 1.887 MB / 0.9824 GB, free: 204 MB / 0.6387 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.00129/2.288, allocations: 369.7 kB / 0.9827 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0137/2.302, allocations: 7.773 MB / 0.9903 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.616e-05/2.302, allocations: 8 kB / 0.9903 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003611/2.306, allocations: 2.15 MB / 0.9924 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0098/2.316, allocations: 1.074 MB / 0.9935 GB, free: 192.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/2.358, allocations: 27.06 MB / 1.02 GB, free: 164.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01481/2.373, allocations: 6.931 MB / 1.027 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.009772/2.383, allocations: 3.304 MB / 1.03 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/2.385, allocations: 499.3 kB / 1.03 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.062e-06/2.385, allocations: 0 / 1.03 GB, free: 153.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.1071/2.492, allocations: 58.03 MB / 1.087 GB, free: 95.98 MB / 0.6387 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)