Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion",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.01047/0.01047, allocations: 175.9 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.108/2.108, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.003253/0.003253, allocations: 128.5 kB / 255.6 MB, free: 10.23 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.2655/0.2655, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008101/0.000811, allocations: 11.31 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1366, allocations: 54.87 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.532/0.6687, allocations: 96.03 MB / 0.5441 GB, free: 21.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.669, allocations: 77.62 kB / 0.5442 GB, free: 21.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3437/1.013, allocations: 86.53 MB / 0.6287 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.013, allocations: 11.88 kB / 0.6287 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002207/1.013, allocations: 71.67 kB / 0.6288 GB, free: 14.38 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01648/1.029, allocations: 3.865 MB / 0.6325 GB, free: 10.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.03, allocations: 12.02 kB / 0.6325 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003955/1.034, allocations: 0.7746 MB / 0.6333 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02958/1.063, allocations: 3.651 MB / 0.6369 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/1.083, allocations: 4.95 MB / 0.6417 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004909/1.084, allocations: 294.9 kB / 0.642 GB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00317/1.087, allocations: 392.7 kB / 0.6424 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03542/1.122, allocations: 10.33 MB / 0.6525 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/1.123, allocations: 39.7 kB / 0.6525 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/1.125, allocations: 174.6 kB / 0.6527 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003168/1.128, allocations: 1.19 MB / 0.6538 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03346/1.162, allocations: 10.15 MB / 0.6637 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09228/1.254, allocations: 36.47 MB / 0.6993 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.269, allocations: 4.407 MB / 0.7036 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/1.271, allocations: 1.315 MB / 0.7049 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/1.271, allocations: 56.52 kB / 0.705 GB, free: 14.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 1.212e-05/1.271, allocations: 0 / 0.705 GB, free: 14.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=261): time 0.4147/1.686, allocations: 17.3 MB / 0.7219 GB, free: 125.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001625/1.687, allocations: 1.54 MB / 0.7234 GB, free: 124.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006722/1.694, allocations: 2.457 MB / 0.7258 GB, free: 124.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006619/1.695, allocations: 60.03 kB / 0.7258 GB, free: 124.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002864/1.698, allocations: 2.734 MB / 0.7285 GB, free: 123.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001895/1.7, allocations: 0.9481 MB / 0.7294 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009253/1.7, allocations: 115.2 kB / 0.7295 GB, free: 122.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006485/1.701, allocations: 0.5509 MB / 0.7301 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007174/1.708, allocations: 2.426 MB / 0.7325 GB, free: 122.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009836/1.718, allocations: 5.443 MB / 0.7378 GB, free: 118.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009264/1.728, allocations: 3.641 MB / 0.7413 GB, free: 118.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.728, allocations: 33.72 kB / 0.7414 GB, free: 118.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03769/1.765, allocations: 9.468 MB / 0.7506 GB, free: 117.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.766, allocations: 51.28 kB / 0.7506 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03688/1.803, allocations: 4.59 MB / 0.7551 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02633/1.829, allocations: 2.063 MB / 0.7571 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008278/1.837, allocations: 1.29 MB / 0.7584 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.849, allocations: 5.143 MB / 0.7634 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007274/1.857, allocations: 396.4 kB / 0.7638 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/1.858, allocations: 328.7 kB / 0.7641 GB, free: 115 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 21 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006956/1.865, allocations: 2.11 MB / 0.7662 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008802/1.866, allocations: 277.8 kB / 0.7664 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/1.886, allocations: 5.39 MB / 0.7717 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0169/1.903, allocations: 4.64 MB / 0.7762 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.903, allocations: 3.812 kB / 0.7762 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.219e-05/1.903, allocations: 7.594 kB / 0.7763 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04586/1.949, allocations: 14.64 MB / 0.7905 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.141e-05/1.949, allocations: 10.88 kB / 0.7906 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/1.953, allocations: 419.3 kB / 0.791 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00807/1.961, allocations: 1.196 MB / 0.7921 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006887/1.962, allocations: 61.45 kB / 0.7922 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/1.969, allocations: 4.54 MB / 0.7966 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001306/1.971, allocations: 1.474 MB / 0.7981 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02363/1.994, allocations: 8.847 MB / 0.8067 GB, free: 92.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.995, allocations: 340.3 kB / 0.807 GB, free: 92.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/1.997, allocations: 57.22 kB / 0.8071 GB, free: 92.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/2.001, allocations: 190.6 kB / 0.8073 GB, free: 91.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009774/2.002, allocations: 168.7 kB / 0.8074 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004007/2.002, allocations: 80.02 kB / 0.8075 GB, free: 91.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004603/2.007, allocations: 1.686 MB / 0.8091 GB, free: 90.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.007, allocations: 0 / 0.8091 GB, free: 90.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007408/2.014, allocations: 1.077 MB / 0.8102 GB, free: 89.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02433/2.039, allocations: 11.98 MB / 0.8219 GB, free: 78.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01739/2.056, allocations: 6.477 MB / 0.8282 GB, free: 72.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/2.056, allocations: 4 kB / 0.8282 GB, free: 72.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008482/2.065, allocations: 2.887 MB / 0.831 GB, free: 70.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/2.068, allocations: 348.9 kB / 0.8314 GB, free: 69.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.448/2.516, allocations: 105.4 MB / 0.9343 GB, free: 95.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008635/2.525, allocations: 3.394 MB / 0.9376 GB, free: 95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009066/2.534, allocations: 2.109 MB / 0.9397 GB, free: 94.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004808/2.539, allocations: 1.801 MB / 0.9414 GB, free: 94.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.964e-06/2.539, allocations: 3.219 kB / 0.9414 GB, free: 94.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/2.729, allocations: 71.61 MB / 1.011 GB, free: 59.77 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/2.73, allocations: 212.2 kB / 1.012 GB, free: 59.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.986/7.716, allocations: 0 / 1.012 GB, free: 59.53 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat