Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003663, allocations: 15.92 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09808, allocations: 44.5 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5476, allocations: 91 MB / 399.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.548, allocations: 88.72 kB / 399.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3085/0.8566, allocations: 71.69 MB / 471.3 MB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.8566, allocations: 0 / 471.3 MB, free: 308 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003069/0.857, allocations: 64 kB / 471.4 MB, free: 244 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01817/0.8751, allocations: 3.565 MB / 474.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.8752, allocations: 8.031 kB / 475 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003275/0.8785, allocations: 0.6375 MB / 475.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0226/0.9012, allocations: 2.081 MB / 477.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.9192, allocations: 4.03 MB / 481.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.9196, allocations: 261.5 kB / 482 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.9216, allocations: 342.1 kB / 482.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/0.9485, allocations: 8.862 MB / 491.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000299/0.9488, allocations: 51.56 kB / 491.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/0.9509, allocations: 168.7 kB / 491.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/0.9534, allocations: 0.8754 MB / 492.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.9762, allocations: 7.162 MB / 499.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3619/1.338, allocations: 42.59 MB / 0.5293 GB, free: 69.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/1.351, allocations: 3.175 MB / 0.5324 GB, free: 68.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/1.362, allocations: 4.085 MB / 0.5364 GB, free: 67.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.362, allocations: 45.89 kB / 0.5364 GB, free: 67.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 4.739e-06/1.362, allocations: 3.844 kB / 0.5364 GB, free: 67.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.04918/1.411, allocations: 11.36 MB / 0.5475 GB, free: 64.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.411, allocations: 143 kB / 0.5477 GB, free: 64.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00844/1.42, allocations: 3.309 MB / 0.5509 GB, free: 64.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003709/1.42, allocations: 40.95 kB / 0.5509 GB, free: 64.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.423, allocations: 2.675 MB / 0.5535 GB, free: 62.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009573/1.424, allocations: 0.5 MB / 0.554 GB, free: 62.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007475/1.424, allocations: 109.4 kB / 0.5541 GB, free: 62.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004161/1.425, allocations: 0.5285 MB / 0.5546 GB, free: 62.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004393/1.429, allocations: 1.661 MB / 0.5563 GB, free: 62.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007032/1.436, allocations: 5.055 MB / 0.5612 GB, free: 57.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006777/1.443, allocations: 2.849 MB / 0.564 GB, free: 57.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/1.443, allocations: 40.73 kB / 0.564 GB, free: 57.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01773/1.461, allocations: 6.502 MB / 0.5704 GB, free: 57.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.461, allocations: 62.45 kB / 0.5704 GB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/1.461, allocations: 128.9 kB / 0.5706 GB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/1.462, allocations: 334 kB / 0.5709 GB, free: 57.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007932/1.47, allocations: 1.274 MB / 0.5721 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/1.474, allocations: 2.372 MB / 0.5744 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/1.48, allocations: 287.8 kB / 0.5747 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.481, allocations: 330 kB / 0.575 GB, free: 55.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (656): * Single equations (assignments): 652 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005119/1.486, allocations: 1.776 MB / 0.5768 GB, free: 55.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009348/1.487, allocations: 314.7 kB / 0.5771 GB, free: 55.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007944/1.495, allocations: 2.32 MB / 0.5793 GB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.023e-05/1.495, allocations: 12.81 kB / 0.5793 GB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.495, allocations: 5.188 kB / 0.5793 GB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.299e-05/1.495, allocations: 3.516 kB / 0.5793 GB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.514, allocations: 5.843 MB / 0.5851 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/1.514, allocations: 0 / 0.5851 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.516, allocations: 162.2 kB / 0.5852 GB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/1.52, allocations: 0.7137 MB / 0.5859 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.52, allocations: 23.84 kB / 0.5859 GB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008848/1.529, allocations: 4.563 MB / 0.5904 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.529, allocations: 3.719 kB / 0.5904 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/1.54, allocations: 4.383 MB / 0.5947 GB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.542, allocations: 0.5281 MB / 0.5952 GB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.543, allocations: 26.12 kB / 0.5952 GB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/1.545, allocations: 67.97 kB / 0.5953 GB, free: 47.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.546, allocations: 63.98 kB / 0.5953 GB, free: 47.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.546, allocations: 34 kB / 0.5954 GB, free: 47.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006107/1.552, allocations: 2.304 MB / 0.5976 GB, free: 46.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.552, allocations: 0 / 0.5976 GB, free: 46.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006509/1.559, allocations: 0.8116 MB / 0.5984 GB, free: 46.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (90): * Single equations (assignments): 86 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01167/1.57, allocations: 5.307 MB / 0.6036 GB, free: 43.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008981/1.579, allocations: 3.949 MB / 0.6074 GB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.579, allocations: 0 / 0.6074 GB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.582, allocations: 1.085 MB / 0.6085 GB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.585, allocations: 353.3 kB / 0.6088 GB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3494/1.934, allocations: 99.32 MB / 0.7058 GB, free: 123.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007199/1.942, allocations: 2.832 MB / 0.7086 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004434/1.946, allocations: 1.554 MB / 0.7101 GB, free: 122.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.946, allocations: 2.719 kB / 0.7101 GB, free: 122.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.187/6.133, allocations: 81.53 MB / 0.7897 GB, free: 84.91 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat