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.Elementary.PendulumWithSpringDamper.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.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08903, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.4797, allocations: 87.15 MB / 359.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.48, allocations: 93.75 kB / 359.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.562/1.042, allocations: 73.92 MB / 433.3 MB, free: 74.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.042, allocations: 0 / 433.3 MB, free: 74.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000227/1.042, allocations: 68.44 kB / 433.4 MB, free: 74.52 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: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.01523/1.058, allocations: 3.596 MB / 437 MB, free: 73.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.058, allocations: 12.12 kB / 437 MB, free: 73.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003355/1.061, allocations: 0.6699 MB / 437.6 MB, free: 73.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/1.079, allocations: 2.266 MB / 439.9 MB, free: 73.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/1.095, allocations: 3.902 MB / 443.8 MB, free: 72.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/1.096, allocations: 275.4 kB / 444.1 MB, free: 72.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/1.098, allocations: 362.5 kB / 444.4 MB, free: 72.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03241/1.13, allocations: 10.35 MB / 454.8 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/1.131, allocations: 58.44 kB / 454.8 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.133, allocations: 177.2 kB / 455 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002422/1.135, allocations: 0.9756 MB / 456 MB, free: 69.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/1.164, allocations: 8.654 MB / 464.6 MB, free: 69.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0619/1.226, allocations: 44.01 MB / 0.4967 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.242, allocations: 3.567 MB / 0.5002 GB, free: 36.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/1.257, allocations: 7.141 MB / 0.5072 GB, free: 32.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.257, allocations: 51.5 kB / 0.5072 GB, free: 32.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.112e-06/1.257, allocations: 0 / 0.5072 GB, free: 32.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=155): time 0.08503/1.342, allocations: 17 MB / 0.5238 GB, free: 18.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.343, allocations: 145.5 kB / 0.524 GB, free: 18.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/1.35, allocations: 3.102 MB / 0.527 GB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004318/1.35, allocations: 45.7 kB / 0.5271 GB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.352, allocations: 2.711 MB / 0.5297 GB, free: 12.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000924/1.353, allocations: 0.6016 MB / 0.5303 GB, free: 12.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/1.354, allocations: 108 kB / 0.5304 GB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003242/1.354, allocations: 0.5373 MB / 0.5309 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005074/1.359, allocations: 1.927 MB / 0.5328 GB, free: 9.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007239/1.367, allocations: 5.29 MB / 0.538 GB, free: 2.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007712/1.374, allocations: 3.103 MB / 0.541 GB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.375, allocations: 32 kB / 0.541 GB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.02834/1.403, allocations: 8.083 MB / 0.5489 GB, free: 7.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.403, allocations: 56 kB / 0.549 GB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/1.403, allocations: 123.6 kB / 0.5491 GB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007517/1.411, allocations: 1.305 MB / 0.5504 GB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008232/1.419, allocations: 1.263 MB / 0.5516 GB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2896/1.709, allocations: 6.275 MB / 0.5577 GB, free: 76.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006638/1.715, allocations: 348.7 kB / 0.5581 GB, free: 76.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.717, allocations: 335.9 kB / 0.5584 GB, free: 76.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (665): * Single equations (assignments): 661 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005628/1.723, allocations: 1.79 MB / 0.5601 GB, free: 76.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/1.724, allocations: 302.2 kB / 0.5604 GB, free: 76.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/1.738, allocations: 3.305 MB / 0.5636 GB, free: 76.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/1.738, allocations: 17.88 kB / 0.5637 GB, free: 76.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/1.738, allocations: 4.125 kB / 0.5637 GB, free: 76.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.383e-05/1.738, allocations: 8.734 kB / 0.5637 GB, free: 76.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/1.763, allocations: 7.374 MB / 0.5709 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/1.763, allocations: 1.641 kB / 0.5709 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.766, allocations: 229 kB / 0.5711 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006836/1.773, allocations: 1.118 MB / 0.5722 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004217/1.773, allocations: 26.23 kB / 0.5722 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/1.787, allocations: 5.921 MB / 0.578 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.787, allocations: 5.312 kB / 0.578 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/1.803, allocations: 5.655 MB / 0.5835 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/1.805, allocations: 0.5707 MB / 0.5841 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006054/1.805, allocations: 25.5 kB / 0.5841 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.808, allocations: 104 kB / 0.5842 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/1.808, allocations: 87.34 kB / 0.5843 GB, free: 74.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.808, allocations: 46.94 kB / 0.5843 GB, free: 74.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004861/1.813, allocations: 2.143 MB / 0.5864 GB, free: 73.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.813, allocations: 3.969 kB / 0.5864 GB, free: 73.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005969/1.819, allocations: 0.8971 MB / 0.5873 GB, free: 73.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (119): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01621/1.836, allocations: 6.47 MB / 0.5936 GB, free: 71.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01138/1.847, allocations: 4.695 MB / 0.5982 GB, free: 69.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.847, allocations: 0 / 0.5982 GB, free: 69.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003732/1.851, allocations: 1.491 MB / 0.5997 GB, free: 69.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.853, allocations: 322.7 kB / 0.6 GB, free: 69.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3827/2.236, allocations: 112 MB / 0.7093 GB, free: 98.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006268/2.243, allocations: 2.887 MB / 0.7121 GB, free: 97.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009589/2.252, allocations: 1.685 MB / 0.7138 GB, free: 97.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004422/2.257, allocations: 1.555 MB / 0.7153 GB, free: 97.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/2.257, allocations: 0 / 0.7153 GB, free: 97.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/2.408, allocations: 66.26 MB / 0.78 GB, free: 62.13 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/2.408, allocations: 220.1 kB / 0.7802 GB, free: 61.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.01/7.418, allocations: 0 / 0.7802 GB, free: 61.9 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat