Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007561/0.007561, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001357/0.001357, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1921/0.1921, allocations: 38 MB / 307.9 MB, free: 5.988 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.001516/0.001516, allocations: 68.56 kB / 433 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 56.46 MB / 489.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0182/0.1366, allocations: 17.04 MB / 0.4946 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1494, allocations: 5.307 MB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004343/0.1538, allocations: 127.6 kB / 0.4999 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.1655, allocations: 6.071 MB / 0.5059 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.1756, allocations: 3.093 MB / 0.5089 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.1805, allocations: 1.568 MB / 0.5104 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.2806/0.4612, allocations: 8.184 MB / 0.5184 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/0.4757, allocations: 7.64 MB / 0.5259 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009165/0.4849, allocations: 3.214 MB / 0.529 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.4961, allocations: 4.202 MB / 0.5331 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004859/0.501, allocations: 0.6423 MB / 0.5337 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009713/0.5107, allocations: 1.459 MB / 0.5352 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008691/0.5195, allocations: 3.85 MB / 0.5389 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01264/0.5322, allocations: 4.32 MB / 0.5431 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.5527, allocations: 13.07 MB / 0.5559 GB, free: 8.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.5528, allocations: 0 / 0.5559 GB, free: 8.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5528, allocations: 1.781 kB / 0.5559 GB, free: 8.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000536/0.5533, allocations: 0 / 0.5559 GB, free: 8.578 MB / 414.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.02279/0.5761, allocations: 9.25 MB / 0.5649 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.5762, allocations: 19.88 kB / 0.565 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.5881, allocations: 2.665 MB / 0.5676 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.5992, allocations: 5.058 MB / 0.5725 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/0.5997, allocations: 471.8 kB / 0.5729 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.6024, allocations: 0.5995 MB / 0.5735 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/0.6382, allocations: 18.72 MB / 0.5918 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.6384, allocations: 75.62 kB / 0.5919 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.6394, allocations: 286.6 kB / 0.5922 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005028/0.6445, allocations: 3.448 MB / 0.5955 GB, free: 252 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.6761, allocations: 14.61 MB / 0.6098 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09945/0.7756, allocations: 70.18 MB / 0.6783 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/0.7931, allocations: 6.133 MB / 0.6843 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/0.7969, allocations: 2.459 MB / 0.6867 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01949/0.8164, allocations: 10.82 MB / 0.6973 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.8165, allocations: 56.56 kB / 0.6973 GB, free: 6.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 6.042e-06/0.8165, allocations: 0 / 0.6973 GB, free: 6.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.04213/0.8586, allocations: 15.87 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.8587, allocations: 162.5 kB / 0.713 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009301/0.868, allocations: 6.638 MB / 0.7195 GB, free: 120 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000499/0.8686, allocations: 69.06 kB / 0.7195 GB, free: 48 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004081/0.8727, allocations: 5.536 MB / 0.7249 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/0.874, allocations: 1.009 MB / 0.7259 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002564/0.8766, allocations: 1.835 MB / 0.7277 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8767, allocations: 301.1 kB / 0.728 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/0.8812, allocations: 2.653 MB / 0.7306 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.336/1.217, allocations: 8.373 MB / 0.7388 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/1.234, allocations: 11.99 MB / 0.7505 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004172/1.235, allocations: 57.16 kB / 0.7505 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.03062/1.265, allocations: 10.71 MB / 0.761 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/1.266, allocations: 94.25 kB / 0.7611 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005123/1.266, allocations: 205 kB / 0.7613 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/1.267, allocations: 267.4 kB / 0.7616 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008785/1.276, allocations: 2.142 MB / 0.7636 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/1.276, allocations: 403 kB / 0.764 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009539/1.286, allocations: 459.2 kB / 0.7645 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/1.288, allocations: 0.5563 MB / 0.765 GB, free: 171.8 MB / 0.5762 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.01115/1.299, allocations: 3.63 MB / 0.7686 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.301, allocations: 0.5716 MB / 0.7691 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/1.307, allocations: 2.795 MB / 0.7718 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-05/1.308, allocations: 28.55 kB / 0.7719 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.308, allocations: 3.625 kB / 0.7719 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/1.308, allocations: 10.5 kB / 0.7719 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03998/1.348, allocations: 26.56 MB / 0.7978 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.444e-05/1.348, allocations: 52 kB / 0.7979 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.349, allocations: 0.5269 MB / 0.7984 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-05/1.349, allocations: 68 kB / 0.7984 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/1.35, allocations: 123.8 kB / 0.7986 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-05/1.35, allocations: 99.17 kB / 0.7987 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.458e-05/1.35, allocations: 91.56 kB / 0.7987 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/1.355, allocations: 5.236 MB / 0.8039 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.357, allocations: 0.6714 MB / 0.8045 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006427/1.358, allocations: 132.3 kB / 0.8046 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.36, allocations: 135.3 kB / 0.8048 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/1.361, allocations: 365.5 kB / 0.8051 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.361, allocations: 147.3 kB / 0.8053 GB, free: 148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00703/1.368, allocations: 4.148 MB / 0.8093 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.62e-07/1.368, allocations: 4 kB / 0.8093 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01314/1.381, allocations: 1.506 MB / 0.8108 GB, free: 142.7 MB / 0.5762 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.001573/1.383, allocations: 301.5 kB / 0.8111 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.395, allocations: 6.283 MB / 0.8172 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.12e-05/1.395, allocations: 8 kB / 0.8172 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/1.397, allocations: 1.492 MB / 0.8187 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007023/1.404, allocations: 0.9359 MB / 0.8196 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/1.436, allocations: 16.96 MB / 0.8362 GB, free: 116 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008346/1.445, allocations: 5.578 MB / 0.8416 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006603/1.451, allocations: 2.773 MB / 0.8443 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.453, allocations: 399.4 kB / 0.8447 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/1.453, allocations: 0 / 0.8447 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.08492/1.537, allocations: 43.79 MB / 0.8875 GB, free: 63.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)