Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.345/2.345, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005001, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3924, allocations: 44.52 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.5721, allocations: 101.8 MB / 410.3 MB, free: 6.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/0.5725, allocations: 95.94 kB / 410.4 MB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.438/2.011, allocations: 233.8 MB / 0.6291 GB, free: 39.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.145e-06/2.011, allocations: 0 / 0.6291 GB, free: 39.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007396/2.011, allocations: 233.5 kB / 0.6294 GB, free: 39.43 MB / 394.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.06235/2.074, allocations: 13.02 MB / 0.6421 GB, free: 35.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/2.074, allocations: 10.38 kB / 0.6421 GB, free: 35.08 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01127/2.085, allocations: 2.007 MB / 0.644 GB, free: 34.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03417/2.119, allocations: 3.982 MB / 0.6479 GB, free: 34.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04806/2.168, allocations: 12.21 MB / 0.6599 GB, free: 31.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/2.169, allocations: 0.8872 MB / 0.6607 GB, free: 30.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007738/2.177, allocations: 1.191 MB / 0.6619 GB, free: 29.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1256/2.302, allocations: 33.81 MB / 0.6949 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008796/2.303, allocations: 99.09 kB / 0.695 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007094/2.31, allocations: 0.5343 MB / 0.6955 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006584/2.317, allocations: 2.583 MB / 0.698 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4854/2.802, allocations: 31.04 MB / 0.7284 GB, free: 60.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.235/3.037, allocations: 120.4 MB / 0.8459 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08865/3.126, allocations: 17.35 MB / 0.8628 GB, free: 7.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.427/3.553, allocations: 31.5 MB / 0.8936 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/3.553, allocations: 81.77 kB / 0.8937 GB, free: 101.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=489): time 9.969e-06/3.553, allocations: 0 / 0.8937 GB, free: 101.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=726): time 1.557/5.11, allocations: 170.4 MB / 1.06 GB, free: 95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/5.111, allocations: 203.1 kB / 1.06 GB, free: 94.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0188/5.129, allocations: 7.02 MB / 1.067 GB, free: 94.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002444/5.132, allocations: 135.9 kB / 1.067 GB, free: 94.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006573/5.138, allocations: 7.076 MB / 1.074 GB, free: 91.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004883/5.143, allocations: 2.578 MB / 1.077 GB, free: 90.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003287/5.147, allocations: 286.2 kB / 1.077 GB, free: 90.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001148/5.148, allocations: 0.9123 MB / 1.078 GB, free: 89.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02556/5.174, allocations: 10.3 MB / 1.088 GB, free: 89.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0312/5.205, allocations: 16.91 MB / 1.104 GB, free: 80.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03105/5.236, allocations: 13.01 MB / 1.117 GB, free: 74.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003409/5.236, allocations: 68.03 kB / 1.117 GB, free: 74.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.07715/5.313, allocations: 27.67 MB / 1.144 GB, free: 63.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/5.314, allocations: 101.2 kB / 1.144 GB, free: 63.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004005/5.314, allocations: 226.3 kB / 1.145 GB, free: 63.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/5.315, allocations: 346.3 kB / 1.145 GB, free: 63.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03609/5.351, allocations: 4.262 MB / 1.149 GB, free: 62.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005939/5.351, allocations: 465.8 kB / 1.149 GB, free: 62.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02216/5.373, allocations: 1.225 MB / 1.151 GB, free: 62.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004299/5.378, allocations: 0.7451 MB / 1.151 GB, free: 62.5 MB / 458.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.01786/5.396, allocations: 5.449 MB / 1.157 GB, free: 58.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003607/5.399, allocations: 0.7983 MB / 1.157 GB, free: 57.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08746/5.487, allocations: 19.61 MB / 1.177 GB, free: 40.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/5.487, allocations: 73.02 kB / 1.177 GB, free: 40.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/5.487, allocations: 6.188 kB / 1.177 GB, free: 40.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002223/5.487, allocations: 41.95 kB / 1.177 GB, free: 40.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.522/6.009, allocations: 43.85 MB / 1.22 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/6.009, allocations: 7.094 kB / 1.22 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02519/6.035, allocations: 2.15 MB / 1.222 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/6.035, allocations: 33.56 kB / 1.222 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002352/6.037, allocations: 128 kB / 1.222 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001182/6.037, allocations: 30.91 kB / 1.222 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/6.037, allocations: 9.906 kB / 1.222 GB, free: 81.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07656/6.114, allocations: 33.94 MB / 1.255 GB, free: 78.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01027/6.124, allocations: 2.711 MB / 1.258 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004291/6.129, allocations: 126.2 kB / 1.258 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01435/6.143, allocations: 0.7662 MB / 1.259 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002948/6.146, allocations: 385.9 kB / 1.259 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001986/6.148, allocations: 183 kB / 1.259 GB, free: 78.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01372/6.162, allocations: 4.893 MB / 1.264 GB, free: 78.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.11e-07/6.162, allocations: 0 / 1.264 GB, free: 78.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.019/6.181, allocations: 3.171 MB / 1.267 GB, free: 77.73 MB / 458.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.07614/6.257, allocations: 35.67 MB / 1.302 GB, free: 60.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.05356/6.311, allocations: 23.24 MB / 1.324 GB, free: 47.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/6.311, allocations: 0 / 1.324 GB, free: 47.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02264/6.333, allocations: 9.83 MB / 1.334 GB, free: 38.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008584/6.342, allocations: 0.858 MB / 1.335 GB, free: 37.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5474/6.889, allocations: 211.3 MB / 1.541 GB, free: 30.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03318/6.923, allocations: 8.262 MB / 1.549 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.03037/6.953, allocations: 5.067 MB / 1.554 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02006/6.973, allocations: 5.577 MB / 1.56 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/6.973, allocations: 0 / 1.56 GB, free: 29.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8274/7.801, allocations: 221.7 MB / 1.776 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/7.801, allocations: 197.7 kB / 1.776 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/19.08, allocations: 4 kB / 1.776 GB, free: 127.1 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat does not exist to compare? outputFormat=mat