Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 12 kB / 233.4 MB, free: 180 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08675, allocations: 38.78 MB / 272.1 MB, free: 9.32 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4725, allocations: 96.02 MB / 368.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.4729, allocations: 99.92 kB / 368.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367/1.84, allocations: 233.9 MB / 0.588 GB, free: 23.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.84, allocations: 3.5 kB / 0.588 GB, free: 23.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007084/1.841, allocations: 234.8 kB / 0.5882 GB, free: 23.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.06059/1.901, allocations: 13.02 MB / 0.6009 GB, free: 19.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.901, allocations: 9.5 kB / 0.6009 GB, free: 19.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01077/1.912, allocations: 2.001 MB / 0.6029 GB, free: 19.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/1.946, allocations: 3.992 MB / 0.6068 GB, free: 18.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04777/1.994, allocations: 12.22 MB / 0.6187 GB, free: 17.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/1.995, allocations: 0.8922 MB / 0.6196 GB, free: 17.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007346/2.003, allocations: 1.179 MB / 0.6208 GB, free: 17.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1233/2.126, allocations: 33.8 MB / 0.6538 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007532/2.127, allocations: 101.6 kB / 0.6539 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00656/2.134, allocations: 0.5365 MB / 0.6544 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006292/2.14, allocations: 2.576 MB / 0.6569 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4217/2.562, allocations: 31.05 MB / 0.6872 GB, free: 46.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2363/2.798, allocations: 120.4 MB / 0.8048 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09069/2.889, allocations: 17.34 MB / 0.8217 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3892/3.278, allocations: 31.09 MB / 0.8521 GB, free: 84.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/3.278, allocations: 90.75 kB / 0.8522 GB, free: 84.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=489): time 1.004e-05/3.278, allocations: 0 / 0.8522 GB, free: 84.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=726): time 1.559/4.838, allocations: 170.4 MB / 1.019 GB, free: 71.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/4.838, allocations: 200.6 kB / 1.019 GB, free: 71.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0176/4.855, allocations: 7.028 MB / 1.026 GB, free: 69.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002513/4.858, allocations: 136 kB / 1.026 GB, free: 69.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006276/4.864, allocations: 7.072 MB / 1.033 GB, free: 64.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004789/4.869, allocations: 2.575 MB / 1.035 GB, free: 62.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/4.872, allocations: 292.1 kB / 1.035 GB, free: 62.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001456/4.873, allocations: 0.9099 MB / 1.036 GB, free: 61.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02676/4.9, allocations: 10.3 MB / 1.046 GB, free: 57.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03133/4.932, allocations: 16.92 MB / 1.063 GB, free: 44.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03176/4.963, allocations: 13.01 MB / 1.076 GB, free: 38.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000325/4.964, allocations: 62.97 kB / 1.076 GB, free: 38.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.07955/5.043, allocations: 27.67 MB / 1.103 GB, free: 19.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/5.044, allocations: 100 kB / 1.103 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004186/5.044, allocations: 224 kB / 1.103 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/5.044, allocations: 348 kB / 1.103 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03677/5.081, allocations: 4.264 MB / 1.107 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006442/5.082, allocations: 464.5 kB / 1.108 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0229/5.105, allocations: 1.22 MB / 1.109 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004704/5.11, allocations: 0.7476 MB / 1.11 GB, free: 13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1031 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1845): * Single equations (assignments): 1839 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01905/5.129, allocations: 5.448 MB / 1.115 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003811/5.133, allocations: 0.7976 MB / 1.116 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4154/5.548, allocations: 21.2 MB / 1.137 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001361/5.548, allocations: 71.67 kB / 1.137 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/5.548, allocations: 1.562 kB / 1.137 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001964/5.548, allocations: 37.3 kB / 1.137 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1263/5.675, allocations: 42.54 MB / 1.178 GB, free: 61.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/5.675, allocations: 7.438 kB / 1.178 GB, free: 61.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02506/5.7, allocations: 2.152 MB / 1.18 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/5.7, allocations: 30.97 kB / 1.18 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001889/5.702, allocations: 128.1 kB / 1.181 GB, free: 61.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.725e-05/5.702, allocations: 39.8 kB / 1.181 GB, free: 61.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/5.702, allocations: 6.656 kB / 1.181 GB, free: 61.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07502/5.777, allocations: 33.94 MB / 1.214 GB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01083/5.788, allocations: 2.707 MB / 1.216 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00442/5.792, allocations: 122.1 kB / 1.217 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01476/5.807, allocations: 0.7621 MB / 1.217 GB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003192/5.81, allocations: 392.2 kB / 1.218 GB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002391/5.813, allocations: 182.2 kB / 1.218 GB, free: 44.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01382/5.827, allocations: 4.89 MB / 1.223 GB, free: 40.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.102e-06/5.827, allocations: 3.781 kB / 1.223 GB, free: 40.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01956/5.846, allocations: 3.174 MB / 1.226 GB, free: 37.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (rev.phi,rev.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 (710): * Single equations (assignments): 707 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07786/5.924, allocations: 35.67 MB / 1.261 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.3726/6.297, allocations: 24.84 MB / 1.285 GB, free: 86.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/6.297, allocations: 0 / 1.285 GB, free: 86.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02401/6.321, allocations: 9.837 MB / 1.294 GB, free: 86.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008767/6.33, allocations: 0.854 MB / 1.295 GB, free: 86.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5471/6.877, allocations: 211.3 MB / 1.502 GB, free: 42.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02602/6.903, allocations: 8.264 MB / 1.51 GB, free: 41.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.03272/6.936, allocations: 5.068 MB / 1.515 GB, free: 41.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.021/6.957, allocations: 5.576 MB / 1.52 GB, free: 41.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/6.957, allocations: 0 / 1.52 GB, free: 41.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/8.231, allocations: 221.8 MB / 1.737 GB, free: 57.78 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/8.232, allocations: 193.2 kB / 1.737 GB, free: 57.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/18.92, allocations: 0 / 1.737 GB, free: 57.54 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat