Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01109/0.01109, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.036/2.036, allocations: 194.5 MB / 210.3 MB, free: 8.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002033/0.002033, allocations: 128.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2609/0.2609, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006586, allocations: 12.56 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1109, allocations: 54.87 MB / 461.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5481/0.6591, allocations: 97 MB / 0.5451 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.6595, allocations: 76.48 kB / 0.5451 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3966/1.056, allocations: 94.34 MB / 0.6373 GB, free: 6.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.056, allocations: 0 / 0.6373 GB, free: 6.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002485/1.056, allocations: 83.94 kB / 0.6373 GB, free: 6.316 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01945/1.076, allocations: 4.387 MB / 0.6416 GB, free: 1.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/1.076, allocations: 12.03 kB / 0.6416 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004812/1.081, allocations: 0.882 MB / 0.6425 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/1.11, allocations: 3.605 MB / 0.646 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/1.13, allocations: 4.489 MB / 0.6504 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006335/1.13, allocations: 336.8 kB / 0.6507 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/1.134, allocations: 451.8 kB / 0.6512 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04237/1.176, allocations: 11.77 MB / 0.6627 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/1.177, allocations: 35.66 kB / 0.6627 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002926/1.179, allocations: 203.8 kB / 0.6629 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003477/1.183, allocations: 1.329 MB / 0.6642 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0392/1.222, allocations: 11.44 MB / 0.6753 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.341, allocations: 41.38 MB / 0.7158 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3902/1.731, allocations: 5.953 MB / 0.7216 GB, free: 116.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/1.733, allocations: 1.885 MB / 0.7234 GB, free: 114.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/1.733, allocations: 57.12 kB / 0.7235 GB, free: 114.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 8.155e-06/1.733, allocations: 0 / 0.7235 GB, free: 114.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.08412/1.818, allocations: 20.46 MB / 0.7434 GB, free: 113 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/1.818, allocations: 78.09 kB / 0.7435 GB, free: 113 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/1.824, allocations: 2.72 MB / 0.7462 GB, free: 112.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007133/1.825, allocations: 67.75 kB / 0.7462 GB, free: 112.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002434/1.827, allocations: 2.998 MB / 0.7492 GB, free: 111.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.829, allocations: 1.021 MB / 0.7502 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000909/1.83, allocations: 112.4 kB / 0.7503 GB, free: 110.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004739/1.83, allocations: 0.561 MB / 0.7508 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007331/1.838, allocations: 2.84 MB / 0.7536 GB, free: 110.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009715/1.848, allocations: 5.992 MB / 0.7594 GB, free: 106.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009971/1.858, allocations: 4.113 MB / 0.7635 GB, free: 106.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/1.858, allocations: 29.72 kB / 0.7635 GB, free: 106.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.03673/1.894, allocations: 10.02 MB / 0.7733 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.895, allocations: 53.06 kB / 0.7733 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000265/1.895, allocations: 110.3 kB / 0.7734 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008751/1.904, allocations: 1.382 MB / 0.7748 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/1.916, allocations: 1.391 MB / 0.7761 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/1.936, allocations: 7.401 MB / 0.7834 GB, free: 99.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009819/1.946, allocations: 403.9 kB / 0.7837 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/1.948, allocations: 345.7 kB / 0.7841 GB, free: 99.01 MB / 490.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.006534/1.955, allocations: 2.303 MB / 0.7863 GB, free: 97.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/1.956, allocations: 308.5 kB / 0.7866 GB, free: 97.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/1.974, allocations: 6.611 MB / 0.7931 GB, free: 95.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/1.974, allocations: 48.12 kB / 0.7931 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.974, allocations: 7.531 kB / 0.7931 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.417e-05/1.974, allocations: 10.17 kB / 0.7931 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03931/2.014, allocations: 14.04 MB / 0.8069 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.483e-05/2.014, allocations: 8 kB / 0.8069 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004213/2.018, allocations: 460 kB / 0.8073 GB, free: 87.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005928/2.024, allocations: 1.215 MB / 0.8085 GB, free: 86.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000497/2.025, allocations: 48.78 kB / 0.8085 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/2.038, allocations: 6.749 MB / 0.8151 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/2.038, allocations: 11.94 kB / 0.8151 GB, free: 80.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0224/2.06, allocations: 10.44 MB / 0.8253 GB, free: 71.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/2.063, allocations: 0.8199 MB / 0.8261 GB, free: 70.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009977/2.064, allocations: 56.2 kB / 0.8262 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003392/2.068, allocations: 205.4 kB / 0.8264 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/2.068, allocations: 166.6 kB / 0.8265 GB, free: 70.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/2.069, allocations: 71.75 kB / 0.8266 GB, free: 69.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004375/2.073, allocations: 1.879 MB / 0.8284 GB, free: 68.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.073, allocations: 0 / 0.8284 GB, free: 68.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007641/2.081, allocations: 1.137 MB / 0.8295 GB, free: 67.31 MB / 490.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.02862/2.109, allocations: 12.83 MB / 0.8421 GB, free: 55.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/2.125, allocations: 6.927 MB / 0.8488 GB, free: 49.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.125, allocations: 0 / 0.8488 GB, free: 49.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006175/2.131, allocations: 2.76 MB / 0.8515 GB, free: 47.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/2.134, allocations: 363.1 kB / 0.8519 GB, free: 46.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5441/2.679, allocations: 111.8 MB / 0.9611 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008277/2.687, allocations: 3.673 MB / 0.9647 GB, free: 61.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01098/2.698, allocations: 2.197 MB / 0.9668 GB, free: 61.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005525/2.704, allocations: 2.092 MB / 0.9688 GB, free: 61.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/2.704, allocations: 3.938 kB / 0.9688 GB, free: 61.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/2.882, allocations: 79.25 MB / 1.046 GB, free: 21.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/2.882, allocations: 192.1 kB / 1.046 GB, free: 21.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.112/7.995, allocations: 0 / 1.046 GB, free: 21.11 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat