Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01476/0.01477, allocations: 163.3 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.728/1.728, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001777/0.001776, allocations: 110.8 kB / 226.2 MB, free: 10.1 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.4907/0.4907, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005089, allocations: 8 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 48.72 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.4461/0.5767, allocations: 33.82 MB / 445.5 MB, free: 29.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02554/0.6023, allocations: 7.074 MB / 452.6 MB, free: 28.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009723/0.6121, allocations: 144.7 kB / 452.7 MB, free: 28.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007602/0.6197, allocations: 1.669 MB / 454.4 MB, free: 27.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02418/0.644, allocations: 5.692 MB / 460.1 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.6475, allocations: 261.9 kB / 460.3 MB, free: 25.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006626/0.6542, allocations: 2.842 MB / 463.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007975/0.6622, allocations: 3.032 MB / 466.2 MB, free: 23.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.6647, allocations: 0.7243 MB / 466.9 MB, free: 23.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.6684, allocations: 1.15 MB / 468.1 MB, free: 22.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.6696, allocations: 97.69 kB / 468.2 MB, free: 22.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.6724, allocations: 0.5366 MB / 468.7 MB, free: 22.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002712/0.6752, allocations: 1.063 MB / 469.8 MB, free: 22.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.6771, allocations: 0.5599 MB / 470.4 MB, free: 21.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00842/0.6856, allocations: 3.717 MB / 474.1 MB, free: 20.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6856, allocations: 0 / 474.1 MB, free: 20.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6857, allocations: 3.312 kB / 474.1 MB, free: 20.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001997/0.6859, allocations: 4 kB / 474.1 MB, free: 20.65 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01004/0.6959, allocations: 2.601 MB / 476.7 MB, free: 18.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.696, allocations: 13.06 kB / 476.7 MB, free: 18.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002619/0.6987, allocations: 0.5233 MB / 477.2 MB, free: 18.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.713, allocations: 1.659 MB / 478.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006708/0.7198, allocations: 1.372 MB / 480.2 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.7202, allocations: 162.8 kB / 480.4 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.7218, allocations: 204.4 kB / 480.6 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/0.7478, allocations: 6.932 MB / 487.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.748, allocations: 22.25 kB / 487.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.7493, allocations: 97.31 kB / 487.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005594/0.7549, allocations: 1.536 MB / 489.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/0.7793, allocations: 5.908 MB / 495.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06559/0.8449, allocations: 22.14 MB / 0.5051 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.8561, allocations: 2.188 MB / 0.5072 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.8592, allocations: 0.8011 MB / 0.508 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0188/0.8781, allocations: 3.95 MB / 0.5119 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/0.8782, allocations: 47.11 kB / 0.5119 GB, free: 10.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 7.794e-06/0.8783, allocations: 4 kB / 0.5119 GB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.01558/0.8939, allocations: 2.248 MB / 0.5141 GB, free: 8.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.894, allocations: 60.05 kB / 0.5142 GB, free: 8.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00722/0.9012, allocations: 2.02 MB / 0.5162 GB, free: 6.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.9016, allocations: 41.69 kB / 0.5162 GB, free: 6.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003063/0.9046, allocations: 1.999 MB / 0.5182 GB, free: 4.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009545/0.9057, allocations: 375.2 kB / 0.5185 GB, free: 3.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.9062, allocations: 63.98 kB / 0.5186 GB, free: 3.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007649/0.907, allocations: 0.4979 MB / 0.5191 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.9112, allocations: 0.9745 MB / 0.52 GB, free: 2.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007099/0.9184, allocations: 2.961 MB / 0.5229 GB, free: 14.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006552/0.925, allocations: 1.707 MB / 0.5246 GB, free: 12.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.319e-05/0.9251, allocations: 20 kB / 0.5246 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01326/0.9384, allocations: 3.825 MB / 0.5283 GB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.9385, allocations: 35.95 kB / 0.5284 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.9386, allocations: 80.11 kB / 0.5284 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.9388, allocations: 104 kB / 0.5285 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/0.943, allocations: 0.7174 MB / 0.5292 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001531/0.9432, allocations: 135.5 kB / 0.5294 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.9463, allocations: 451.2 kB / 0.5298 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005043/0.9468, allocations: 196 kB / 0.53 GB, free: 7.094 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.003617/0.9504, allocations: 1.463 MB / 0.5314 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/0.9509, allocations: 169.8 kB / 0.5316 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.9541, allocations: 1.236 MB / 0.5328 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.9541, allocations: 16 kB / 0.5328 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9541, allocations: 0 / 0.5328 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.9542, allocations: 3.984 kB / 0.5328 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.9671, allocations: 5.021 MB / 0.5377 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.9671, allocations: 8 kB / 0.5377 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.9683, allocations: 143.7 kB / 0.5378 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-05/0.9683, allocations: 15.94 kB / 0.5379 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.9684, allocations: 28 kB / 0.5379 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.679e-05/0.9684, allocations: 21.41 kB / 0.5379 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-05/0.9685, allocations: 20.33 kB / 0.5379 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.9717, allocations: 1.571 MB / 0.5395 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/0.9723, allocations: 286.5 kB / 0.5397 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.9727, allocations: 24 kB / 0.5398 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9737, allocations: 35.97 kB / 0.5398 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.9739, allocations: 79.72 kB / 0.5399 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.974, allocations: 43.89 kB / 0.5399 GB, free: 12.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003025/0.9771, allocations: 1.312 MB / 0.5412 GB, free: 11.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9771, allocations: 0 / 0.5412 GB, free: 11.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003878/0.981, allocations: 0.766 MB / 0.5419 GB, free: 10.42 MB / 394.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.003737/0.9847, allocations: 2.19 MB / 0.5441 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0056/0.9904, allocations: 2.264 MB / 0.5463 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.9904, allocations: 7.938 kB / 0.5463 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.9917, allocations: 0.5564 MB / 0.5468 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.9939, allocations: 250.8 kB / 0.5471 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/1.033, allocations: 16.86 MB / 0.5635 GB, free: 2.398 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/1.038, allocations: 2.512 MB / 0.566 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004753/1.043, allocations: 1.035 MB / 0.567 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/1.046, allocations: 1.163 MB / 0.5681 GB, free: 13.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.274e-06/1.046, allocations: 0 / 0.5681 GB, free: 13.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4207/1.467, allocations: 39.55 MB / 0.6068 GB, free: 126 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/1.467, allocations: 182.6 kB / 0.6069 GB, free: 125.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/5.239, allocations: 0 / 0.6069 GB, free: 125.8 MB / 426.7 MB