Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.0009848, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009052/0.0009054, allocations: 172.7 kB / 15.95 MB, free: 208 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.3495/0.3495, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.0005982/0.0005983, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1232, allocations: 57.52 MB / 434 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2682/0.3914, allocations: 35.25 MB / 469.2 MB, free: 32.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.4079, allocations: 7.335 MB / 476.5 MB, free: 31.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007841/0.4158, allocations: 156.5 kB / 476.7 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004207/0.42, allocations: 1.519 MB / 478.2 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.4315, allocations: 4.47 MB / 482.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4331, allocations: 243.5 kB / 482.9 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.4364, allocations: 2.831 MB / 485.7 MB, free: 28.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.4398, allocations: 3.032 MB / 488.8 MB, free: 26.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009258/0.4408, allocations: 0.7438 MB / 489.5 MB, free: 26.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.4418, allocations: 1.148 MB / 490.7 MB, free: 26.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.442, allocations: 98.53 kB / 490.8 MB, free: 26.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/0.4429, allocations: 0.5264 MB / 491.3 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007629/0.4437, allocations: 1.07 MB / 492.4 MB, free: 25.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.4441, allocations: 0.565 MB / 492.9 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.4483, allocations: 3.718 MB / 496.6 MB, free: 24.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4483, allocations: 4 kB / 496.7 MB, free: 24.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.4483, allocations: 0 / 496.7 MB, free: 24.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001983/0.4485, allocations: 0 / 496.7 MB, free: 24.61 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006584/0.4551, allocations: 2.63 MB / 499.3 MB, free: 23.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4552, allocations: 9.391 kB / 499.3 MB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.4616, allocations: 1.66 MB / 0.4892 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.4653, allocations: 1.377 MB / 0.4906 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.4654, allocations: 158.5 kB / 0.4907 GB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008967/0.4663, allocations: 219 kB / 0.4909 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.4787, allocations: 6.952 MB / 0.4977 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.824e-05/0.4788, allocations: 13.5 kB / 0.4977 GB, free: 18.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.4791, allocations: 102 kB / 0.4978 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002508/0.4816, allocations: 1.534 MB / 0.4993 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.494, allocations: 5.91 MB / 0.5051 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/0.5211, allocations: 22.24 MB / 0.5268 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.5254, allocations: 2.179 MB / 0.5289 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.5266, allocations: 0.8089 MB / 0.5297 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00657/0.5332, allocations: 3.958 MB / 0.5336 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5332, allocations: 47.16 kB / 0.5336 GB, free: 5.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.539e-06/0.5333, allocations: 0 / 0.5336 GB, free: 5.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005549/0.5388, allocations: 2.248 MB / 0.5358 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.5389, allocations: 68.05 kB / 0.5359 GB, free: 2.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.5418, allocations: 2.037 MB / 0.5379 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.5418, allocations: 37.7 kB / 0.5379 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.5432, allocations: 2.007 MB / 0.5399 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.5436, allocations: 383.2 kB / 0.5402 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.5437, allocations: 64 kB / 0.5403 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.544, allocations: 0.4902 MB / 0.5408 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.5455, allocations: 0.9902 MB / 0.5417 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.5483, allocations: 2.988 MB / 0.5447 GB, free: 8.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.5506, allocations: 1.702 MB / 0.5463 GB, free: 6.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/0.5507, allocations: 20 kB / 0.5463 GB, free: 6.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00557/0.5562, allocations: 3.87 MB / 0.5501 GB, free: 3.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.5563, allocations: 36 kB / 0.5502 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.897e-05/0.5564, allocations: 68 kB / 0.5502 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.028e-05/0.5565, allocations: 104.8 kB / 0.5503 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.5584, allocations: 0.7252 MB / 0.551 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.96e-05/0.5585, allocations: 144.1 kB / 0.5512 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.5605, allocations: 451.2 kB / 0.5516 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.5607, allocations: 212 kB / 0.5518 GB, free: 1.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (401): * Single equations (assignments): 396 * 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.002431/0.5632, allocations: 1.46 MB / 0.5532 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.5635, allocations: 177.6 kB / 0.5534 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.5656, allocations: 1.237 MB / 0.5546 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.5656, allocations: 19.92 kB / 0.5546 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5656, allocations: 0 / 0.5546 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5657, allocations: 0 / 0.5546 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007915/0.5736, allocations: 5.022 MB / 0.5595 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.5736, allocations: 8 kB / 0.5595 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.5741, allocations: 139.7 kB / 0.5597 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.049e-05/0.5742, allocations: 20 kB / 0.5597 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.5743, allocations: 31.94 kB / 0.5597 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/0.5743, allocations: 19.94 kB / 0.5597 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.5743, allocations: 11.94 kB / 0.5598 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.5762, allocations: 1.578 MB / 0.5613 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.5767, allocations: 274.4 kB / 0.5616 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.5769, allocations: 31.98 kB / 0.5616 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.5774, allocations: 35.94 kB / 0.5616 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.5775, allocations: 83.73 kB / 0.5617 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.5776, allocations: 43.95 kB / 0.5617 GB, free: 6.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002505/0.5801, allocations: 1.333 MB / 0.563 GB, free: 5.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5801, allocations: 0 / 0.563 GB, free: 5.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0037/0.5839, allocations: 0.7776 MB / 0.5638 GB, free: 4.605 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003474/0.5842, allocations: 155 kB / 0.5639 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003458/0.5877, allocations: 2.279 MB / 0.5662 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5877, allocations: 0 / 0.5662 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.5885, allocations: 0.5605 MB / 0.5667 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.5899, allocations: 251.4 kB / 0.567 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00995/0.5999, allocations: 6.978 MB / 0.5738 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/0.6025, allocations: 2.458 MB / 0.5762 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002638/0.6052, allocations: 1.039 MB / 0.5772 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.6055, allocations: 135.4 kB / 0.5773 GB, free: 6.578 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6056, allocations: 0 / 0.5773 GB, free: 6.578 MB / 446.1 MB Notification: Performance of Templates: time 0.03267/0.6382, allocations: 15.04 MB / 0.592 GB, free: 7.57 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) Environment - environmentSimulation: