Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01033/0.01033, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.708/1.708, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4373/0.4373, allocations: 40 MB / 310.7 MB, free: 9.844 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.0006795/0.0006796, allocations: 16 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.148, allocations: 57.96 MB / 437.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3588/0.5069, allocations: 98.65 MB / 0.5235 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06142/0.5684, allocations: 19.07 MB / 0.5421 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03616/0.6046, allocations: 443.9 kB / 0.5425 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.6092, allocations: 0.7076 MB / 0.5432 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.621, allocations: 2.928 MB / 0.5461 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.6251, allocations: 1.249 MB / 0.5473 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01859/0.6437, allocations: 11.91 MB / 0.5589 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01935/0.6631, allocations: 10.6 MB / 0.5693 GB, free: 464 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007246/0.6704, allocations: 2.416 MB / 0.5717 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007629/0.6781, allocations: 3.874 MB / 0.5754 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.6802, allocations: 284 kB / 0.5757 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/0.6848, allocations: 1.178 MB / 0.5769 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006425/0.6912, allocations: 3.448 MB / 0.5802 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00964/0.7009, allocations: 3.789 MB / 0.5839 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.7218, allocations: 12.1 MB / 0.5957 GB, free: 5.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7219, allocations: 0 / 0.5957 GB, free: 5.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.7219, allocations: 0 / 0.5957 GB, free: 5.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006819/0.7226, allocations: 0 / 0.5957 GB, free: 5.266 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02194/0.7445, allocations: 7.588 MB / 0.6031 GB, free: 13.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.7446, allocations: 12.03 kB / 0.6032 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.7574, allocations: 2.723 MB / 0.6058 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.7699, allocations: 4.962 MB / 0.6107 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006346/0.7706, allocations: 463.9 kB / 0.6111 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/0.7739, allocations: 0.5933 MB / 0.6117 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04463/0.8185, allocations: 18.77 MB / 0.63 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005001/0.8191, allocations: 83.23 kB / 0.6301 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003017/0.8221, allocations: 291.7 kB / 0.6304 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4868/1.309, allocations: 3.44 MB / 0.6337 GB, free: 140.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03239/1.341, allocations: 14.65 MB / 0.648 GB, free: 138.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/1.459, allocations: 70.44 MB / 0.7168 GB, free: 89.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/1.475, allocations: 6.146 MB / 0.7228 GB, free: 83.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004015/1.479, allocations: 2.449 MB / 0.7252 GB, free: 81.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.5, allocations: 10.83 MB / 0.7358 GB, free: 69.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/1.5, allocations: 68.55 kB / 0.7359 GB, free: 69.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 8.997e-06/1.5, allocations: 4 kB / 0.7359 GB, free: 69.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.04456/1.545, allocations: 15.91 MB / 0.7514 GB, free: 54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.545, allocations: 162.5 kB / 0.7516 GB, free: 53.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.556, allocations: 6.648 MB / 0.7581 GB, free: 47.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005774/1.557, allocations: 61.7 kB / 0.7581 GB, free: 47.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003802/1.561, allocations: 5.536 MB / 0.7635 GB, free: 41.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.562, allocations: 1.012 MB / 0.7645 GB, free: 40.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.563, allocations: 0.7951 MB / 0.7653 GB, free: 39.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/1.563, allocations: 301.1 kB / 0.7656 GB, free: 39.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/1.567, allocations: 2.657 MB / 0.7682 GB, free: 36.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006943/1.574, allocations: 8.381 MB / 0.7764 GB, free: 25.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/1.588, allocations: 11.99 MB / 0.7881 GB, free: 10.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003257/1.588, allocations: 56 kB / 0.7881 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02394/1.612, allocations: 10.71 MB / 0.7986 GB, free: 15.98 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/1.612, allocations: 96.06 kB / 0.7987 GB, free: 15.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004519/1.613, allocations: 200 kB / 0.7989 GB, free: 15.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/1.613, allocations: 271.9 kB / 0.7991 GB, free: 15.43 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/1.622, allocations: 2.144 MB / 0.8012 GB, free: 13.29 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004892/1.622, allocations: 398.5 kB / 0.8016 GB, free: 12.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007977/1.63, allocations: 457.5 kB / 0.802 GB, free: 12.45 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/1.632, allocations: 0.5574 MB / 0.8026 GB, free: 11.89 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 (1155): * Single equations (assignments): 1144 * 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.008415/1.64, allocations: 3.617 MB / 0.8061 GB, free: 8.262 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/1.642, allocations: 0.5668 MB / 0.8067 GB, free: 7.688 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/1.649, allocations: 2.798 MB / 0.8094 GB, free: 4.871 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.565e-05/1.649, allocations: 28 kB / 0.8094 GB, free: 4.844 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.649, allocations: 0 / 0.8094 GB, free: 4.844 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/1.649, allocations: 23.88 kB / 0.8094 GB, free: 4.82 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3736/2.023, allocations: 26.54 MB / 0.8354 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.898e-05/2.023, allocations: 54.84 kB / 0.8354 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/2.025, allocations: 0.5266 MB / 0.8359 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.317e-05/2.025, allocations: 66.22 kB / 0.836 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/2.025, allocations: 117.2 kB / 0.8361 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.974e-05/2.025, allocations: 106.8 kB / 0.8362 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.257e-05/2.025, allocations: 85.59 kB / 0.8363 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006028/2.031, allocations: 5.242 MB / 0.8414 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003186/2.034, allocations: 0.6778 MB / 0.8421 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/2.036, allocations: 128.4 kB / 0.8422 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/2.039, allocations: 145 kB / 0.8423 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/2.039, allocations: 364.6 kB / 0.8427 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/2.04, allocations: 144.6 kB / 0.8428 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008041/2.048, allocations: 4.154 MB / 0.8469 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.82e-07/2.048, allocations: 0 / 0.8469 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01157/2.059, allocations: 1.506 MB / 0.8483 GB, free: 148.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.001538/2.061, allocations: 299 kB / 0.8486 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01437/2.075, allocations: 6.153 MB / 0.8546 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.966e-05/2.075, allocations: 8.188 kB / 0.8546 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/2.079, allocations: 1.495 MB / 0.8561 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0549/2.134, allocations: 0.9153 MB / 0.857 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04266/2.176, allocations: 21.06 MB / 0.8776 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01254/2.189, allocations: 5.58 MB / 0.883 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01004/2.199, allocations: 2.775 MB / 0.8857 GB, free: 131 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/2.201, allocations: 400.4 kB / 0.8861 GB, free: 131 MB / 0.5138 GB Notification: Performance of SimCode: time 1.322e-06/2.201, allocations: 0 / 0.8861 GB, free: 131 MB / 0.5138 GB Notification: Performance of Templates: time 0.102/2.303, allocations: 46.87 MB / 0.9319 GB, free: 93.95 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) Environment - environmentSimulation: