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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001335/0.001336, allocations: 192.1 kB / 16.13 MB, free: 6.711 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.66/1.66, allocations: 205.1 MB / 222 MB, free: 4.773 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.3903/0.3903, allocations: 37.99 MB / 307.3 MB, free: 10.02 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.001362/0.001362, allocations: 63.91 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 56.48 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3567/0.5212, allocations: 38.97 MB / 470 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.5417, allocations: 7.704 MB / 477.7 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/0.5527, allocations: 161.4 kB / 477.8 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.5566, allocations: 2.004 MB / 479.9 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.5598, allocations: 1.139 MB / 481 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.5605, allocations: 261.8 kB / 481.2 MB, free: 27.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.5644, allocations: 3.66 MB / 484.9 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.5674, allocations: 2.371 MB / 487.3 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.5688, allocations: 0.8557 MB / 488.1 MB, free: 25.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.5704, allocations: 1.361 MB / 489.5 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.5707, allocations: 163.6 kB / 489.7 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.5722, allocations: 0.687 MB / 490.3 MB, free: 24.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.5733, allocations: 1.204 MB / 491.5 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.5745, allocations: 1.424 MB / 493 MB, free: 23.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.5804, allocations: 4.608 MB / 497.6 MB, free: 21.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.5804, allocations: 3.938 kB / 497.6 MB, free: 21.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5804, allocations: 0 / 497.6 MB, free: 21.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001996/0.5807, allocations: 0 / 497.6 MB, free: 21.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.009101/0.5898, allocations: 3.15 MB / 0.489 GB, free: 19.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5898, allocations: 9.344 kB / 0.489 GB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006072/0.5959, allocations: 1.622 MB / 0.4906 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.6004, allocations: 1.41 MB / 0.492 GB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.6007, allocations: 159.9 kB / 0.4921 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/0.6012, allocations: 208.5 kB / 0.4923 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.6155, allocations: 6.97 MB / 0.4991 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/0.6156, allocations: 13.69 kB / 0.4991 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002962/0.6159, allocations: 96.55 kB / 0.4992 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002638/0.6186, allocations: 1.531 MB / 0.5007 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.632, allocations: 5.944 MB / 0.5065 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03982/0.6719, allocations: 22.25 MB / 0.5283 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005412/0.6773, allocations: 2.187 MB / 0.5304 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.6789, allocations: 0.8109 MB / 0.5312 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008377/0.6873, allocations: 3.962 MB / 0.535 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.6874, allocations: 43.22 kB / 0.5351 GB, free: 1.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.947e-06/0.6874, allocations: 0 / 0.5351 GB, free: 1.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.006193/0.6936, allocations: 2.264 MB / 0.5373 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.6937, allocations: 60.06 kB / 0.5374 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.6979, allocations: 2.053 MB / 0.5394 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.698, allocations: 41.69 kB / 0.5394 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.6998, allocations: 2.007 MB / 0.5414 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.7003, allocations: 375.2 kB / 0.5417 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009782/0.7013, allocations: 0.6824 MB / 0.5424 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.7015, allocations: 353.9 kB / 0.5427 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.7031, allocations: 0.998 MB / 0.5437 GB, free: 8.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.7058, allocations: 2.995 MB / 0.5466 GB, free: 4.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/0.7107, allocations: 4.364 MB / 0.5509 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-05/0.7108, allocations: 23.94 kB / 0.5509 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006623/0.7174, allocations: 3.885 MB / 0.5547 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.7175, allocations: 36 kB / 0.5547 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.97e-05/0.7176, allocations: 68 kB / 0.5548 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.4e-05/0.7177, allocations: 92 kB / 0.5549 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.7197, allocations: 0.7258 MB / 0.5556 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.7198, allocations: 135.5 kB / 0.5557 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.7225, allocations: 467 kB / 0.5562 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.7228, allocations: 209.8 kB / 0.5564 GB, free: 9.496 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002757/0.7256, allocations: 1.459 MB / 0.5578 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.7259, allocations: 173.8 kB / 0.558 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.7278, allocations: 1.241 MB / 0.5592 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.7279, allocations: 12 kB / 0.5592 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7279, allocations: 0 / 0.5592 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.7279, allocations: 3.984 kB / 0.5592 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008036/0.7359, allocations: 5.038 MB / 0.5641 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.736, allocations: 8 kB / 0.5641 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.7365, allocations: 143.7 kB / 0.5643 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/0.7366, allocations: 12 kB / 0.5643 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.7366, allocations: 27.98 kB / 0.5643 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.7367, allocations: 19.94 kB / 0.5643 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.7367, allocations: 15.94 kB / 0.5643 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.7387, allocations: 1.588 MB / 0.5659 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/0.7393, allocations: 270.5 kB / 0.5661 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.7395, allocations: 24 kB / 0.5662 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.74, allocations: 35.97 kB / 0.5662 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7402, allocations: 83.69 kB / 0.5663 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.7402, allocations: 39.98 kB / 0.5663 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.7421, allocations: 1.344 MB / 0.5676 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7421, allocations: 0 / 0.5676 GB, free: 13.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003088/0.7452, allocations: 0.7776 MB / 0.5684 GB, free: 12.77 MB / 446.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 (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.0003495/0.7456, allocations: 162 kB / 0.5685 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003402/0.749, allocations: 2.296 MB / 0.5708 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.749, allocations: 0 / 0.5708 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.7497, allocations: 0.5555 MB / 0.5713 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.7512, allocations: 256.2 kB / 0.5716 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.7629, allocations: 7.249 MB / 0.5786 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.7656, allocations: 2.454 MB / 0.581 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002583/0.7682, allocations: 1.039 MB / 0.5821 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.7686, allocations: 143.4 kB / 0.5822 GB, free: 14.45 MB / 462.1 MB Notification: Performance of SimCode: time 3.286e-06/0.7686, allocations: 0 / 0.5822 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Templates: time 0.03222/0.8008, allocations: 15.44 MB / 0.5973 GB, free: 15.04 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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)