Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Prismatic",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.0135/0.0135, allocations: 165.9 kB / 15.11 MB, free: 5.98 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.598/1.598, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.002117/0.002117, allocations: 110.5 kB / 226.2 MB, free: 10.08 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.4455/0.4455, allocations: 38.06 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.000513, allocations: 8 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1099, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5443, allocations: 88.78 MB / 0.4887 GB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.5447, allocations: 72.81 kB / 0.4888 GB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.385/0.9297, allocations: 84.64 MB / 0.5715 GB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.9298, allocations: 0 / 0.5715 GB, free: 14.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.93, allocations: 68 kB / 0.5715 GB, free: 14.88 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01585/0.9459, allocations: 3.658 MB / 0.5751 GB, free: 11.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.9459, allocations: 12.03 kB / 0.5751 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004155/0.9501, allocations: 0.7784 MB / 0.5759 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02816/0.9783, allocations: 3.504 MB / 0.5793 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01894/0.9973, allocations: 4.202 MB / 0.5834 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/0.998, allocations: 291.7 kB / 0.5837 GB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003193/1.001, allocations: 391.9 kB / 0.584 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3426/1.344, allocations: 9.941 MB / 0.5937 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/1.344, allocations: 25.72 kB / 0.5938 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/1.347, allocations: 182.8 kB / 0.5939 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/1.35, allocations: 1.165 MB / 0.5951 GB, free: 82.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0271/1.377, allocations: 9.425 MB / 0.6043 GB, free: 82.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0671/1.444, allocations: 32.45 MB / 0.636 GB, free: 67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/1.455, allocations: 3.357 MB / 0.6393 GB, free: 65.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001787/1.456, allocations: 1.308 MB / 0.6405 GB, free: 64.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/1.457, allocations: 48.75 kB / 0.6406 GB, free: 63.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 6.382e-06/1.457, allocations: 1.625 kB / 0.6406 GB, free: 63.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.03566/1.492, allocations: 10.29 MB / 0.6506 GB, free: 59.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/1.492, allocations: 93.7 kB / 0.6507 GB, free: 59.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004536/1.497, allocations: 2.348 MB / 0.653 GB, free: 58.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003641/1.497, allocations: 44.98 kB / 0.6531 GB, free: 58.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/1.499, allocations: 2.746 MB / 0.6557 GB, free: 56.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.501, allocations: 0.7072 MB / 0.6564 GB, free: 56.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005784/1.501, allocations: 90.31 kB / 0.6565 GB, free: 56.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000369/1.502, allocations: 0.5191 MB / 0.657 GB, free: 55.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/1.505, allocations: 1.534 MB / 0.6585 GB, free: 55.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/1.511, allocations: 4.416 MB / 0.6628 GB, free: 50.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005682/1.517, allocations: 2.625 MB / 0.6654 GB, free: 50.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.76e-05/1.517, allocations: 30.75 kB / 0.6654 GB, free: 50.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01519/1.532, allocations: 5.867 MB / 0.6712 GB, free: 47.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/1.533, allocations: 47.09 kB / 0.6712 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/1.533, allocations: 106.4 kB / 0.6713 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/1.533, allocations: 188.9 kB / 0.6715 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006286/1.54, allocations: 1.086 MB / 0.6725 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/1.542, allocations: 1.687 MB / 0.6742 GB, free: 46.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/1.546, allocations: 217.1 kB / 0.6744 GB, free: 46.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009244/1.547, allocations: 304.7 kB / 0.6747 GB, free: 46.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (601): * Single equations (assignments): 594 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004703/1.552, allocations: 2.03 MB / 0.6767 GB, free: 45.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/1.552, allocations: 243.9 kB / 0.6769 GB, free: 45.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/1.558, allocations: 2.526 MB / 0.6794 GB, free: 44.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-05/1.558, allocations: 24.33 kB / 0.6794 GB, free: 44.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.558, allocations: 3.219 kB / 0.6794 GB, free: 44.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.558, allocations: 3.891 kB / 0.6794 GB, free: 44.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.579, allocations: 8.174 MB / 0.6874 GB, free: 41.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/1.579, allocations: 16.53 kB / 0.6874 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.581, allocations: 256.4 kB / 0.6876 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/1.582, allocations: 72.25 kB / 0.6877 GB, free: 41.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/1.582, allocations: 38.48 kB / 0.6877 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/1.583, allocations: 1.511 MB / 0.6892 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.583, allocations: 14.69 kB / 0.6892 GB, free: 39.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008255/1.592, allocations: 4.901 MB / 0.694 GB, free: 36.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.594, allocations: 0.4984 MB / 0.6945 GB, free: 36.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/1.594, allocations: 43.44 kB / 0.6946 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.596, allocations: 61.2 kB / 0.6946 GB, free: 36.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/1.596, allocations: 120.4 kB / 0.6947 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.596, allocations: 63.89 kB / 0.6948 GB, free: 35.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003613/1.6, allocations: 1.602 MB / 0.6963 GB, free: 34.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.6, allocations: 4.594 kB / 0.6964 GB, free: 34.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005612/1.605, allocations: 0.822 MB / 0.6972 GB, free: 33.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (142): * Single equations (assignments): 135 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009094/1.615, allocations: 8.258 MB / 0.7052 GB, free: 25.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008504/1.623, allocations: 3.849 MB / 0.709 GB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/1.623, allocations: 4.062 kB / 0.709 GB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/1.626, allocations: 1.248 MB / 0.7102 GB, free: 21.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.628, allocations: 309 kB / 0.7105 GB, free: 20.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3695/1.998, allocations: 95 MB / 0.8033 GB, free: 42.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00682/2.004, allocations: 3.269 MB / 0.8065 GB, free: 41.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007047/2.012, allocations: 1.727 MB / 0.8082 GB, free: 41.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003917/2.015, allocations: 1.756 MB / 0.8099 GB, free: 41.21 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/2.016, allocations: 0 / 0.8099 GB, free: 41.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/2.151, allocations: 56.15 MB / 0.8647 GB, free: 33.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/2.151, allocations: 188 kB / 0.8649 GB, free: 32.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.442/6.593, allocations: 0 / 0.8649 GB, free: 32.94 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat