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.001032/0.001032, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001164/0.001164, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.3547/0.3547, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0005627/0.0005627, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1566, allocations: 57.52 MB / 433.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2872/0.4439, allocations: 32.98 MB / 466.9 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01845/0.4624, allocations: 7.585 MB / 474.5 MB, free: 31.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00749/0.4699, allocations: 152.5 kB / 474.6 MB, free: 31.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005783/0.4758, allocations: 1.668 MB / 476.3 MB, free: 30.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01793/0.4937, allocations: 4.787 MB / 481.1 MB, free: 29.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.4954, allocations: 219.9 kB / 481.3 MB, free: 29.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4982, allocations: 1.345 MB / 482.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.5014, allocations: 2.99 MB / 485.6 MB, free: 28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.5021, allocations: 0.596 MB / 486.2 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.5028, allocations: 0.7618 MB / 487 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.503, allocations: 96.34 kB / 487.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008296/0.5038, allocations: 0.5163 MB / 487.6 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006066/0.5045, allocations: 0.9699 MB / 488.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.5048, allocations: 0.5513 MB / 489.1 MB, free: 26.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.5079, allocations: 3.616 MB / 492.8 MB, free: 25.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5079, allocations: 0 / 492.8 MB, free: 25.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5079, allocations: 0 / 492.8 MB, free: 25.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-05/0.508, allocations: 0 / 492.8 MB, free: 25.97 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.00471/0.5127, allocations: 2.604 MB / 495.4 MB, free: 24.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5127, allocations: 12.7 kB / 495.4 MB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.519, allocations: 1.941 MB / 497.3 MB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.5221, allocations: 1.368 MB / 498.7 MB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5222, allocations: 156.8 kB / 498.8 MB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.5226, allocations: 202.9 kB / 499 MB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.5389, allocations: 6.807 MB / 0.494 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/0.539, allocations: 13.88 kB / 0.494 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.5393, allocations: 97.58 kB / 0.4941 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/0.5422, allocations: 1.48 MB / 0.4955 GB, free: 19.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.5563, allocations: 5.826 MB / 0.5012 GB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03/0.5864, allocations: 21.62 MB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.5914, allocations: 2.253 MB / 0.5245 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007938/0.5994, allocations: 3.778 MB / 0.5282 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.5995, allocations: 43.12 kB / 0.5283 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.968e-06/0.5995, allocations: 0 / 0.5283 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006191/0.6057, allocations: 2.449 MB / 0.5307 GB, free: 7.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.6058, allocations: 63.91 kB / 0.5307 GB, free: 7.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.6095, allocations: 2.016 MB / 0.5327 GB, free: 5.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.6096, allocations: 33.7 kB / 0.5327 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.6113, allocations: 1.953 MB / 0.5346 GB, free: 3.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.6117, allocations: 367.3 kB / 0.535 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.6118, allocations: 63.98 kB / 0.535 GB, free: 3.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004142/0.6122, allocations: 0.49 MB / 0.5355 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.6139, allocations: 0.9626 MB / 0.5365 GB, free: 1.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/0.6172, allocations: 2.895 MB / 0.5393 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.6196, allocations: 1.669 MB / 0.5409 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.856e-05/0.6196, allocations: 23.94 kB / 0.5409 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005825/0.6255, allocations: 3.753 MB / 0.5446 GB, free: 8.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.6255, allocations: 32 kB / 0.5446 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-05/0.6256, allocations: 68 kB / 0.5447 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.6257, allocations: 104.8 kB / 0.5448 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.628, allocations: 0.7096 MB / 0.5455 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.6281, allocations: 143.5 kB / 0.5456 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.6308, allocations: 447.2 kB / 0.5461 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/0.6312, allocations: 200 kB / 0.5462 GB, free: 6.621 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002831/0.634, allocations: 1.431 MB / 0.5476 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.6343, allocations: 165.8 kB / 0.5478 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.6363, allocations: 1.185 MB / 0.549 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.6364, allocations: 12 kB / 0.549 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6364, allocations: 0 / 0.549 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6364, allocations: 11.94 kB / 0.549 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/0.6456, allocations: 4.971 MB / 0.5538 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.6457, allocations: 8 kB / 0.5538 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.6463, allocations: 139.7 kB / 0.554 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.6463, allocations: 12 kB / 0.554 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.6464, allocations: 27.98 kB / 0.554 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/0.6464, allocations: 15.94 kB / 0.554 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.682e-05/0.6464, allocations: 19.88 kB / 0.554 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.649, allocations: 2.192 MB / 0.5562 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.6496, allocations: 278.4 kB / 0.5565 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.6498, allocations: 31.98 kB / 0.5565 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.6504, allocations: 35.97 kB / 0.5565 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.6505, allocations: 71.72 kB / 0.5566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.6506, allocations: 36 kB / 0.5566 GB, free: 11.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.6527, allocations: 1.312 MB / 0.5579 GB, free: 9.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6527, allocations: 0 / 0.5579 GB, free: 9.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003243/0.656, allocations: 0.7505 MB / 0.5586 GB, free: 9.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004009/0.6564, allocations: 162.6 kB / 0.5588 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003692/0.6601, allocations: 2.208 MB / 0.5609 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6601, allocations: 0 / 0.5609 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.6609, allocations: 0.5417 MB / 0.5615 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.6619, allocations: 239.2 kB / 0.5617 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.6722, allocations: 6.698 MB / 0.5682 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/0.6751, allocations: 2.469 MB / 0.5707 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002614/0.6777, allocations: 1.016 MB / 0.5717 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.678, allocations: 131.4 kB / 0.5718 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6781, allocations: 3.938 kB / 0.5718 GB, free: 11.59 MB / 446.1 MB Notification: Performance of Templates: time 0.03447/0.7125, allocations: 14.66 MB / 0.5861 GB, free: 12.96 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: