Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009575/0.00958, allocations: 178.3 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.059/2.059, allocations: 194.5 MB / 210.3 MB, free: 7.598 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001784/0.001784, allocations: 116.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2721/0.2721, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005281/0.0005285, allocations: 14.31 kB / 406.3 MB, free: 51.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1133, allocations: 54.87 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.05164/0.165, allocations: 33.85 MB / 495 MB, free: 1.238 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02273/0.1878, allocations: 7.072 MB / 0.4903 GB, free: 10.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006741/0.1946, allocations: 155.7 kB / 0.4905 GB, free: 9.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006261/0.2009, allocations: 1.664 MB / 0.4921 GB, free: 8.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0198/0.2208, allocations: 5.692 MB / 0.4976 GB, free: 2.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.2233, allocations: 251.6 kB / 0.4979 GB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006869/0.2303, allocations: 2.844 MB / 0.5007 GB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.2424, allocations: 3.038 MB / 0.5036 GB, free: 12.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.245, allocations: 0.7238 MB / 0.5043 GB, free: 11.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.2489, allocations: 1.145 MB / 0.5054 GB, free: 10.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.25, allocations: 104 kB / 0.5055 GB, free: 10.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.2528, allocations: 0.5305 MB / 0.5061 GB, free: 9.898 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.2556, allocations: 1.067 MB / 0.5071 GB, free: 8.828 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.2572, allocations: 0.5662 MB / 0.5077 GB, free: 8.254 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008592/0.2658, allocations: 3.721 MB / 0.5113 GB, free: 4.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.2659, allocations: 0 / 0.5113 GB, free: 4.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.666e-06/0.2659, allocations: 0 / 0.5113 GB, free: 4.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001813/0.2661, allocations: 0 / 0.5113 GB, free: 4.523 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01075/0.2769, allocations: 2.597 MB / 0.5138 GB, free: 1.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.277, allocations: 8.031 kB / 0.5138 GB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002315/0.2793, allocations: 0.5253 MB / 0.5143 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.2945, allocations: 1.661 MB / 0.516 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.3012, allocations: 1.378 MB / 0.5173 GB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.3017, allocations: 160 kB / 0.5175 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.3031, allocations: 207.8 kB / 0.5177 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/0.3342, allocations: 6.949 MB / 0.5245 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.3344, allocations: 11.88 kB / 0.5245 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/0.3356, allocations: 99.89 kB / 0.5246 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006779/0.3425, allocations: 1.517 MB / 0.526 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3912/0.7337, allocations: 5.91 MB / 0.5318 GB, free: 73.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05016/0.7839, allocations: 22.13 MB / 0.5534 GB, free: 60.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007873/0.7919, allocations: 2.188 MB / 0.5556 GB, free: 58.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.794, allocations: 0.8046 MB / 0.5563 GB, free: 58.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.8061, allocations: 3.953 MB / 0.5602 GB, free: 55.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8062, allocations: 40.03 kB / 0.5602 GB, free: 55.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 4.378e-06/0.8062, allocations: 0.5312 kB / 0.5602 GB, free: 55.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.01032/0.8166, allocations: 2.258 MB / 0.5625 GB, free: 54.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.8167, allocations: 63.42 kB / 0.5625 GB, free: 54.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.8209, allocations: 2.007 MB / 0.5645 GB, free: 53.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.8211, allocations: 37.7 kB / 0.5645 GB, free: 53.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.8228, allocations: 2.004 MB / 0.5665 GB, free: 51.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/0.8234, allocations: 375.4 kB / 0.5668 GB, free: 50.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.8236, allocations: 61.17 kB / 0.5669 GB, free: 50.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003892/0.824, allocations: 0.4979 MB / 0.5674 GB, free: 50.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/0.8267, allocations: 0.9807 MB / 0.5683 GB, free: 49.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/0.8305, allocations: 2.957 MB / 0.5712 GB, free: 45.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/0.8344, allocations: 1.707 MB / 0.5729 GB, free: 43.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-05/0.8346, allocations: 20 kB / 0.5729 GB, free: 43.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.009829/0.8444, allocations: 3.826 MB / 0.5766 GB, free: 39.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.8446, allocations: 37.41 kB / 0.5767 GB, free: 39.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/0.8448, allocations: 71.98 kB / 0.5767 GB, free: 39.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.845, allocations: 112 kB / 0.5768 GB, free: 39.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00665/0.8517, allocations: 0.7174 MB / 0.5775 GB, free: 39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002837/0.852, allocations: 139.4 kB / 0.5777 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/0.8581, allocations: 457.9 kB / 0.5781 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008568/0.859, allocations: 201.3 kB / 0.5783 GB, free: 38.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (398): * Single equations (assignments): 393 * 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.004993/0.864, allocations: 1.455 MB / 0.5797 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/0.8646, allocations: 165.8 kB / 0.5799 GB, free: 36.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00471/0.8693, allocations: 1.237 MB / 0.5811 GB, free: 35.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/0.8695, allocations: 21.2 kB / 0.5811 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.8695, allocations: 0 / 0.5811 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.8695, allocations: 3.984 kB / 0.5811 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.8859, allocations: 5.012 MB / 0.586 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.886, allocations: 12 kB / 0.586 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.8871, allocations: 139.7 kB / 0.5862 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-05/0.8871, allocations: 16 kB / 0.5862 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/0.8872, allocations: 29.17 kB / 0.5862 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/0.8872, allocations: 20.48 kB / 0.5862 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/0.8873, allocations: 15.94 kB / 0.5862 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.8901, allocations: 1.574 MB / 0.5878 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/0.8908, allocations: 278.5 kB / 0.588 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/0.8913, allocations: 28.94 kB / 0.5881 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.8925, allocations: 39.88 kB / 0.5881 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.8927, allocations: 84.2 kB / 0.5882 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.8929, allocations: 44.61 kB / 0.5882 GB, free: 27.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002729/0.8956, allocations: 1.316 MB / 0.5895 GB, free: 26.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.8956, allocations: 0 / 0.5895 GB, free: 26.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0039/0.8996, allocations: 0.7661 MB / 0.5903 GB, free: 25.59 MB / 378.7 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.003467/0.9031, allocations: 2.18 MB / 0.5924 GB, free: 23.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005121/0.9082, allocations: 2.273 MB / 0.5946 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.9083, allocations: 0 / 0.5946 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.9095, allocations: 0.5608 MB / 0.5952 GB, free: 20.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.9118, allocations: 246.4 kB / 0.5954 GB, free: 20.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/0.9486, allocations: 16.86 MB / 0.6119 GB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004493/0.9531, allocations: 2.512 MB / 0.6143 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004864/0.9581, allocations: 1.031 MB / 0.6153 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002845/0.961, allocations: 1.163 MB / 0.6165 GB, free: 12.86 MB / 394.7 MB Notification: Performance of SimCode: time 2.094e-06/0.961, allocations: 0 / 0.6165 GB, free: 12.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.074, allocations: 39.56 MB / 0.6551 GB, free: 5.355 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/1.074, allocations: 189.3 kB / 0.6553 GB, free: 5.102 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/5.021, allocations: 0 / 0.6553 GB, free: 5.102 MB / 426.7 MB