Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotion2",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.01388/0.01388, allocations: 165.9 kB / 15.11 MB, free: 5.934 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.793/1.793, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002101/0.002101, allocations: 115 kB / 226.2 MB, free: 10.1 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.4697/0.4697, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005274/0.0005273, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1104, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.5923, allocations: 96.06 MB / 0.4958 GB, free: 7.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5926, allocations: 82.72 kB / 0.4959 GB, free: 7.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7911/1.384, allocations: 118.1 MB / 0.6113 GB, free: 73.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.384, allocations: 0 / 0.6113 GB, free: 73.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004418/1.384, allocations: 117.1 kB / 0.6114 GB, free: 73.28 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: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.0272/1.411, allocations: 6.424 MB / 0.6177 GB, free: 70.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.412, allocations: 11.41 kB / 0.6177 GB, free: 70.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005067/1.417, allocations: 1.012 MB / 0.6187 GB, free: 70.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05205/1.469, allocations: 6.99 MB / 0.6255 GB, free: 70.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02853/1.497, allocations: 7.819 MB / 0.6331 GB, free: 69.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006688/1.498, allocations: 442.7 kB / 0.6336 GB, free: 69.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/1.501, allocations: 0.5848 MB / 0.6341 GB, free: 69.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04375/1.545, allocations: 13.92 MB / 0.6477 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006574/1.546, allocations: 81.22 kB / 0.6478 GB, free: 65.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/1.549, allocations: 274.8 kB / 0.6481 GB, free: 65.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/1.553, allocations: 1.324 MB / 0.6494 GB, free: 65.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04823/1.602, allocations: 11.7 MB / 0.6608 GB, free: 61.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.705, allocations: 62.02 MB / 0.7214 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02413/1.729, allocations: 5.758 MB / 0.727 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.73, allocations: 0.688 MB / 0.7277 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.73, allocations: 64.56 kB / 0.7277 GB, free: 10.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.382e-06/1.73, allocations: 0 / 0.7277 GB, free: 10.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.4791/2.209, allocations: 34.22 MB / 0.7611 GB, free: 83.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/2.209, allocations: 268.4 kB / 0.7614 GB, free: 82.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01454/2.224, allocations: 4.668 MB / 0.7659 GB, free: 82.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009573/2.225, allocations: 78.36 kB / 0.766 GB, free: 82.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004355/2.229, allocations: 4.044 MB / 0.77 GB, free: 80.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002032/2.231, allocations: 1.189 MB / 0.7711 GB, free: 80.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/2.233, allocations: 153.2 kB / 0.7713 GB, free: 80.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005772/2.233, allocations: 0.628 MB / 0.7719 GB, free: 79.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008883/2.242, allocations: 3.32 MB / 0.7751 GB, free: 79.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/2.254, allocations: 7.552 MB / 0.7825 GB, free: 74.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/2.266, allocations: 4.931 MB / 0.7873 GB, free: 74.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/2.266, allocations: 41.62 kB / 0.7874 GB, free: 74.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.04145/2.307, allocations: 12.59 MB / 0.7997 GB, free: 71.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/2.308, allocations: 67.69 kB / 0.7997 GB, free: 71.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002991/2.308, allocations: 147 kB / 0.7999 GB, free: 71.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/2.318, allocations: 2.146 MB / 0.802 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/2.329, allocations: 1.757 MB / 0.8037 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02868/2.358, allocations: 14.81 MB / 0.8181 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/2.368, allocations: 457.7 kB / 0.8186 GB, free: 63.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/2.37, allocations: 454.9 kB / 0.819 GB, free: 63.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (928): * Single equations (assignments): 923 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008286/2.378, allocations: 2.808 MB / 0.8218 GB, free: 62.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/2.38, allocations: 498.4 kB / 0.8222 GB, free: 61.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02339/2.403, allocations: 7.09 MB / 0.8292 GB, free: 59.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.378e-05/2.403, allocations: 31.81 kB / 0.8292 GB, free: 59.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/2.403, allocations: 15.11 kB / 0.8292 GB, free: 59.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.48e-05/2.403, allocations: 16.78 kB / 0.8292 GB, free: 59.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04699/2.45, allocations: 16.05 MB / 0.8449 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-05/2.451, allocations: 13.5 kB / 0.8449 GB, free: 52.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004898/2.455, allocations: 0.5051 MB / 0.8454 GB, free: 52.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008427/2.464, allocations: 1.873 MB / 0.8472 GB, free: 52.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009766/2.465, allocations: 67 kB / 0.8473 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02952/2.494, allocations: 13.31 MB / 0.8603 GB, free: 45.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/2.495, allocations: 10.5 kB / 0.8603 GB, free: 45.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02979/2.524, allocations: 12.18 MB / 0.8722 GB, free: 36.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004087/2.528, allocations: 1.054 MB / 0.8732 GB, free: 35.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002133/2.531, allocations: 59.28 kB / 0.8733 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005601/2.536, allocations: 218.3 kB / 0.8735 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/2.538, allocations: 207 kB / 0.8737 GB, free: 35.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/2.538, allocations: 88.92 kB / 0.8738 GB, free: 35.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008728/2.547, allocations: 3.315 MB / 0.877 GB, free: 32.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.547, allocations: 4 kB / 0.877 GB, free: 32.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0105/2.557, allocations: 1.493 MB / 0.8785 GB, free: 31.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (259): * Single equations (assignments): 254 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03494/2.592, allocations: 14.17 MB / 0.8923 GB, free: 18.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03046/2.623, allocations: 8.29 MB / 0.9004 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.623, allocations: 0 / 0.9004 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01967/2.643, allocations: 3.936 MB / 0.9043 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009261/2.652, allocations: 0.6366 MB / 0.9049 GB, free: 7.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5259/3.178, allocations: 156.6 MB / 1.058 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0155/3.194, allocations: 4.515 MB / 1.062 GB, free: 28.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01321/3.207, allocations: 2.497 MB / 1.065 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007833/3.215, allocations: 2.792 MB / 1.067 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.402e-06/3.215, allocations: 4 kB / 1.067 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6091/3.824, allocations: 119.1 MB / 1.184 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/3.824, allocations: 194.2 kB / 1.184 GB, free: 132 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/10.8, allocations: 2.812 kB / 1.184 GB, free: 132 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat