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.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_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004031, allocations: 12 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3242, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.5658, allocations: 91.01 MB / 399.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004818/0.5664, allocations: 91.95 kB / 399.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7255/1.292, allocations: 71.66 MB / 471.3 MB, free: 53.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.407e-06/1.292, allocations: 4 kB / 471.3 MB, free: 53.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002468/1.292, allocations: 60 kB / 471.4 MB, free: 53.39 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01439/1.307, allocations: 3.566 MB / 475 MB, free: 49.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.307, allocations: 12.03 kB / 475 MB, free: 49.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002886/1.31, allocations: 0.643 MB / 475.6 MB, free: 49.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/1.325, allocations: 2.081 MB / 477.7 MB, free: 47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.34, allocations: 4.033 MB / 481.7 MB, free: 42.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/1.341, allocations: 262.7 kB / 482 MB, free: 42.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/1.343, allocations: 347.8 kB / 482.3 MB, free: 42.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/1.366, allocations: 8.855 MB / 491.2 MB, free: 32.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/1.366, allocations: 55.5 kB / 491.2 MB, free: 32.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001349/1.368, allocations: 171.9 kB / 491.4 MB, free: 32.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/1.369, allocations: 0.872 MB / 492.3 MB, free: 31.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/1.389, allocations: 7.159 MB / 499.4 MB, free: 24.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06243/1.452, allocations: 42.59 MB / 0.5293 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/1.464, allocations: 3.184 MB / 0.5324 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/1.475, allocations: 4.073 MB / 0.5364 GB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/1.476, allocations: 47.11 kB / 0.5365 GB, free: 4.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.49e-06/1.476, allocations: 0 / 0.5365 GB, free: 4.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.04833/1.524, allocations: 11.36 MB / 0.5475 GB, free: 8.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.524, allocations: 141.1 kB / 0.5477 GB, free: 8.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009121/1.533, allocations: 3.313 MB / 0.5509 GB, free: 5.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003764/1.534, allocations: 41.7 kB / 0.551 GB, free: 5.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00337/1.537, allocations: 2.728 MB / 0.5536 GB, free: 2.703 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009701/1.538, allocations: 0.4978 MB / 0.5541 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006044/1.539, allocations: 104 kB / 0.5542 GB, free: 2.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004532/1.539, allocations: 0.5212 MB / 0.5547 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.29/1.829, allocations: 1.665 MB / 0.5563 GB, free: 101.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008581/1.838, allocations: 5.06 MB / 0.5613 GB, free: 96.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007264/1.845, allocations: 2.841 MB / 0.5641 GB, free: 96.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/1.845, allocations: 39.7 kB / 0.5641 GB, free: 96.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01823/1.864, allocations: 6.625 MB / 0.5706 GB, free: 96.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.864, allocations: 56.59 kB / 0.5706 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/1.864, allocations: 121.5 kB / 0.5707 GB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/1.865, allocations: 341.1 kB / 0.5711 GB, free: 96.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/1.873, allocations: 1.271 MB / 0.5723 GB, free: 96.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/1.876, allocations: 2.382 MB / 0.5746 GB, free: 94.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005483/1.882, allocations: 284 kB / 0.5749 GB, free: 94.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.883, allocations: 332.9 kB / 0.5752 GB, free: 94.72 MB / 394.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.004309/1.887, allocations: 1.777 MB / 0.5769 GB, free: 94.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007931/1.888, allocations: 304.5 kB / 0.5772 GB, free: 94.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007455/1.895, allocations: 2.32 MB / 0.5795 GB, free: 94.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.518e-05/1.895, allocations: 17.17 kB / 0.5795 GB, free: 94.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.895, allocations: 7.891 kB / 0.5795 GB, free: 94.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/1.895, allocations: 6.609 kB / 0.5795 GB, free: 94.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/1.913, allocations: 5.841 MB / 0.5852 GB, free: 93.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.913, allocations: 3.188 kB / 0.5852 GB, free: 93.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.914, allocations: 162.5 kB / 0.5854 GB, free: 93.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/1.918, allocations: 0.7097 MB / 0.5861 GB, free: 92.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.918, allocations: 23.62 kB / 0.5861 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008384/1.927, allocations: 4.563 MB / 0.5906 GB, free: 90.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.927, allocations: 0 / 0.5906 GB, free: 90.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009937/1.937, allocations: 4.384 MB / 0.5949 GB, free: 88.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.938, allocations: 0.5264 MB / 0.5954 GB, free: 88.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/1.939, allocations: 27.86 kB / 0.5954 GB, free: 88.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.941, allocations: 67.81 kB / 0.5955 GB, free: 88.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/1.941, allocations: 69.02 kB / 0.5955 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.941, allocations: 33.28 kB / 0.5956 GB, free: 88.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004516/1.946, allocations: 2.302 MB / 0.5978 GB, free: 87.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.946, allocations: 0 / 0.5978 GB, free: 87.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005263/1.951, allocations: 0.8115 MB / 0.5986 GB, free: 87.32 MB / 394.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.01028/1.961, allocations: 5.302 MB / 0.6038 GB, free: 84.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008325/1.97, allocations: 3.951 MB / 0.6076 GB, free: 81.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.97, allocations: 0 / 0.6076 GB, free: 81.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.972, allocations: 1.081 MB / 0.6087 GB, free: 80.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.974, allocations: 360.1 kB / 0.609 GB, free: 80.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04493/2.019, allocations: 98.94 MB / 0.7056 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005446/2.025, allocations: 2.834 MB / 0.7084 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007325/2.032, allocations: 1.638 MB / 0.71 GB, free: 8.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003999/2.036, allocations: 1.517 MB / 0.7115 GB, free: 6.629 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/2.036, allocations: 0 / 0.7115 GB, free: 6.629 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4279/2.464, allocations: 63.6 MB / 0.7736 GB, free: 105.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/2.464, allocations: 217.6 kB / 0.7738 GB, free: 105.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.157/7.621, allocations: 4 kB / 0.7738 GB, free: 105.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat