Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Universal",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.01451/0.01451, 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.775/1.775, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002089/0.002089, 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.5042/0.5042, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006698/0.00067, allocations: 15.98 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1255, allocations: 48.7 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6244, allocations: 90.2 MB / 0.4901 GB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6248, allocations: 76.3 kB / 0.4902 GB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4181/1.043, allocations: 94.24 MB / 0.5822 GB, free: 3.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.043, allocations: 4 kB / 0.5822 GB, free: 3.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002741/1.043, allocations: 87.92 kB / 0.5823 GB, free: 3.773 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.3537/1.397, allocations: 4.38 MB / 0.5866 GB, free: 78.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.397, allocations: 12.47 kB / 0.5866 GB, free: 78.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005207/1.402, allocations: 0.8739 MB / 0.5875 GB, free: 78.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/1.432, allocations: 3.606 MB / 0.591 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0183/1.45, allocations: 4.469 MB / 0.5953 GB, free: 77.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006061/1.451, allocations: 340.3 kB / 0.5957 GB, free: 77.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003558/1.454, allocations: 454 kB / 0.5961 GB, free: 77.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04098/1.496, allocations: 11.76 MB / 0.6076 GB, free: 76.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003405/1.496, allocations: 32.7 kB / 0.6076 GB, free: 76.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003041/1.499, allocations: 206 kB / 0.6078 GB, free: 76.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003149/1.502, allocations: 1.323 MB / 0.6091 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/1.539, allocations: 11.45 MB / 0.6203 GB, free: 76.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09169/1.631, allocations: 41.34 MB / 0.6607 GB, free: 53.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01952/1.651, allocations: 5.961 MB / 0.6665 GB, free: 51.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/1.653, allocations: 1.889 MB / 0.6683 GB, free: 49.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.413e-05/1.653, allocations: 55.06 kB / 0.6684 GB, free: 49.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 8.496e-06/1.653, allocations: 0 / 0.6684 GB, free: 49.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.08599/1.739, allocations: 20.48 MB / 0.6884 GB, free: 42.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.739, allocations: 75 kB / 0.6884 GB, free: 42.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007217/1.746, allocations: 2.714 MB / 0.6911 GB, free: 41.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008094/1.747, allocations: 69.17 kB / 0.6912 GB, free: 41.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002561/1.75, allocations: 2.988 MB / 0.6941 GB, free: 38.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001791/1.752, allocations: 1.016 MB / 0.6951 GB, free: 37.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.753, allocations: 119 kB / 0.6952 GB, free: 37.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005712/1.753, allocations: 0.5627 MB / 0.6957 GB, free: 36.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007633/1.761, allocations: 2.833 MB / 0.6985 GB, free: 34.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/1.771, allocations: 6 MB / 0.7044 GB, free: 27.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009899/1.781, allocations: 4.107 MB / 0.7084 GB, free: 23.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.782, allocations: 32 kB / 0.7084 GB, free: 23.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02993/1.811, allocations: 10.02 MB / 0.7182 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.812, allocations: 52 kB / 0.7182 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.812, allocations: 108 kB / 0.7183 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006731/1.819, allocations: 1.386 MB / 0.7197 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009511/1.828, allocations: 1.384 MB / 0.721 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.844, allocations: 7.408 MB / 0.7283 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00757/1.852, allocations: 407.7 kB / 0.7287 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/1.853, allocations: 344 kB / 0.729 GB, free: 5.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (717): * Single equations (assignments): 710 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006962/1.86, allocations: 2.293 MB / 0.7312 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009923/1.861, allocations: 307.9 kB / 0.7315 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/1.883, allocations: 6.633 MB / 0.738 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/1.884, allocations: 48 kB / 0.738 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.884, allocations: 4 kB / 0.738 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.724e-05/1.884, allocations: 11.95 kB / 0.7381 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3819/2.266, allocations: 14.05 MB / 0.7518 GB, free: 83.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.997e-05/2.266, allocations: 9.938 kB / 0.7518 GB, free: 83.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004576/2.27, allocations: 450.9 kB / 0.7522 GB, free: 83.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007404/2.278, allocations: 1.215 MB / 0.7534 GB, free: 83.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008728/2.279, allocations: 49.73 kB / 0.7535 GB, free: 83.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/2.295, allocations: 6.747 MB / 0.76 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/2.295, allocations: 12.41 kB / 0.7601 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02668/2.322, allocations: 10.44 MB / 0.7702 GB, free: 81.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003165/2.325, allocations: 0.8256 MB / 0.7711 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/2.326, allocations: 49.8 kB / 0.7711 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/2.331, allocations: 205.3 kB / 0.7713 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/2.332, allocations: 158.2 kB / 0.7714 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004163/2.332, allocations: 74.41 kB / 0.7715 GB, free: 81.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005668/2.338, allocations: 1.874 MB / 0.7734 GB, free: 81.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.338, allocations: 0 / 0.7734 GB, free: 81.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008441/2.346, allocations: 1.138 MB / 0.7745 GB, free: 81.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02963/2.376, allocations: 12.84 MB / 0.787 GB, free: 77.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0186/2.395, allocations: 6.92 MB / 0.7938 GB, free: 77.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/2.395, allocations: 0 / 0.7938 GB, free: 77.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007335/2.402, allocations: 2.765 MB / 0.7965 GB, free: 76.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/2.406, allocations: 363.6 kB / 0.7968 GB, free: 76.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1248/2.531, allocations: 111.8 MB / 0.906 GB, free: 27.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0375/2.568, allocations: 3.68 MB / 0.9096 GB, free: 26.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.03839/2.607, allocations: 2.198 MB / 0.9117 GB, free: 26.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007707/2.614, allocations: 2.084 MB / 0.9138 GB, free: 24.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.884e-06/2.614, allocations: 0 / 0.9138 GB, free: 24.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5729/3.187, allocations: 79.24 MB / 0.9911 GB, free: 124.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/3.188, allocations: 193.4 kB / 0.9913 GB, free: 124.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.08/8.268, allocations: 0 / 0.9913 GB, free: 124.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat