Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.01499/0.01499, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.372/2.372, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.002028/0.002027, allocations: 120.5 kB / 255.6 MB, free: 11.2 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.3583/0.3583, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004937, allocations: 20.66 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1064, allocations: 54.87 MB / 461.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6109, allocations: 97.98 MB / 0.546 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.6113, allocations: 79.03 kB / 0.5461 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3683/0.9796, allocations: 90.57 MB / 0.6346 GB, free: 9.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.9797, allocations: 0 / 0.6346 GB, free: 9.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002546/0.98, allocations: 83.98 kB / 0.6346 GB, free: 9.141 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.0248/1.005, allocations: 4.394 MB / 0.6389 GB, free: 4.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.005, allocations: 12.03 kB / 0.6389 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004578/1.009, allocations: 0.8608 MB / 0.6398 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03317/1.043, allocations: 3.554 MB / 0.6432 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/1.064, allocations: 4.688 MB / 0.6478 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005386/1.065, allocations: 336.6 kB / 0.6481 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003204/1.068, allocations: 435.8 kB / 0.6486 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/1.106, allocations: 11.04 MB / 0.6593 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003362/1.106, allocations: 27.72 kB / 0.6594 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002845/1.109, allocations: 195.9 kB / 0.6596 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003111/1.112, allocations: 1.235 MB / 0.6608 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03473/1.147, allocations: 10.67 MB / 0.6712 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08604/1.233, allocations: 37.33 MB / 0.7076 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.247, allocations: 4.396 MB / 0.7119 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/1.249, allocations: 1.323 MB / 0.7132 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/1.249, allocations: 52.56 kB / 0.7133 GB, free: 6.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 6.502e-06/1.249, allocations: 0 / 0.7133 GB, free: 6.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.4005/1.65, allocations: 14.27 MB / 0.7272 GB, free: 119.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/1.65, allocations: 76.59 kB / 0.7273 GB, free: 119.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/1.658, allocations: 2.509 MB / 0.7297 GB, free: 119.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006514/1.658, allocations: 61.34 kB / 0.7298 GB, free: 119.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.661, allocations: 2.927 MB / 0.7327 GB, free: 118.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.663, allocations: 0.9712 MB / 0.7336 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000814/1.664, allocations: 114.6 kB / 0.7337 GB, free: 117.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005402/1.665, allocations: 0.5535 MB / 0.7343 GB, free: 117.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006664/1.671, allocations: 2.336 MB / 0.7365 GB, free: 117.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008237/1.68, allocations: 5.466 MB / 0.7419 GB, free: 113.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/1.688, allocations: 3.576 MB / 0.7454 GB, free: 113.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.688, allocations: 35.48 kB / 0.7454 GB, free: 113.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02524/1.713, allocations: 8.531 MB / 0.7537 GB, free: 112.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/1.713, allocations: 56.31 kB / 0.7538 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/1.713, allocations: 107.4 kB / 0.7539 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006657/1.72, allocations: 1.057 MB / 0.7549 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008493/1.728, allocations: 1.33 MB / 0.7562 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/1.733, allocations: 2.493 MB / 0.7587 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006379/1.739, allocations: 322 kB / 0.759 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.74, allocations: 339.1 kB / 0.7593 GB, free: 111.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (719): * 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): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.006206/1.747, allocations: 2.257 MB / 0.7615 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008374/1.748, allocations: 285.1 kB / 0.7618 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.764, allocations: 5.059 MB / 0.7667 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001143/1.764, allocations: 53.75 kB / 0.7668 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.764, allocations: 0.6094 kB / 0.7668 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/1.764, allocations: 14.75 kB / 0.7668 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0469/1.811, allocations: 11.61 MB / 0.7781 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-05/1.811, allocations: 11.22 kB / 0.7781 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005037/1.816, allocations: 427.2 kB / 0.7785 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007919/1.824, allocations: 0.9061 MB / 0.7794 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007984/1.825, allocations: 65.62 kB / 0.7795 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00496/1.83, allocations: 2.307 MB / 0.7817 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/1.83, allocations: 13.53 kB / 0.7817 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0249/1.855, allocations: 8.147 MB / 0.7897 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.856, allocations: 332.8 kB / 0.79 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.857, allocations: 52.41 kB / 0.7901 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.861, allocations: 140.5 kB / 0.7902 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007586/1.861, allocations: 164.2 kB / 0.7903 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.862, allocations: 81.52 kB / 0.7904 GB, free: 100.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004044/1.866, allocations: 1.707 MB / 0.7921 GB, free: 99.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.866, allocations: 0 / 0.7921 GB, free: 99.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00694/1.873, allocations: 1.005 MB / 0.7931 GB, free: 99.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.02172/1.895, allocations: 10.75 MB / 0.8036 GB, free: 91.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01605/1.911, allocations: 6.139 MB / 0.8096 GB, free: 86.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.911, allocations: 4 kB / 0.8096 GB, free: 86.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007681/1.918, allocations: 2.594 MB / 0.8121 GB, free: 83.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.922, allocations: 389.1 kB / 0.8125 GB, free: 83.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4751/2.397, allocations: 108.3 MB / 0.9182 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01257/2.41, allocations: 3.595 MB / 0.9217 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01243/2.422, allocations: 2.082 MB / 0.9237 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01883/2.441, allocations: 1.982 MB / 0.9257 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/2.441, allocations: 0 / 0.9257 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1984/2.64, allocations: 70.6 MB / 0.9946 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/2.64, allocations: 204.6 kB / 0.9948 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.972/7.612, allocations: 3.938 kB / 0.9948 GB, free: 105.3 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat