Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestMove",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.01586/0.01587, allocations: 161.5 kB / 15.11 MB, free: 6.035 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.742/1.742, allocations: 170.8 MB / 186.7 MB, free: 1.02 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.001713/0.001713, allocations: 102.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.5142/0.5142, allocations: 38.05 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.000665, allocations: 8 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1051, allocations: 48.72 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.02056/0.1257, allocations: 12.45 MB / 424.1 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.1378, allocations: 4.056 MB / 428.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.1404, allocations: 51.88 kB / 428.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.1427, allocations: 0.5365 MB / 428.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007932/0.1506, allocations: 2.195 MB / 431 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.1528, allocations: 471.2 kB / 431.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.3131/0.466, allocations: 2.754 MB / 434.2 MB, free: 31.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.4693, allocations: 1.399 MB / 435.6 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.4708, allocations: 0.7085 MB / 436.3 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.4732, allocations: 1.156 MB / 437.5 MB, free: 31.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.4737, allocations: 79.75 kB / 437.5 MB, free: 31.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.476, allocations: 0.8407 MB / 438.4 MB, free: 31.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.4772, allocations: 0.9492 MB / 439.3 MB, free: 31.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.4779, allocations: 0.494 MB / 439.8 MB, free: 31.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.4828, allocations: 3.033 MB / 442.9 MB, free: 30.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.4829, allocations: 3.188 kB / 442.9 MB, free: 30.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4829, allocations: 0 / 442.9 MB, free: 30.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.672e-05/0.483, allocations: 0 / 442.9 MB, free: 30.92 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.007177/0.4902, allocations: 2.53 MB / 445.4 MB, free: 29.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4903, allocations: 9.344 kB / 445.4 MB, free: 29.64 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009608/0.4912, allocations: 461.6 kB / 445.9 MB, free: 29.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.5019, allocations: 1.705 MB / 447.6 MB, free: 29.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004987/0.507, allocations: 1.767 MB / 449.3 MB, free: 28.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.5072, allocations: 126.3 kB / 449.4 MB, free: 28.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006861/0.5079, allocations: 165.5 kB / 449.6 MB, free: 28.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.5225, allocations: 6.458 MB / 456.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.5226, allocations: 35.91 kB / 456.1 MB, free: 27.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.5231, allocations: 84.28 kB / 456.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003776/0.5269, allocations: 1.376 MB / 457.6 MB, free: 27.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.5494, allocations: 5.712 MB / 463.3 MB, free: 27.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06367/0.6131, allocations: 26.59 MB / 489.9 MB, free: 23.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.624, allocations: 2.124 MB / 492 MB, free: 21.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003469/0.6275, allocations: 1.04 MB / 493 MB, free: 21.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.6277, allocations: 21.42 kB / 493 MB, free: 21.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.6278, allocations: 38.77 kB / 493.1 MB, free: 21.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 7.354e-06/0.6278, allocations: 0 / 493.1 MB, free: 21.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=112): time 0.0401/0.668, allocations: 6.391 MB / 499.5 MB, free: 16.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.6681, allocations: 143 kB / 499.6 MB, free: 16.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/0.6733, allocations: 2.87 MB / 0.4907 GB, free: 13.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.6737, allocations: 41.7 kB / 0.4907 GB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.6758, allocations: 2.099 MB / 0.4928 GB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007883/0.6766, allocations: 451.8 kB / 0.4932 GB, free: 11.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.677, allocations: 92 kB / 0.4933 GB, free: 11.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003987/0.6774, allocations: 499.7 kB / 0.4938 GB, free: 10.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/0.6813, allocations: 1.398 MB / 0.4952 GB, free: 9.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007296/0.6886, allocations: 4.257 MB / 0.4993 GB, free: 3.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006369/0.695, allocations: 2.385 MB / 0.5016 GB, free: 1.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.584e-05/0.6952, allocations: 32 kB / 0.5017 GB, free: 1.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01618/0.7113, allocations: 5.435 MB / 0.507 GB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.7115, allocations: 52.98 kB / 0.507 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.7117, allocations: 104 kB / 0.5071 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.7119, allocations: 152 kB / 0.5073 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008512/0.7204, allocations: 1.22 MB / 0.5085 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000275/0.7207, allocations: 195.2 kB / 0.5087 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/0.7256, allocations: 247.4 kB / 0.5089 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/0.7267, allocations: 290 kB / 0.5092 GB, free: 9.469 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 15 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (550): * Single equations (assignments): 547 * 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 prepare postOptimizeDAE: time 0.004061/0.7307, allocations: 1.375 MB / 0.5105 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006864/0.7314, allocations: 236.9 kB / 0.5107 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.7351, allocations: 1.251 MB / 0.512 GB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/0.7352, allocations: 16 kB / 0.512 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.7352, allocations: 3.953 kB / 0.512 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.7352, allocations: 7.969 kB / 0.512 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.7477, allocations: 4.055 MB / 0.5159 GB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.7477, allocations: 4 kB / 0.5159 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003603/0.7514, allocations: 367.3 kB / 0.5163 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/0.7514, allocations: 7.953 kB / 0.5163 GB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.7516, allocations: 16 kB / 0.5163 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.7516, allocations: 4 kB / 0.5163 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7516, allocations: 8 kB / 0.5163 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004558/0.7562, allocations: 2.024 MB / 0.5183 GB, free: 24 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/0.758, allocations: 453.8 kB / 0.5187 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005824/0.7586, allocations: 27.88 kB / 0.5188 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.7603, allocations: 47.94 kB / 0.5188 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.7606, allocations: 60.36 kB / 0.5189 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.7607, allocations: 33.64 kB / 0.5189 GB, free: 15.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004991/0.7658, allocations: 1.787 MB / 0.5206 GB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.7658, allocations: 0 / 0.5206 GB, free: 13.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005021/0.7708, allocations: 0.641 MB / 0.5213 GB, free: 12.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 87 * 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.005274/0.7762, allocations: 2.662 MB / 0.5239 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008565/0.7848, allocations: 3.225 MB / 0.527 GB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.7848, allocations: 0 / 0.527 GB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.7868, allocations: 0.7914 MB / 0.5278 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.7896, allocations: 248.6 kB / 0.528 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05802/0.8477, allocations: 20.76 MB / 0.5483 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003858/0.8516, allocations: 2.267 MB / 0.5505 GB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006719/0.8584, allocations: 1.457 MB / 0.5519 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003162/0.8616, allocations: 1.077 MB / 0.553 GB, free: 9.863 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8616, allocations: 4 kB / 0.553 GB, free: 9.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5216/1.383, allocations: 47.1 MB / 0.599 GB, free: 121.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/1.384, allocations: 182.7 kB / 0.5992 GB, free: 121.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.088/5.471, allocations: 0 / 0.5992 GB, free: 121.5 MB / 426.7 MB