Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.01027/0.01027, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.854/1.854, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.003325/0.003325, allocations: 107.4 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.4473/0.4473, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006483/0.0006485, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1222, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5524, allocations: 91.82 MB / 0.4917 GB, free: 12.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5527, allocations: 69.66 kB / 0.4918 GB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.803/1.356, allocations: 109.2 MB / 0.5984 GB, free: 70.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.956e-06/1.356, allocations: 0 / 0.5984 GB, free: 70.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005584/1.356, allocations: 106.3 kB / 0.5985 GB, free: 70.5 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.03236/1.389, allocations: 6.94 MB / 0.6053 GB, free: 68.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.389, allocations: 12.97 kB / 0.6053 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004453/1.393, allocations: 0.7528 MB / 0.6061 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07407/1.467, allocations: 10.12 MB / 0.6159 GB, free: 67.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03553/1.503, allocations: 9.887 MB / 0.6256 GB, free: 66.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005729/1.504, allocations: 362.7 kB / 0.6259 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/1.506, allocations: 468.9 kB / 0.6264 GB, free: 66.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04618/1.553, allocations: 10.73 MB / 0.6369 GB, free: 65.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005192/1.553, allocations: 60.45 kB / 0.6369 GB, free: 65.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/1.555, allocations: 201.7 kB / 0.6371 GB, free: 65.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/1.558, allocations: 0.9935 MB / 0.6381 GB, free: 65.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03279/1.59, allocations: 9.046 MB / 0.6469 GB, free: 64.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08218/1.673, allocations: 43.95 MB / 0.6898 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0386/1.711, allocations: 7.921 MB / 0.6976 GB, free: 34.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/1.713, allocations: 1.117 MB / 0.6987 GB, free: 34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/1.713, allocations: 72.06 kB / 0.6987 GB, free: 33.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.244e-06/1.713, allocations: 6.797 kB / 0.6987 GB, free: 33.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.7506/2.464, allocations: 76.47 MB / 0.7734 GB, free: 76.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02801/2.492, allocations: 11.36 MB / 0.7845 GB, free: 75.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/2.503, allocations: 3.728 MB / 0.7882 GB, free: 74.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001341/2.505, allocations: 92.23 kB / 0.7882 GB, free: 74.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003505/2.508, allocations: 2.995 MB / 0.7912 GB, free: 73.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002831/2.511, allocations: 1.431 MB / 0.7926 GB, free: 73.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/2.512, allocations: 117.9 kB / 0.7927 GB, free: 73.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000522/2.513, allocations: 0.5309 MB / 0.7932 GB, free: 72.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01199/2.525, allocations: 4.479 MB / 0.7976 GB, free: 71.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0137/2.539, allocations: 6.506 MB / 0.8039 GB, free: 67.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/2.552, allocations: 5.448 MB / 0.8092 GB, free: 65.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-05/2.553, allocations: 19.09 kB / 0.8093 GB, free: 65.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06699/2.62, allocations: 18.57 MB / 0.8274 GB, free: 59.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/2.62, allocations: 31.12 kB / 0.8274 GB, free: 59.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/2.62, allocations: 68.22 kB / 0.8275 GB, free: 59.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04291/2.663, allocations: 8.62 MB / 0.8359 GB, free: 58.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007756/2.671, allocations: 1.032 MB / 0.8369 GB, free: 58.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1148/2.785, allocations: 50.54 MB / 0.8863 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009847/2.795, allocations: 496.5 kB / 0.8867 GB, free: 28.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/2.797, allocations: 281 kB / 0.887 GB, free: 28.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.008773/2.806, allocations: 2.287 MB / 0.8892 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/2.809, allocations: 485.8 kB / 0.8897 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06703/2.876, allocations: 17.6 MB / 0.9069 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3778/3.254, allocations: 16.11 MB / 0.9226 GB, free: 70.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.773e-05/3.254, allocations: 28.03 kB / 0.9227 GB, free: 70.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-05/3.254, allocations: 18.05 kB / 0.9227 GB, free: 70.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1086/3.363, allocations: 34.74 MB / 0.9566 GB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.986e-05/3.363, allocations: 5.344 kB / 0.9566 GB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004595/3.368, allocations: 449.9 kB / 0.957 GB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04342/3.411, allocations: 8.057 MB / 0.9649 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/3.412, allocations: 87.08 kB / 0.965 GB, free: 67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1147/3.527, allocations: 49.77 MB / 1.014 GB, free: 46.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02358/3.551, allocations: 10.14 MB / 1.023 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07135/3.622, allocations: 23.95 MB / 1.047 GB, free: 25.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005434/3.628, allocations: 1.422 MB / 1.048 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/3.63, allocations: 78.05 kB / 1.048 GB, free: 23.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007269/3.637, allocations: 358.5 kB / 1.049 GB, free: 23.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002475/3.64, allocations: 337.4 kB / 1.049 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009006/3.641, allocations: 107.5 kB / 1.049 GB, free: 23.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006986/3.648, allocations: 2.774 MB / 1.052 GB, free: 20.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.648, allocations: 2.594 kB / 1.052 GB, free: 20.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01015/3.658, allocations: 1.971 MB / 1.054 GB, free: 18.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (226): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07573/3.734, allocations: 25.83 MB / 1.079 GB, free: 9.539 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3447/4.078, allocations: 12.35 MB / 1.091 GB, free: 85.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/4.078, allocations: 3.156 kB / 1.091 GB, free: 85.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02262/4.101, allocations: 7.115 MB / 1.098 GB, free: 85.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006907/4.108, allocations: 0.7489 MB / 1.099 GB, free: 85.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2084/4.316, allocations: 108.6 MB / 1.205 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/4.327, allocations: 4.3 MB / 1.209 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0088/4.336, allocations: 1.679 MB / 1.211 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007279/4.343, allocations: 2.594 MB / 1.213 GB, free: 12.01 MB / 458.7 MB Notification: Performance of SimCode: time 2.023e-06/4.343, allocations: 2.438 kB / 1.213 GB, free: 12.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7019/5.045, allocations: 162.1 MB / 1.371 GB, free: 32.59 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/5.045, allocations: 225.4 kB / 1.372 GB, free: 32.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/12.64, allocations: 0 / 1.372 GB, free: 32.35 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat