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.007883/0.007883, allocations: 99.88 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.001791/0.001791, 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.51/1.51, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.3017/0.3017, allocations: 38 MB / 307.9 MB, free: 10.23 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.001638/0.001638, allocations: 67.91 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3824, allocations: 56.46 MB / 489.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01906/0.4016, allocations: 17.05 MB / 0.4946 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.417, allocations: 5.305 MB / 0.4998 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005889/0.423, allocations: 125.2 kB / 0.4999 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.4356, allocations: 6.074 MB / 0.5059 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.4492, allocations: 3.083 MB / 0.5089 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005379/0.4546, allocations: 1.574 MB / 0.5104 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01995/0.4746, allocations: 8.195 MB / 0.5184 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.4889, allocations: 7.643 MB / 0.5259 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007328/0.4963, allocations: 3.182 MB / 0.529 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007284/0.5036, allocations: 4.218 MB / 0.5331 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00252/0.5062, allocations: 0.6445 MB / 0.5337 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004917/0.5111, allocations: 1.463 MB / 0.5352 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005915/0.5171, allocations: 3.92 MB / 0.539 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009545/0.5267, allocations: 4.284 MB / 0.5432 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.5478, allocations: 13.08 MB / 0.5559 GB, free: 3.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.5478, allocations: 0 / 0.5559 GB, free: 3.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.5478, allocations: 3.938 kB / 0.5559 GB, free: 3.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006843/0.5485, allocations: 0 / 0.5559 GB, free: 3.434 MB / 430.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.02814/0.5767, allocations: 9.249 MB / 0.565 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.5768, allocations: 11.89 kB / 0.565 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.589, allocations: 2.665 MB / 0.5676 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.6027, allocations: 5.067 MB / 0.5725 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006344/0.6034, allocations: 475.5 kB / 0.573 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/0.6064, allocations: 0.5933 MB / 0.5736 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0469/0.6533, allocations: 18.73 MB / 0.5919 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004126/0.6538, allocations: 75.34 kB / 0.5919 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003556/0.6574, allocations: 283.7 kB / 0.5922 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006378/0.6638, allocations: 3.441 MB / 0.5956 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03943/0.7032, allocations: 14.62 MB / 0.6098 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7349/1.438, allocations: 70.16 MB / 0.6784 GB, free: 72.3 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0194/1.458, allocations: 6.123 MB / 0.6843 GB, free: 70.39 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/1.463, allocations: 2.452 MB / 0.6867 GB, free: 69.5 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02453/1.488, allocations: 10.85 MB / 0.6973 GB, free: 63.96 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.488, allocations: 58.19 kB / 0.6974 GB, free: 63.91 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=238): time 6.592e-06/1.488, allocations: 0 / 0.6974 GB, free: 63.91 MB / 0.4982 GB Notification: Performance of matching and sorting (n=262): time 0.03911/1.527, allocations: 15.86 MB / 0.7129 GB, free: 56.02 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/1.527, allocations: 157 kB / 0.713 GB, free: 55.85 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/1.538, allocations: 6.639 MB / 0.7195 GB, free: 52.48 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006892/1.539, allocations: 67.55 kB / 0.7196 GB, free: 52.42 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.542, allocations: 5.536 MB / 0.725 GB, free: 47.6 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.543, allocations: 1.009 MB / 0.726 GB, free: 46.75 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002578/1.546, allocations: 1.836 MB / 0.7278 GB, free: 45.71 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/1.546, allocations: 309 kB / 0.728 GB, free: 45.41 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/1.55, allocations: 2.652 MB / 0.7306 GB, free: 44.17 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006375/1.556, allocations: 8.377 MB / 0.7388 GB, free: 34.89 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.57, allocations: 12 MB / 0.7505 GB, free: 20.35 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003074/1.571, allocations: 63.94 kB / 0.7506 GB, free: 20.29 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02238/1.593, allocations: 10.71 MB / 0.7611 GB, free: 9.574 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002647/1.593, allocations: 92 kB / 0.7611 GB, free: 9.484 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003582/1.594, allocations: 204 kB / 0.7613 GB, free: 9.285 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/1.594, allocations: 268 kB / 0.7616 GB, free: 9.023 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007388/1.601, allocations: 2.137 MB / 0.7637 GB, free: 6.883 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/1.602, allocations: 402.5 kB / 0.7641 GB, free: 6.488 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008115/1.61, allocations: 451.4 kB / 0.7645 GB, free: 6.051 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/1.612, allocations: 0.5586 MB / 0.765 GB, free: 5.492 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.009027/1.621, allocations: 3.627 MB / 0.7686 GB, free: 1.848 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/1.623, allocations: 0.5668 MB / 0.7691 GB, free: 1.273 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007352/1.63, allocations: 2.798 MB / 0.7719 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.005e-05/1.631, allocations: 28 kB / 0.7719 GB, free: 14.43 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/1.631, allocations: 4.125 kB / 0.7719 GB, free: 14.43 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/1.631, allocations: 11.95 kB / 0.7719 GB, free: 14.41 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05147/1.682, allocations: 26.57 MB / 0.7979 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002317/1.682, allocations: 55.98 kB / 0.7979 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.685, allocations: 0.5185 MB / 0.7984 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.851e-05/1.685, allocations: 72 kB / 0.7985 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005186/1.685, allocations: 120 kB / 0.7986 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.268e-05/1.686, allocations: 100.1 kB / 0.7987 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.14e-05/1.686, allocations: 91.67 kB / 0.7988 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008033/1.694, allocations: 5.236 MB / 0.8039 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/1.696, allocations: 0.673 MB / 0.8046 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.698, allocations: 127.2 kB / 0.8047 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.701, allocations: 137.5 kB / 0.8048 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/1.702, allocations: 362.3 kB / 0.8052 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.702, allocations: 148 kB / 0.8053 GB, free: 10.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008655/1.711, allocations: 4.146 MB / 0.8093 GB, free: 6.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/1.711, allocations: 0 / 0.8093 GB, free: 6.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01173/1.723, allocations: 1.514 MB / 0.8108 GB, free: 4.988 MB / 0.545 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.0009032/1.724, allocations: 296.4 kB / 0.8111 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.735, allocations: 6.287 MB / 0.8172 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.264e-05/1.735, allocations: 10 kB / 0.8173 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/1.737, allocations: 1.495 MB / 0.8187 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006706/1.744, allocations: 0.9216 MB / 0.8196 GB, free: 12.05 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/1.779, allocations: 16.96 MB / 0.8362 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/1.791, allocations: 5.572 MB / 0.8416 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0082/1.799, allocations: 2.784 MB / 0.8443 GB, free: 1.922 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/1.801, allocations: 399.4 kB / 0.8447 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of SimCode: time 1.493e-06/1.801, allocations: 0 / 0.8447 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of Templates: time 0.4325/2.234, allocations: 43.34 MB / 0.887 GB, free: 185.7 MB / 0.5919 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)