Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Revolute",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.009757/0.009757, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.63/1.63, 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.003192/0.003192, allocations: 103 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.4998/0.4998, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004695, allocations: 8 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5524, allocations: 89.22 MB / 0.4892 GB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5527, allocations: 77.7 kB / 0.4892 GB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3696/0.9223, allocations: 85.55 MB / 0.5728 GB, free: 13.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9224, allocations: 0 / 0.5728 GB, free: 13.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002001/0.9226, allocations: 72 kB / 0.5728 GB, free: 13.59 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01591/0.9385, allocations: 3.791 MB / 0.5766 GB, free: 9.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.9386, allocations: 12.03 kB / 0.5766 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004109/0.9427, allocations: 0.7787 MB / 0.5773 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03599/0.9787, allocations: 3.504 MB / 0.5807 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02342/1.002, allocations: 4.163 MB / 0.5848 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/1.003, allocations: 295.7 kB / 0.5851 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003007/1.006, allocations: 379.9 kB / 0.5855 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3446/1.351, allocations: 10.3 MB / 0.5955 GB, free: 83.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003595/1.351, allocations: 27.5 kB / 0.5955 GB, free: 83.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002956/1.354, allocations: 174.5 kB / 0.5957 GB, free: 83.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/1.357, allocations: 1.213 MB / 0.5969 GB, free: 83.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03139/1.389, allocations: 10.01 MB / 0.6067 GB, free: 83.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08252/1.471, allocations: 35.48 MB / 0.6413 GB, free: 66.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.487, allocations: 4.952 MB / 0.6461 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002283/1.489, allocations: 1.882 MB / 0.648 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/1.49, allocations: 58.94 kB / 0.648 GB, free: 62.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 8.065e-06/1.49, allocations: 0 / 0.648 GB, free: 62.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=235): time 0.05668/1.546, allocations: 14.35 MB / 0.6621 GB, free: 57.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/1.546, allocations: 79.94 kB / 0.6621 GB, free: 57.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006041/1.552, allocations: 2.363 MB / 0.6644 GB, free: 56.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005904/1.553, allocations: 56.64 kB / 0.6645 GB, free: 56.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002373/1.556, allocations: 2.691 MB / 0.6671 GB, free: 54.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.557, allocations: 0.8496 MB / 0.6679 GB, free: 53.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/1.558, allocations: 104.3 kB / 0.668 GB, free: 53.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005485/1.559, allocations: 0.5287 MB / 0.6686 GB, free: 53.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005734/1.564, allocations: 2.178 MB / 0.6707 GB, free: 52.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008043/1.572, allocations: 5.066 MB / 0.6756 GB, free: 48.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007837/1.58, allocations: 3.321 MB / 0.6789 GB, free: 47.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/1.58, allocations: 31.33 kB / 0.6789 GB, free: 47.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02294/1.603, allocations: 7.851 MB / 0.6866 GB, free: 44.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.604, allocations: 50.44 kB / 0.6866 GB, free: 44.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/1.604, allocations: 103.2 kB / 0.6867 GB, free: 44.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/1.608, allocations: 0.8018 MB / 0.6875 GB, free: 44.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008141/1.616, allocations: 1.2 MB / 0.6887 GB, free: 44.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009587/1.626, allocations: 4.24 MB / 0.6928 GB, free: 40.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/1.632, allocations: 293.1 kB / 0.6931 GB, free: 40.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.633, allocations: 299.8 kB / 0.6934 GB, free: 40.07 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: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 629 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005995/1.639, allocations: 2.042 MB / 0.6954 GB, free: 38.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007053/1.64, allocations: 268.5 kB / 0.6956 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.654, allocations: 4.7 MB / 0.7002 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/1.654, allocations: 43.7 kB / 0.7003 GB, free: 34.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.654, allocations: 4 kB / 0.7003 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/1.654, allocations: 10.22 kB / 0.7003 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.688, allocations: 10.62 MB / 0.7106 GB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-05/1.688, allocations: 8 kB / 0.7107 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/1.691, allocations: 364.3 kB / 0.711 GB, free: 25.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003775/1.695, allocations: 0.6501 MB / 0.7116 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006381/1.696, allocations: 39.66 kB / 0.7117 GB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/1.704, allocations: 3.694 MB / 0.7153 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/1.704, allocations: 5.016 kB / 0.7153 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.722, allocations: 7.665 MB / 0.7228 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.724, allocations: 0.6579 MB / 0.7234 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009519/1.725, allocations: 40 kB / 0.7235 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.728, allocations: 136 kB / 0.7236 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/1.729, allocations: 133.4 kB / 0.7237 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.729, allocations: 60 kB / 0.7238 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004151/1.733, allocations: 1.616 MB / 0.7253 GB, free: 12.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.273e-06/1.734, allocations: 0 / 0.7253 GB, free: 12.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006498/1.74, allocations: 0.9492 MB / 0.7263 GB, free: 11.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01927/1.759, allocations: 10.08 MB / 0.7361 GB, free: 1.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01334/1.773, allocations: 5.336 MB / 0.7413 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.773, allocations: 1.938 kB / 0.7413 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005549/1.778, allocations: 2.014 MB / 0.7433 GB, free: 10.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/1.781, allocations: 313 kB / 0.7436 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4349/2.216, allocations: 98.69 MB / 0.84 GB, free: 47.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006933/2.223, allocations: 3.309 MB / 0.8432 GB, free: 47.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008192/2.232, allocations: 1.967 MB / 0.8451 GB, free: 46.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004478/2.236, allocations: 1.771 MB / 0.8469 GB, free: 46.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.262e-06/2.236, allocations: 0 / 0.8469 GB, free: 46.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/2.39, allocations: 64.15 MB / 0.9095 GB, free: 34.15 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/2.39, allocations: 182.8 kB / 0.9097 GB, free: 33.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.478/6.868, allocations: 0 / 0.9097 GB, free: 33.92 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat