Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Planar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Planar",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.01459/0.01459, allocations: 175.5 kB / 15.12 MB, free: 6 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.039/2.039, allocations: 194.5 MB / 210.3 MB, free: 11.39 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.002047/0.002046, allocations: 112.7 kB / 255.6 MB, free: 14.53 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.437/0.437, allocations: 40 MB / 340.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004745, allocations: 8 kB / 406.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.382, allocations: 54.87 MB / 461.1 MB, free: 24.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.5867, allocations: 99.86 MB / 0.5479 GB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5871, allocations: 75.95 kB / 0.5479 GB, free: 7.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8102/1.397, allocations: 116.7 MB / 0.6618 GB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.397, allocations: 0 / 0.6618 GB, free: 15.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003893/1.398, allocations: 88 kB / 0.6619 GB, free: 15.21 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.02009/1.418, allocations: 4.697 MB / 0.6665 GB, free: 10.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.418, allocations: 12.03 kB / 0.6665 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00496/1.423, allocations: 0.956 MB / 0.6675 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02912/1.452, allocations: 3.659 MB / 0.671 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/1.472, allocations: 4.811 MB / 0.6757 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006214/1.473, allocations: 389.9 kB / 0.6761 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003358/1.476, allocations: 499.7 kB / 0.6766 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04164/1.518, allocations: 12.19 MB / 0.6885 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000342/1.518, allocations: 35.66 kB / 0.6885 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/1.521, allocations: 223.8 kB / 0.6887 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00396/1.525, allocations: 1.393 MB / 0.6901 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03753/1.563, allocations: 11.32 MB / 0.7012 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4931/2.056, allocations: 42.76 MB / 0.7429 GB, free: 83.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/2.072, allocations: 4.712 MB / 0.7475 GB, free: 82.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/2.074, allocations: 1.315 MB / 0.7488 GB, free: 81.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/2.074, allocations: 59.34 kB / 0.7489 GB, free: 81.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 7.634e-06/2.075, allocations: 0 / 0.7489 GB, free: 81.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.09277/2.167, allocations: 19.83 MB / 0.7682 GB, free: 78.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/2.167, allocations: 108.8 kB / 0.7683 GB, free: 78.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009034/2.176, allocations: 2.874 MB / 0.7711 GB, free: 77.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007033/2.177, allocations: 64.22 kB / 0.7712 GB, free: 77.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003565/2.181, allocations: 3.26 MB / 0.7744 GB, free: 76.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001971/2.183, allocations: 0.9685 MB / 0.7753 GB, free: 75.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/2.184, allocations: 121.7 kB / 0.7754 GB, free: 75.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006856/2.185, allocations: 0.5688 MB / 0.776 GB, free: 75.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007688/2.192, allocations: 2.452 MB / 0.7784 GB, free: 75.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008717/2.201, allocations: 5.81 MB / 0.7841 GB, free: 71.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00872/2.21, allocations: 3.766 MB / 0.7877 GB, free: 71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/2.21, allocations: 33.41 kB / 0.7878 GB, free: 71 MB / 474.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02703/2.237, allocations: 9.061 MB / 0.7966 GB, free: 69.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/2.237, allocations: 55.69 kB / 0.7967 GB, free: 69.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/2.237, allocations: 120.1 kB / 0.7968 GB, free: 69.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/2.243, allocations: 1.063 MB / 0.7978 GB, free: 69.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008442/2.252, allocations: 1.383 MB / 0.7992 GB, free: 69.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/2.263, allocations: 5.231 MB / 0.8043 GB, free: 66.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00622/2.269, allocations: 317 kB / 0.8046 GB, free: 66.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/2.27, allocations: 358.9 kB / 0.8049 GB, free: 66.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (743): * Single equations (assignments): 736 * 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 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006646/2.277, allocations: 2.475 MB / 0.8073 GB, free: 65.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/2.278, allocations: 318 kB / 0.8076 GB, free: 65.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/2.293, allocations: 5.354 MB / 0.8129 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001411/2.294, allocations: 47.23 kB / 0.8129 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/2.294, allocations: 2.781 kB / 0.8129 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/2.294, allocations: 9.938 kB / 0.8129 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03531/2.329, allocations: 13.32 MB / 0.8259 GB, free: 55.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.092e-05/2.329, allocations: 11.95 kB / 0.826 GB, free: 55.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00354/2.333, allocations: 427.1 kB / 0.8264 GB, free: 55.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/2.338, allocations: 0.8893 MB / 0.8272 GB, free: 54.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005642/2.338, allocations: 56.34 kB / 0.8273 GB, free: 54.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009554/2.348, allocations: 4.564 MB / 0.8317 GB, free: 50.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/2.348, allocations: 15.94 kB / 0.8318 GB, free: 50.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/2.367, allocations: 9.071 MB / 0.8406 GB, free: 42.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/2.37, allocations: 0.7401 MB / 0.8413 GB, free: 41.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/2.371, allocations: 59.31 kB / 0.8414 GB, free: 41.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/2.375, allocations: 142.2 kB / 0.8415 GB, free: 41.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008681/2.375, allocations: 170.9 kB / 0.8417 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/2.376, allocations: 83.53 kB / 0.8418 GB, free: 41.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004982/2.381, allocations: 1.971 MB / 0.8437 GB, free: 39.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.381, allocations: 3.938 kB / 0.8437 GB, free: 39.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007517/2.388, allocations: 1.115 MB / 0.8448 GB, free: 38.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02112/2.409, allocations: 12.59 MB / 0.8571 GB, free: 26.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/2.423, allocations: 6.013 MB / 0.863 GB, free: 21.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/2.423, allocations: 7.969 kB / 0.863 GB, free: 21.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005158/2.429, allocations: 2.251 MB / 0.8652 GB, free: 19.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/2.432, allocations: 380.7 kB / 0.8655 GB, free: 19.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4577/2.89, allocations: 116.9 MB / 0.9797 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/2.9, allocations: 3.923 MB / 0.9835 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009429/2.91, allocations: 2.214 MB / 0.9857 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005492/2.915, allocations: 2.224 MB / 0.9878 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.853e-06/2.915, allocations: 0 / 0.9878 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1812/3.097, allocations: 77.83 MB / 1.064 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/3.097, allocations: 196.3 kB / 1.064 GB, free: 67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.195/8.292, allocations: 4.062 kB / 1.064 GB, free: 66.99 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat