Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.0104/0.0104, allocations: 164.9 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.808/1.808, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.002068/0.002068, allocations: 103.4 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.5295/0.5295, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007389/0.0007389, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1167, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5683, allocations: 91.26 MB / 0.4912 GB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.5686, allocations: 76.03 kB / 0.4912 GB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.384/0.9527, allocations: 90.56 MB / 0.5797 GB, free: 6.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.9528, allocations: 3.938 kB / 0.5797 GB, free: 6.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002883/0.9531, allocations: 80 kB / 0.5797 GB, free: 6.578 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.02533/0.9784, allocations: 4.398 MB / 0.584 GB, free: 2.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.9785, allocations: 11.97 kB / 0.5841 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005051/0.9836, allocations: 0.853 MB / 0.5849 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3299/1.314, allocations: 3.557 MB / 0.5884 GB, free: 81.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01913/1.333, allocations: 4.694 MB / 0.5929 GB, free: 81.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/1.333, allocations: 330.7 kB / 0.5933 GB, free: 81.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.336, allocations: 437.8 kB / 0.5937 GB, free: 81.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/1.371, allocations: 11.04 MB / 0.6045 GB, free: 80.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.371, allocations: 32 kB / 0.6045 GB, free: 80.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00274/1.374, allocations: 199.2 kB / 0.6047 GB, free: 80.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002836/1.377, allocations: 1.227 MB / 0.6059 GB, free: 80.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/1.408, allocations: 10.68 MB / 0.6163 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08007/1.488, allocations: 37.33 MB / 0.6528 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/1.501, allocations: 4.394 MB / 0.657 GB, free: 58.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/1.503, allocations: 1.321 MB / 0.6583 GB, free: 57.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/1.503, allocations: 58.95 kB / 0.6584 GB, free: 57.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.434e-06/1.503, allocations: 3.25 kB / 0.6584 GB, free: 57.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.07018/1.573, allocations: 14.27 MB / 0.6723 GB, free: 52.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.573, allocations: 78.28 kB / 0.6724 GB, free: 52.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/1.579, allocations: 2.508 MB / 0.6749 GB, free: 51.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005837/1.58, allocations: 64.06 kB / 0.6749 GB, free: 51.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.582, allocations: 2.923 MB / 0.6778 GB, free: 49.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.583, allocations: 0.9732 MB / 0.6787 GB, free: 48.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007859/1.584, allocations: 113.2 kB / 0.6788 GB, free: 48.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005474/1.585, allocations: 0.5584 MB / 0.6794 GB, free: 48.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006068/1.591, allocations: 2.33 MB / 0.6816 GB, free: 47.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008225/1.599, allocations: 5.473 MB / 0.687 GB, free: 42.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/1.608, allocations: 3.582 MB / 0.6905 GB, free: 41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/1.608, allocations: 30.41 kB / 0.6905 GB, free: 41 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02553/1.633, allocations: 8.528 MB / 0.6988 GB, free: 35.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.634, allocations: 52 kB / 0.6989 GB, free: 35.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/1.634, allocations: 108.1 kB / 0.699 GB, free: 34.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/1.64, allocations: 1.059 MB / 0.7 GB, free: 34.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009365/1.65, allocations: 1.333 MB / 0.7013 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/1.654, allocations: 2.492 MB / 0.7038 GB, free: 30.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005834/1.66, allocations: 313.6 kB / 0.7041 GB, free: 30.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.661, allocations: 334 kB / 0.7044 GB, free: 30.13 MB / 426.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.006184/1.667, allocations: 2.273 MB / 0.7066 GB, free: 28.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007184/1.668, allocations: 280.3 kB / 0.7069 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.685, allocations: 5.064 MB / 0.7118 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/1.685, allocations: 44 kB / 0.7119 GB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.685, allocations: 3.797 kB / 0.7119 GB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/1.685, allocations: 12.3 kB / 0.7119 GB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03331/1.718, allocations: 11.61 MB / 0.7232 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.833e-05/1.719, allocations: 8 kB / 0.7232 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003871/1.722, allocations: 429 kB / 0.7236 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007448/1.73, allocations: 0.9147 MB / 0.7245 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006255/1.731, allocations: 58.47 kB / 0.7246 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/1.734, allocations: 2.31 MB / 0.7268 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-06/1.734, allocations: 18.47 kB / 0.7269 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01902/1.753, allocations: 8.153 MB / 0.7348 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008554/1.754, allocations: 329.3 kB / 0.7351 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007176/1.755, allocations: 52 kB / 0.7352 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.757, allocations: 135.8 kB / 0.7353 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005479/1.758, allocations: 165.6 kB / 0.7355 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.758, allocations: 79.02 kB / 0.7355 GB, free: 2.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003432/1.761, allocations: 1.709 MB / 0.7372 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.761, allocations: 0 / 0.7372 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005958/1.767, allocations: 1.008 MB / 0.7382 GB, free: 15.7 MB / 442.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.02405/1.791, allocations: 10.76 MB / 0.7487 GB, free: 4.648 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3167/2.108, allocations: 6.128 MB / 0.7547 GB, free: 89.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/2.108, allocations: 1.438 kB / 0.7547 GB, free: 89.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00877/2.117, allocations: 2.6 MB / 0.7572 GB, free: 88.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/2.121, allocations: 386.5 kB / 0.7576 GB, free: 88.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/2.231, allocations: 107.9 MB / 0.863 GB, free: 32.47 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02258/2.254, allocations: 3.591 MB / 0.8665 GB, free: 31.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02517/2.279, allocations: 2.084 MB / 0.8685 GB, free: 31.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01046/2.29, allocations: 1.976 MB / 0.8704 GB, free: 31.52 MB / 474.7 MB Notification: Performance of SimCode: time 2.886e-06/2.29, allocations: 0 / 0.8704 GB, free: 31.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/2.451, allocations: 70.61 MB / 0.9394 GB, free: 5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/2.451, allocations: 212.5 kB / 0.9396 GB, free: 4.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.912/7.363, allocations: 0 / 0.9396 GB, free: 4.75 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat