Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.009832/0.009838, allocations: 165.1 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.73/1.73, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002013/0.002013, allocations: 110.6 kB / 226.2 MB, free: 10.09 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.4369/0.4369, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004908, allocations: 11.98 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1151, allocations: 48.7 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.6052, allocations: 91.45 MB / 0.4913 GB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.6055, allocations: 81.52 kB / 0.4914 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3972/1.003, allocations: 94.6 MB / 0.5838 GB, free: 2.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.003, allocations: 0 / 0.5838 GB, free: 2.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000252/1.003, allocations: 88 kB / 0.5839 GB, free: 2.312 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.3165/1.319, allocations: 4.636 MB / 0.5884 GB, free: 78.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.32, allocations: 14.06 kB / 0.5884 GB, free: 78.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004944/1.324, allocations: 0.9031 MB / 0.5893 GB, free: 78.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02983/1.354, allocations: 3.599 MB / 0.5928 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/1.374, allocations: 4.823 MB / 0.5975 GB, free: 77.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005263/1.375, allocations: 357.4 kB / 0.5979 GB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003143/1.378, allocations: 472.5 kB / 0.5983 GB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/1.413, allocations: 11.47 MB / 0.6095 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003282/1.413, allocations: 29.53 kB / 0.6096 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/1.416, allocations: 212.6 kB / 0.6098 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00283/1.419, allocations: 1.244 MB / 0.611 GB, free: 76.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04054/1.459, allocations: 10.96 MB / 0.6217 GB, free: 76.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.57, allocations: 38.47 MB / 0.6592 GB, free: 55.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/1.582, allocations: 4.385 MB / 0.6635 GB, free: 53.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/1.584, allocations: 1.323 MB / 0.6648 GB, free: 52.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/1.584, allocations: 61.64 kB / 0.6649 GB, free: 52.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.262e-06/1.584, allocations: 0 / 0.6649 GB, free: 52.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.06643/1.651, allocations: 14.29 MB / 0.6788 GB, free: 47.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.651, allocations: 79.69 kB / 0.6789 GB, free: 47.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/1.656, allocations: 2.631 MB / 0.6815 GB, free: 46.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005363/1.656, allocations: 61.48 kB / 0.6815 GB, free: 46.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.659, allocations: 3.097 MB / 0.6846 GB, free: 43.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.66, allocations: 0.9777 MB / 0.6855 GB, free: 43.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006558/1.661, allocations: 115.8 kB / 0.6856 GB, free: 43.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003911/1.661, allocations: 0.5628 MB / 0.6862 GB, free: 42.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/1.666, allocations: 2.37 MB / 0.6885 GB, free: 41.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007816/1.674, allocations: 5.631 MB / 0.694 GB, free: 36.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/1.683, allocations: 3.656 MB / 0.6976 GB, free: 34.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.86e-05/1.683, allocations: 39.95 kB / 0.6976 GB, free: 34.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02511/1.708, allocations: 8.704 MB / 0.7061 GB, free: 27.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/1.708, allocations: 56.22 kB / 0.7061 GB, free: 27.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/1.708, allocations: 116 kB / 0.7063 GB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006636/1.715, allocations: 1.063 MB / 0.7073 GB, free: 26.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008618/1.723, allocations: 1.372 MB / 0.7086 GB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/1.727, allocations: 2.501 MB / 0.7111 GB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005962/1.733, allocations: 317.6 kB / 0.7114 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.735, allocations: 351.9 kB / 0.7117 GB, free: 22.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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.00618/1.741, allocations: 2.365 MB / 0.714 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007176/1.742, allocations: 296.1 kB / 0.7143 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.758, allocations: 5.088 MB / 0.7193 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/1.758, allocations: 47.8 kB / 0.7193 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.758, allocations: 0 / 0.7193 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/1.758, allocations: 15.77 kB / 0.7193 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03239/1.791, allocations: 11.8 MB / 0.7309 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/1.791, allocations: 8 kB / 0.7309 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003727/1.794, allocations: 423 kB / 0.7313 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006197/1.801, allocations: 0.9136 MB / 0.7322 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006842/1.801, allocations: 62.62 kB / 0.7322 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/1.805, allocations: 2.299 MB / 0.7345 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.805, allocations: 11.94 kB / 0.7345 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/1.828, allocations: 8.199 MB / 0.7425 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.829, allocations: 345.1 kB / 0.7428 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.83, allocations: 49.88 kB / 0.7429 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.833, allocations: 135.8 kB / 0.743 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007611/1.834, allocations: 167.2 kB / 0.7431 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.834, allocations: 75.97 kB / 0.7432 GB, free: 8.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005143/1.839, allocations: 1.8 MB / 0.745 GB, free: 6.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.839, allocations: 0 / 0.745 GB, free: 6.906 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007008/1.846, allocations: 1.044 MB / 0.746 GB, free: 5.871 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.3501/2.196, allocations: 10.77 MB / 0.7565 GB, free: 84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/2.213, allocations: 6.22 MB / 0.7626 GB, free: 83.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.213, allocations: 0 / 0.7626 GB, free: 83.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007457/2.22, allocations: 2.592 MB / 0.7651 GB, free: 83.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/2.224, allocations: 454 kB / 0.7656 GB, free: 83.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1086/2.333, allocations: 112.5 MB / 0.8754 GB, free: 38.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009213/2.342, allocations: 3.758 MB / 0.8791 GB, free: 37.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009831/2.352, allocations: 2.14 MB / 0.8812 GB, free: 37.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005216/2.357, allocations: 2.081 MB / 0.8832 GB, free: 36.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/2.357, allocations: 0 / 0.8832 GB, free: 36.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5278/2.885, allocations: 74.25 MB / 0.9557 GB, free: 132.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/2.885, allocations: 199.4 kB / 0.9559 GB, free: 132.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.611/8.497, allocations: 0 / 0.9559 GB, free: 132.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat