Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01391/0.01391, allocations: 164.7 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.833/1.833, allocations: 170.8 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001782/0.001781, allocations: 106.8 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4528/0.4528, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 11.98 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.317/0.4236, allocations: 22.85 MB / 434.5 MB, free: 30.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.442, allocations: 5.82 MB / 440.4 MB, free: 29.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005439/0.4475, allocations: 111 kB / 440.5 MB, free: 29.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004424/0.452, allocations: 1.165 MB / 441.6 MB, free: 29.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.4659, allocations: 4.028 MB / 445.7 MB, free: 28.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.4694, allocations: 0.5671 MB / 446.2 MB, free: 28.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007156/0.4766, allocations: 3.995 MB / 450.2 MB, free: 28.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005913/0.4826, allocations: 2.843 MB / 453.1 MB, free: 28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.4851, allocations: 1.025 MB / 454.1 MB, free: 27.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.4886, allocations: 1.596 MB / 455.7 MB, free: 27.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009737/0.4896, allocations: 129.4 kB / 455.8 MB, free: 27.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.4919, allocations: 0.5426 MB / 456.4 MB, free: 27.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002493/0.4945, allocations: 1.48 MB / 457.8 MB, free: 27.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.4962, allocations: 0.7877 MB / 458.6 MB, free: 27.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008671/0.5049, allocations: 4.969 MB / 463.6 MB, free: 26.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.505, allocations: 0 / 463.6 MB, free: 26.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.505, allocations: 0 / 463.6 MB, free: 26.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00028/0.5053, allocations: 1.203 kB / 463.6 MB, free: 26.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01015/0.5155, allocations: 3.434 MB / 467 MB, free: 24.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5155, allocations: 10.7 kB / 467 MB, free: 24.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002859/0.5184, allocations: 0.753 MB / 467.8 MB, free: 24.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.5372, allocations: 3.098 MB / 470.9 MB, free: 22.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006712/0.5439, allocations: 1.827 MB / 472.7 MB, free: 21.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.5443, allocations: 199.7 kB / 472.9 MB, free: 21.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/0.5461, allocations: 258.9 kB / 473.2 MB, free: 21.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/0.5729, allocations: 10.49 MB / 483.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.5731, allocations: 28.23 kB / 483.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001283/0.5744, allocations: 130.1 kB / 483.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006778/0.5812, allocations: 2.446 MB / 486.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/0.6049, allocations: 9.314 MB / 495.6 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07579/0.6808, allocations: 38.83 MB / 0.5219 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.691, allocations: 3.483 MB / 0.5253 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003596/0.6946, allocations: 1.266 MB / 0.5265 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01822/0.7129, allocations: 5.444 MB / 0.5318 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.713, allocations: 63 kB / 0.5319 GB, free: 3.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 7.434e-06/0.713, allocations: 0 / 0.5319 GB, free: 3.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.01368/0.7267, allocations: 3.335 MB / 0.5351 GB, free: 444 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.7269, allocations: 166.8 kB / 0.5353 GB, free: 240 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/0.7394, allocations: 3.917 MB / 0.5391 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.7398, allocations: 51.81 kB / 0.5392 GB, free: 12.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004219/0.744, allocations: 3.299 MB / 0.5424 GB, free: 8.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001358/0.7455, allocations: 0.6181 MB / 0.543 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009587/0.7465, allocations: 132 kB / 0.5431 GB, free: 8.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0008309/0.7473, allocations: 0.5949 MB / 0.5437 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006291/0.7536, allocations: 1.969 MB / 0.5456 GB, free: 5.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01112/0.7648, allocations: 6.257 MB / 0.5517 GB, free: 13.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009616/0.7745, allocations: 3.531 MB / 0.5552 GB, free: 9.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/0.7747, allocations: 48 kB / 0.5552 GB, free: 9.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02421/0.799, allocations: 7.843 MB / 0.5629 GB, free: 1.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.7992, allocations: 72.03 kB / 0.563 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002905/0.7995, allocations: 152 kB / 0.5631 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.7998, allocations: 220 kB / 0.5633 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00959/0.8094, allocations: 1.501 MB / 0.5648 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004017/0.8099, allocations: 298.8 kB / 0.5651 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007695/0.8176, allocations: 0.9455 MB / 0.566 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/0.8193, allocations: 416 kB / 0.5664 GB, free: 14.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 808 * Array equations: 8 * 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.007293/0.8266, allocations: 2.271 MB / 0.5686 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008958/0.8276, allocations: 311.9 kB / 0.5689 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.8293, allocations: 420 kB / 0.5693 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001265/0.8295, allocations: 38.42 kB / 0.5693 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.8295, allocations: 480 / 0.5693 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.8295, allocations: 11.97 kB / 0.5694 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/0.849, allocations: 5.686 MB / 0.5749 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/0.8491, allocations: 4 kB / 0.5749 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/0.8512, allocations: 219.6 kB / 0.5751 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.008e-05/0.8512, allocations: 15.94 kB / 0.5751 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/0.8515, allocations: 24 kB / 0.5752 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-05/0.8516, allocations: 12 kB / 0.5752 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.8516, allocations: 11.94 kB / 0.5752 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/0.8578, allocations: 2.572 MB / 0.5777 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.8591, allocations: 396.5 kB / 0.5781 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/0.8603, allocations: 28 kB / 0.5781 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/0.8627, allocations: 74.48 kB / 0.5782 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000466/0.8632, allocations: 72.38 kB / 0.5782 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.8634, allocations: 47.98 kB / 0.5783 GB, free: 1.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3178/1.181, allocations: 2.378 MB / 0.5806 GB, free: 121.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.181, allocations: 3 kB / 0.5806 GB, free: 121.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008033/1.189, allocations: 1.133 MB / 0.5817 GB, free: 121.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * 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.006856/1.196, allocations: 3.188 MB / 0.5848 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01143/1.208, allocations: 4.485 MB / 0.5892 GB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.208, allocations: 7.906 kB / 0.5892 GB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.21, allocations: 0.9577 MB / 0.5902 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004213/1.214, allocations: 362 kB / 0.5905 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07982/1.294, allocations: 30.44 MB / 0.6202 GB, free: 99.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008493/1.303, allocations: 3.346 MB / 0.6235 GB, free: 98.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01068/1.313, allocations: 2.274 MB / 0.6257 GB, free: 98.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004509/1.318, allocations: 1.743 MB / 0.6274 GB, free: 96.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.794e-06/1.318, allocations: 0 / 0.6274 GB, free: 96.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/1.471, allocations: 65.14 MB / 0.691 GB, free: 41.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.471, allocations: 187.2 kB / 0.6912 GB, free: 40.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.219/6.69, allocations: 4 kB / 0.6912 GB, free: 40.83 MB / 426.7 MB