Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FixedRotation",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.01053/0.01053, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.739/1.739, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001913/0.001912, allocations: 115.3 kB / 226.2 MB, free: 10.09 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.5517/0.5517, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006155/0.0006154, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.138, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.559, allocations: 83.51 MB / 495.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5593, allocations: 74.66 kB / 495.3 MB, free: 4.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.875/1.434, allocations: 138.8 MB / 0.6192 GB, free: 75.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.17e-06/1.434, allocations: 3.422 kB / 0.6192 GB, free: 75.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003733/1.435, allocations: 121.1 kB / 0.6193 GB, free: 75.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02592/1.461, allocations: 6.266 MB / 0.6254 GB, free: 72.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.461, allocations: 11.5 kB / 0.6255 GB, free: 72.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007259/1.468, allocations: 1.379 MB / 0.6268 GB, free: 72.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04978/1.518, allocations: 6.537 MB / 0.6332 GB, free: 72.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.535, allocations: 4.282 MB / 0.6374 GB, free: 71.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000871/1.536, allocations: 0.5095 MB / 0.6379 GB, free: 71.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005259/1.541, allocations: 0.6542 MB / 0.6385 GB, free: 71.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05827/1.599, allocations: 18.12 MB / 0.6562 GB, free: 67.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/1.6, allocations: 41.94 kB / 0.6562 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004898/1.605, allocations: 314.7 kB / 0.6565 GB, free: 67.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004716/1.61, allocations: 2.16 MB / 0.6586 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05062/1.66, allocations: 17.47 MB / 0.6757 GB, free: 62.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1313/1.792, allocations: 61.72 MB / 0.736 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3474/2.139, allocations: 8.428 MB / 0.7442 GB, free: 63.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03554/2.175, allocations: 11.83 MB / 0.7558 GB, free: 60.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/2.175, allocations: 62.16 kB / 0.7558 GB, free: 60.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 7.865e-06/2.175, allocations: 0 / 0.7558 GB, free: 60.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03069/2.206, allocations: 8.552 MB / 0.7642 GB, free: 58.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/2.206, allocations: 107.6 kB / 0.7643 GB, free: 58.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01356/2.219, allocations: 4.99 MB / 0.7692 GB, free: 58.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006627/2.22, allocations: 62.67 kB / 0.7692 GB, free: 58.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004421/2.224, allocations: 5.084 MB / 0.7742 GB, free: 55.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/2.226, allocations: 1.194 MB / 0.7753 GB, free: 54.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/2.228, allocations: 178.4 kB / 0.7755 GB, free: 54.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001001/2.229, allocations: 0.7108 MB / 0.7762 GB, free: 54.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008526/2.237, allocations: 3.09 MB / 0.7792 GB, free: 54.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/2.249, allocations: 8.435 MB / 0.7875 GB, free: 47.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/2.262, allocations: 5.168 MB / 0.7925 GB, free: 47.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000241/2.262, allocations: 53.22 kB / 0.7926 GB, free: 47.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03007/2.292, allocations: 11.33 MB / 0.8036 GB, free: 44.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/2.292, allocations: 90.59 kB / 0.8037 GB, free: 44.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003018/2.293, allocations: 188.3 kB / 0.8039 GB, free: 44.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/2.293, allocations: 279.2 kB / 0.8042 GB, free: 44.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/2.306, allocations: 2.066 MB / 0.8062 GB, free: 44.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004437/2.306, allocations: 370.9 kB / 0.8065 GB, free: 44.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/2.316, allocations: 1.292 MB / 0.8078 GB, free: 43.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/2.319, allocations: 0.5455 MB / 0.8083 GB, free: 43.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * 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.01033/2.329, allocations: 3.689 MB / 0.8119 GB, free: 41.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/2.33, allocations: 482.3 kB / 0.8124 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/2.333, allocations: 0.6555 MB / 0.813 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001477/2.333, allocations: 58.36 kB / 0.8131 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.341e-05/2.333, allocations: 7.172 kB / 0.8131 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/2.333, allocations: 12.7 kB / 0.8131 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03356/2.366, allocations: 12.65 MB / 0.8255 GB, free: 36.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/2.367, allocations: 11.62 kB / 0.8255 GB, free: 36.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/2.37, allocations: 426.5 kB / 0.8259 GB, free: 36.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.292e-05/2.37, allocations: 23.97 kB / 0.8259 GB, free: 36.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/2.37, allocations: 61.78 kB / 0.826 GB, free: 36.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-05/2.37, allocations: 29.03 kB / 0.826 GB, free: 36.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/2.37, allocations: 25.03 kB / 0.826 GB, free: 36.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00913/2.379, allocations: 6.564 MB / 0.8324 GB, free: 31.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/2.381, allocations: 0.5881 MB / 0.833 GB, free: 31.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/2.382, allocations: 57.41 kB / 0.833 GB, free: 31.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/2.385, allocations: 132.1 kB / 0.8332 GB, free: 31.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005785/2.386, allocations: 173.3 kB / 0.8333 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/2.386, allocations: 101.3 kB / 0.8334 GB, free: 31.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008804/2.395, allocations: 3.437 MB / 0.8368 GB, free: 30.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/2.395, allocations: 0 / 0.8368 GB, free: 30.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01058/2.406, allocations: 1.979 MB / 0.8387 GB, free: 29.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01167/2.417, allocations: 10.13 MB / 0.8486 GB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01673/2.434, allocations: 7.117 MB / 0.8556 GB, free: 19.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/2.434, allocations: 0 / 0.8556 GB, free: 19.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004673/2.439, allocations: 1.999 MB / 0.8575 GB, free: 19.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/2.443, allocations: 0.5727 MB / 0.8581 GB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4957/2.939, allocations: 181.7 MB / 1.036 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01474/2.954, allocations: 5.57 MB / 1.041 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01708/2.971, allocations: 3.553 MB / 1.044 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008435/2.979, allocations: 3.318 MB / 1.048 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/2.979, allocations: 0 / 1.048 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6283/3.608, allocations: 111 MB / 1.156 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/3.608, allocations: 172.4 kB / 1.156 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/9.995, allocations: 0 / 1.156 GB, free: 135.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat