Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",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.009896/0.009897, 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.762/1.762, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.002058/0.002058, allocations: 103.4 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.452/0.452, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005373, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5635, allocations: 92.24 MB / 0.4921 GB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5639, allocations: 78.33 kB / 0.4922 GB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5161/1.08, allocations: 90.63 MB / 0.5807 GB, free: 5.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.758e-06/1.08, allocations: 0 / 0.5807 GB, free: 5.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002646/1.08, allocations: 83.94 kB / 0.5808 GB, free: 5.477 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01835/1.099, allocations: 4.108 MB / 0.5848 GB, free: 1.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.099, allocations: 12.03 kB / 0.5848 GB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004594/1.103, allocations: 0.8409 MB / 0.5856 GB, free: 448 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3582/1.462, allocations: 3.542 MB / 0.5891 GB, free: 81.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/1.481, allocations: 4.429 MB / 0.5934 GB, free: 81.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/1.482, allocations: 328.8 kB / 0.5937 GB, free: 81.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/1.485, allocations: 429.4 kB / 0.5941 GB, free: 81.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/1.517, allocations: 10.92 MB / 0.6048 GB, free: 79.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/1.517, allocations: 34.98 kB / 0.6048 GB, free: 79.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/1.519, allocations: 198 kB / 0.605 GB, free: 79.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00271/1.522, allocations: 1.249 MB / 0.6062 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/1.553, allocations: 10.47 MB / 0.6165 GB, free: 79.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08273/1.636, allocations: 37.74 MB / 0.6533 GB, free: 60.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.65, allocations: 4.58 MB / 0.6578 GB, free: 57.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/1.652, allocations: 1.315 MB / 0.6591 GB, free: 56.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.652, allocations: 54.52 kB / 0.6591 GB, free: 56.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 6.532e-06/1.652, allocations: 0 / 0.6591 GB, free: 56.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.06809/1.72, allocations: 17.93 MB / 0.6766 GB, free: 50.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/1.72, allocations: 76.17 kB / 0.6767 GB, free: 50.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006014/1.726, allocations: 2.467 MB / 0.6791 GB, free: 49.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006129/1.727, allocations: 61.08 kB / 0.6792 GB, free: 49.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.729, allocations: 2.845 MB / 0.682 GB, free: 47.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.731, allocations: 0.9116 MB / 0.6828 GB, free: 46.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007815/1.731, allocations: 106.1 kB / 0.6829 GB, free: 46.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004861/1.732, allocations: 0.5398 MB / 0.6835 GB, free: 46.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005967/1.738, allocations: 2.288 MB / 0.6857 GB, free: 45.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007961/1.746, allocations: 5.236 MB / 0.6908 GB, free: 40.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007806/1.754, allocations: 3.465 MB / 0.6942 GB, free: 38.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.754, allocations: 28 kB / 0.6942 GB, free: 38.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0237/1.778, allocations: 8.274 MB / 0.7023 GB, free: 31.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.451e-05/1.778, allocations: 55.56 kB / 0.7024 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/1.778, allocations: 100 kB / 0.7025 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004884/1.783, allocations: 0.9486 MB / 0.7034 GB, free: 30.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00811/1.791, allocations: 1.241 MB / 0.7046 GB, free: 29.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.801, allocations: 4.871 MB / 0.7094 GB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005657/1.807, allocations: 288 kB / 0.7096 GB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.808, allocations: 311.9 kB / 0.7099 GB, free: 24.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (661): * Single equations (assignments): 654 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006165/1.815, allocations: 2.186 MB / 0.7121 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007499/1.815, allocations: 284.3 kB / 0.7123 GB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.831, allocations: 5.097 MB / 0.7173 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.831, allocations: 50.03 kB / 0.7174 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.831, allocations: 4 kB / 0.7174 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-05/1.831, allocations: 11.25 kB / 0.7174 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/1.865, allocations: 11.96 MB / 0.7291 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.865, allocations: 8.188 kB / 0.7291 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003548/1.869, allocations: 408.5 kB / 0.7295 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004453/1.873, allocations: 0.7715 MB / 0.7302 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006436/1.874, allocations: 54.44 kB / 0.7303 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009002/1.883, allocations: 4.135 MB / 0.7343 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.883, allocations: 15.94 kB / 0.7343 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02156/1.905, allocations: 8.437 MB / 0.7426 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/1.908, allocations: 0.6809 MB / 0.7432 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.909, allocations: 54.88 kB / 0.7433 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.912, allocations: 139.6 kB / 0.7434 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008035/1.913, allocations: 156.9 kB / 0.7436 GB, free: 9.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/1.913, allocations: 72 kB / 0.7436 GB, free: 9.109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005091/1.918, allocations: 1.689 MB / 0.7453 GB, free: 7.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.918, allocations: 0 / 0.7453 GB, free: 7.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007331/1.925, allocations: 1.009 MB / 0.7463 GB, free: 6.414 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.415/2.34, allocations: 11.63 MB / 0.7576 GB, free: 86.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01905/2.36, allocations: 5.59 MB / 0.7631 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.868e-05/2.36, allocations: 4.812 kB / 0.7631 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007303/2.367, allocations: 2.147 MB / 0.7652 GB, free: 85.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/2.371, allocations: 342.3 kB / 0.7655 GB, free: 85.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1281/2.499, allocations: 102.2 MB / 0.8653 GB, free: 34.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01196/2.511, allocations: 3.524 MB / 0.8687 GB, free: 33.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01219/2.524, allocations: 1.994 MB / 0.8707 GB, free: 33.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007414/2.531, allocations: 1.879 MB / 0.8725 GB, free: 32.88 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/2.531, allocations: 0 / 0.8725 GB, free: 32.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/2.705, allocations: 69.24 MB / 0.9401 GB, free: 2.457 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003796/2.705, allocations: 194.1 kB / 0.9403 GB, free: 2.211 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.893/7.598, allocations: 64 / 0.9403 GB, free: 2.211 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat