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.01017/0.01017, allocations: 166.3 kB / 15.11 MB, free: 5.934 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.125 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.004712/0.004712, allocations: 107 kB / 226.2 MB, free: 10.11 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.5038/0.5038, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5485, allocations: 88.3 MB / 500 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.5489, allocations: 70.53 kB / 0.4883 GB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2958/0.8447, allocations: 57.87 MB / 0.5448 GB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.8448, allocations: 0 / 0.5448 GB, free: 10.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001682/0.845, allocations: 48 kB / 0.5449 GB, free: 10.51 MB / 394.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.01147/0.8565, allocations: 2.718 MB / 0.5475 GB, free: 7.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.8565, allocations: 12.03 kB / 0.5476 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002418/0.859, allocations: 486.3 kB / 0.548 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.8761, allocations: 1.985 MB / 0.55 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.8905, allocations: 3.353 MB / 0.5532 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.8908, allocations: 184.8 kB / 0.5534 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.8925, allocations: 243.8 kB / 0.5536 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/0.9138, allocations: 6.878 MB / 0.5604 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/0.9141, allocations: 47.61 kB / 0.5604 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.9153, allocations: 128.9 kB / 0.5605 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/0.9173, allocations: 0.7072 MB / 0.5612 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.939, allocations: 5.895 MB / 0.567 GB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3648/1.304, allocations: 33.49 MB / 0.5997 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0071/1.311, allocations: 2.102 MB / 0.6017 GB, free: 70.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/1.311, allocations: 12.45 kB / 0.6017 GB, free: 70.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.311, allocations: 47.16 kB / 0.6018 GB, free: 70.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 4.899e-06/1.311, allocations: 1.375 kB / 0.6018 GB, free: 70.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.0241/1.335, allocations: 6.372 MB / 0.608 GB, free: 69.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/1.336, allocations: 142.2 kB / 0.6082 GB, free: 68.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006997/1.343, allocations: 2.601 MB / 0.6107 GB, free: 68.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00032/1.343, allocations: 40.02 kB / 0.6107 GB, free: 68.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.345, allocations: 2.096 MB / 0.6128 GB, free: 67.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/1.346, allocations: 455 kB / 0.6132 GB, free: 67.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005867/1.347, allocations: 86.81 kB / 0.6133 GB, free: 67.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002976/1.347, allocations: 0.4934 MB / 0.6138 GB, free: 67.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/1.351, allocations: 1.416 MB / 0.6152 GB, free: 67.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006304/1.357, allocations: 4.238 MB / 0.6193 GB, free: 63.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006245/1.363, allocations: 2.408 MB / 0.6216 GB, free: 63.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.364, allocations: 28.59 kB / 0.6217 GB, free: 63.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01592/1.38, allocations: 5.46 MB / 0.627 GB, free: 63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.38, allocations: 49.28 kB / 0.6271 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/1.38, allocations: 101.1 kB / 0.6272 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/1.38, allocations: 148.1 kB / 0.6273 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007142/1.387, allocations: 1.079 MB / 0.6283 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002997/1.388, allocations: 201.3 kB / 0.6285 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.393, allocations: 287.8 kB / 0.6288 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.395, allocations: 282.6 kB / 0.6291 GB, free: 62.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 (548): * Single equations (assignments): 545 * 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.004234/1.399, allocations: 1.376 MB / 0.6304 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007062/1.4, allocations: 244.1 kB / 0.6307 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/1.403, allocations: 1.246 MB / 0.6319 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/1.403, allocations: 16.41 kB / 0.6319 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.403, allocations: 0 / 0.6319 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.403, allocations: 6.328 kB / 0.6319 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/1.417, allocations: 4.005 MB / 0.6358 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.417, allocations: 1.312 kB / 0.6358 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.419, allocations: 209.5 kB / 0.636 GB, free: 61.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.44e-05/1.419, allocations: 7.562 kB / 0.636 GB, free: 61.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/1.419, allocations: 21.41 kB / 0.636 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.419, allocations: 4.406 kB / 0.636 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.419, allocations: 4.719 kB / 0.636 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/1.424, allocations: 2.07 MB / 0.6381 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.425, allocations: 460 kB / 0.6385 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/1.426, allocations: 18.92 kB / 0.6385 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.428, allocations: 76.09 kB / 0.6386 GB, free: 60.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/1.428, allocations: 60.94 kB / 0.6387 GB, free: 60.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.429, allocations: 35.48 kB / 0.6387 GB, free: 60.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005625/1.434, allocations: 1.814 MB / 0.6405 GB, free: 59.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.434, allocations: 0 / 0.6405 GB, free: 59.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006015/1.44, allocations: 0.6389 MB / 0.6411 GB, free: 59.58 MB / 426.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.005676/1.446, allocations: 2.911 MB / 0.6439 GB, free: 57.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008122/1.454, allocations: 3.228 MB / 0.6471 GB, free: 56.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.454, allocations: 2.562 kB / 0.6471 GB, free: 56.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.456, allocations: 0.7789 MB / 0.6478 GB, free: 56.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/1.458, allocations: 235.1 kB / 0.6481 GB, free: 56.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07762/1.536, allocations: 90.11 MB / 0.7361 GB, free: 21.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003754/1.54, allocations: 2.256 MB / 0.7383 GB, free: 20.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006302/1.546, allocations: 1.469 MB / 0.7397 GB, free: 19.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002855/1.549, allocations: 1.076 MB / 0.7407 GB, free: 19.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.853e-06/1.549, allocations: 3.531 kB / 0.7408 GB, free: 19.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5008/2.05, allocations: 47.23 MB / 0.7869 GB, free: 137.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/2.05, allocations: 163.6 kB / 0.787 GB, free: 137 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.404/6.454, allocations: 0 / 0.787 GB, free: 137 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat