Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007026/0.007026, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.47/1.47, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.2951/0.2951, allocations: 38.03 MB / 308.8 MB, free: 10.36 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.0005641/0.0005642, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 57.52 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2885/0.4167, allocations: 37.42 MB / 472 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01822/0.435, allocations: 7.605 MB / 479.6 MB, free: 29.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.4455, allocations: 158.6 kB / 479.7 MB, free: 29.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.4469, allocations: 302.5 kB / 480 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.4506, allocations: 1.13 MB / 481.2 MB, free: 29.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009372/0.4516, allocations: 260.6 kB / 481.4 MB, free: 28.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.4554, allocations: 3.579 MB / 485 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/0.4591, allocations: 3.379 MB / 488.4 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009423/0.46, allocations: 0.6871 MB / 489.1 MB, free: 26.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.4612, allocations: 1.146 MB / 490.2 MB, free: 25.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.4614, allocations: 94.72 kB / 490.3 MB, free: 25.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009745/0.4624, allocations: 0.6328 MB / 490.9 MB, free: 25.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007701/0.4632, allocations: 1.081 MB / 492 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008728/0.4641, allocations: 1.295 MB / 493.3 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.4676, allocations: 4.346 MB / 497.7 MB, free: 23.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4676, allocations: 3.031 kB / 497.7 MB, free: 23.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4676, allocations: 4.562 kB / 497.7 MB, free: 23.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-05/0.4677, allocations: 0 / 497.7 MB, free: 23.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.004893/0.4726, allocations: 2.533 MB / 0.4885 GB, free: 21.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.4727, allocations: 10.53 kB / 0.4885 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006529/0.4792, allocations: 1.651 MB / 0.4901 GB, free: 21.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.4825, allocations: 1.386 MB / 0.4915 GB, free: 20.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.4826, allocations: 160.8 kB / 0.4916 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004188/0.4831, allocations: 201.6 kB / 0.4918 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.4969, allocations: 6.785 MB / 0.4984 GB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.782e-05/0.497, allocations: 13.72 kB / 0.4984 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.4973, allocations: 100.3 kB / 0.4985 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00296/0.5002, allocations: 1.476 MB / 0.5 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.5153, allocations: 5.807 MB / 0.5056 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.5457, allocations: 21.6 MB / 0.5267 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/0.5507, allocations: 2.251 MB / 0.5289 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.552, allocations: 0.7893 MB / 0.5297 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007256/0.5592, allocations: 3.743 MB / 0.5334 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.5593, allocations: 43.06 kB / 0.5334 GB, free: 5.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.747e-06/0.5593, allocations: 0 / 0.5334 GB, free: 5.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005735/0.5651, allocations: 2.201 MB / 0.5356 GB, free: 3.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.5652, allocations: 59.91 kB / 0.5356 GB, free: 3.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/0.5702, allocations: 2.016 MB / 0.5376 GB, free: 1.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5703, allocations: 45.67 kB / 0.5376 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/0.5724, allocations: 1.949 MB / 0.5395 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.573, allocations: 371.3 kB / 0.5399 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/0.5736, allocations: 288.7 kB / 0.5402 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5738, allocations: 357.9 kB / 0.5405 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.5755, allocations: 0.9744 MB / 0.5415 GB, free: 13.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/0.5788, allocations: 2.918 MB / 0.5443 GB, free: 9.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005491/0.5843, allocations: 4.247 MB / 0.5484 GB, free: 4.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.5845, allocations: 20 kB / 0.5485 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007177/0.5917, allocations: 3.776 MB / 0.5522 GB, free: 420 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.5918, allocations: 36 kB / 0.5522 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.5919, allocations: 68.88 kB / 0.5523 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.592, allocations: 95.94 kB / 0.5523 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.5943, allocations: 0.7135 MB / 0.553 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/0.5944, allocations: 135.5 kB / 0.5532 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.597, allocations: 451.2 kB / 0.5536 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.5974, allocations: 204 kB / 0.5538 GB, free: 14.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (391): * Single equations (assignments): 386 * 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.002661/0.6001, allocations: 1.431 MB / 0.5552 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.6004, allocations: 169.8 kB / 0.5554 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.6025, allocations: 1.197 MB / 0.5565 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.6026, allocations: 12 kB / 0.5565 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6026, allocations: 0 / 0.5565 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6026, allocations: 7.984 kB / 0.5565 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008926/0.6115, allocations: 4.975 MB / 0.5614 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/0.6116, allocations: 8 kB / 0.5614 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.6122, allocations: 135.7 kB / 0.5615 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/0.6122, allocations: 15.94 kB / 0.5616 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.6123, allocations: 31.98 kB / 0.5616 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/0.6123, allocations: 15.94 kB / 0.5616 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.6123, allocations: 15.94 kB / 0.5616 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.6144, allocations: 1.505 MB / 0.5631 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.615, allocations: 274.5 kB / 0.5633 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/0.6155, allocations: 31.92 kB / 0.5634 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.6162, allocations: 35.97 kB / 0.5634 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6163, allocations: 71.69 kB / 0.5635 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.6164, allocations: 40 kB / 0.5635 GB, free: 4.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.6184, allocations: 1.32 MB / 0.5648 GB, free: 3.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6184, allocations: 7.938 kB / 0.5648 GB, free: 3.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003108/0.6215, allocations: 0.7543 MB / 0.5656 GB, free: 2.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003537/0.6219, allocations: 147.2 kB / 0.5657 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.6254, allocations: 2.236 MB / 0.5679 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.6254, allocations: 0 / 0.5679 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.6261, allocations: 0.5339 MB / 0.5684 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.6299, allocations: 255.5 kB / 0.5686 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.6416, allocations: 7.038 MB / 0.5755 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/0.645, allocations: 2.401 MB / 0.5779 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002875/0.6479, allocations: 1.02 MB / 0.5789 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.6483, allocations: 127.4 kB / 0.579 GB, free: 4.363 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6483, allocations: 0 / 0.579 GB, free: 4.363 MB / 446.1 MB Notification: Performance of Templates: time 0.0329/0.6812, allocations: 14.95 MB / 0.5936 GB, free: 5.441 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) Environment - environmentSimulation: