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.Elementary.PendulumWithSpringDamper.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.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3214, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.5008, allocations: 92.89 MB / 401.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/0.5012, allocations: 91.94 kB / 401.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.605/1.106, allocations: 73.97 MB / 475.5 MB, free: 49.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.25e-06/1.106, allocations: 0 / 475.5 MB, free: 49.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001933/1.107, allocations: 75.94 kB / 475.6 MB, free: 49.32 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: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01358/1.12, allocations: 3.595 MB / 479.2 MB, free: 45.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.12, allocations: 8.031 kB / 479.2 MB, free: 45.65 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002811/1.123, allocations: 0.6678 MB / 479.9 MB, free: 44.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/1.145, allocations: 2.269 MB / 482.1 MB, free: 42.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01941/1.164, allocations: 3.909 MB / 486 MB, free: 38.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/1.165, allocations: 275.2 kB / 486.3 MB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/1.167, allocations: 363.8 kB / 486.7 MB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/1.208, allocations: 10.36 MB / 497 MB, free: 26.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.209, allocations: 51.47 kB / 497.1 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/1.211, allocations: 179.9 kB / 497.3 MB, free: 26.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003698/1.214, allocations: 0.9856 MB / 498.2 MB, free: 25.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04437/1.259, allocations: 8.648 MB / 0.495 GB, free: 16.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0756/1.334, allocations: 44.36 MB / 0.5383 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/1.352, allocations: 3.564 MB / 0.5418 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01922/1.371, allocations: 7.152 MB / 0.5488 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/1.371, allocations: 47.55 kB / 0.5488 GB, free: 8.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.911e-06/1.371, allocations: 4 kB / 0.5488 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.3565/1.728, allocations: 17 MB / 0.5654 GB, free: 99.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.728, allocations: 150.5 kB / 0.5656 GB, free: 99.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/1.735, allocations: 3.097 MB / 0.5686 GB, free: 98.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/1.736, allocations: 48.83 kB / 0.5687 GB, free: 98.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002416/1.738, allocations: 2.709 MB / 0.5713 GB, free: 97.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.739, allocations: 0.6102 MB / 0.5719 GB, free: 97.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/1.74, allocations: 105.1 kB / 0.572 GB, free: 97.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003696/1.74, allocations: 0.5304 MB / 0.5725 GB, free: 96.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005582/1.746, allocations: 1.926 MB / 0.5744 GB, free: 96.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008081/1.754, allocations: 5.293 MB / 0.5796 GB, free: 92.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/1.762, allocations: 3.1 MB / 0.5826 GB, free: 92.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.762, allocations: 33.56 kB / 0.5826 GB, free: 92.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.02499/1.787, allocations: 8.074 MB / 0.5905 GB, free: 90.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.787, allocations: 55.97 kB / 0.5906 GB, free: 90.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/1.787, allocations: 122.8 kB / 0.5907 GB, free: 90.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00718/1.794, allocations: 1.306 MB / 0.592 GB, free: 90.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007557/1.802, allocations: 1.263 MB / 0.5932 GB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.816, allocations: 6.288 MB / 0.5993 GB, free: 87.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00656/1.823, allocations: 347 kB / 0.5997 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.824, allocations: 339.7 kB / 0.6 GB, free: 87 MB / 394.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.004859/1.829, allocations: 1.796 MB / 0.6017 GB, free: 86.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/1.83, allocations: 295.8 kB / 0.602 GB, free: 85.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.842, allocations: 3.299 MB / 0.6052 GB, free: 84.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.505e-05/1.842, allocations: 23.69 kB / 0.6053 GB, free: 84.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.842, allocations: 3.719 kB / 0.6053 GB, free: 84.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/1.842, allocations: 11.5 kB / 0.6053 GB, free: 84.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/1.868, allocations: 7.358 MB / 0.6125 GB, free: 79.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.868, allocations: 4.75 kB / 0.6125 GB, free: 79.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.87, allocations: 233.5 kB / 0.6127 GB, free: 79.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006516/1.877, allocations: 1.121 MB / 0.6138 GB, free: 79.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003928/1.877, allocations: 27.8 kB / 0.6138 GB, free: 79.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/1.891, allocations: 5.921 MB / 0.6196 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.891, allocations: 7.312 kB / 0.6196 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.907, allocations: 5.646 MB / 0.6251 GB, free: 69.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/1.909, allocations: 0.5686 MB / 0.6257 GB, free: 68.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009379/1.91, allocations: 35.78 kB / 0.6257 GB, free: 68.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003114/1.913, allocations: 112.2 kB / 0.6258 GB, free: 68.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005825/1.914, allocations: 78.44 kB / 0.6259 GB, free: 68.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.914, allocations: 37.25 kB / 0.6259 GB, free: 68.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005892/1.92, allocations: 2.153 MB / 0.628 GB, free: 66.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.92, allocations: 0 / 0.628 GB, free: 66.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006525/1.927, allocations: 0.9012 MB / 0.6289 GB, free: 65.82 MB / 394.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.02282/1.95, allocations: 6.463 MB / 0.6352 GB, free: 60.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01568/1.965, allocations: 4.697 MB / 0.6398 GB, free: 56.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.965, allocations: 0 / 0.6398 GB, free: 56.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005338/1.971, allocations: 1.495 MB / 0.6413 GB, free: 54.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.975, allocations: 324.2 kB / 0.6416 GB, free: 54.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3692/2.344, allocations: 112 MB / 0.7509 GB, free: 76.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/2.348, allocations: 2.893 MB / 0.7537 GB, free: 75.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006938/2.355, allocations: 1.691 MB / 0.7554 GB, free: 75.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/2.359, allocations: 1.548 MB / 0.7569 GB, free: 75.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/2.359, allocations: 0 / 0.7569 GB, free: 75.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/2.509, allocations: 66.26 MB / 0.8216 GB, free: 30.39 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/2.509, allocations: 224.4 kB / 0.8218 GB, free: 30.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.228/7.737, allocations: 4 kB / 0.8218 GB, free: 30.14 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat