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.InitSpringConstant.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.InitSpringConstant,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004977, allocations: 12 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08732, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.4887, allocations: 85.27 MB / 357.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.4891, allocations: 88.89 kB / 357.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3186/0.8077, allocations: 71.68 MB / 429.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8078, allocations: 0 / 429.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.808, allocations: 64 kB / 429.2 MB, free: 1.754 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.2722/1.08, allocations: 3.555 MB / 432.8 MB, free: 73.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.08, allocations: 9.625 kB / 432.8 MB, free: 73.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003401/1.084, allocations: 0.6381 MB / 433.4 MB, free: 73.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/1.101, allocations: 2.083 MB / 435.5 MB, free: 73.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.117, allocations: 4.041 MB / 439.6 MB, free: 73.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/1.117, allocations: 258.1 kB / 439.8 MB, free: 73.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/1.119, allocations: 350 kB / 440.1 MB, free: 73.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/1.143, allocations: 8.853 MB / 449 MB, free: 70.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/1.143, allocations: 62.78 kB / 449.1 MB, free: 70.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000902/1.144, allocations: 172.2 kB / 449.2 MB, free: 70.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/1.146, allocations: 0.8613 MB / 450.1 MB, free: 70.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/1.167, allocations: 7.162 MB / 457.3 MB, free: 70.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05601/1.223, allocations: 42.59 MB / 499.8 MB, free: 39.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.234, allocations: 3.18 MB / 0.4912 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/1.245, allocations: 4.083 MB / 0.4952 GB, free: 35.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/1.245, allocations: 52.09 kB / 0.4953 GB, free: 35.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.33e-06/1.245, allocations: 0 / 0.4953 GB, free: 35.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.04426/1.289, allocations: 11.35 MB / 0.5064 GB, free: 30.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/1.289, allocations: 140.8 kB / 0.5065 GB, free: 30.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007644/1.297, allocations: 3.314 MB / 0.5097 GB, free: 27.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/1.297, allocations: 46.34 kB / 0.5098 GB, free: 27.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/1.3, allocations: 2.733 MB / 0.5124 GB, free: 25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/1.301, allocations: 0.4947 MB / 0.5129 GB, free: 24.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006012/1.301, allocations: 111.8 kB / 0.513 GB, free: 24.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003374/1.302, allocations: 0.5215 MB / 0.5135 GB, free: 24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/1.306, allocations: 1.66 MB / 0.5152 GB, free: 22.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006307/1.312, allocations: 5.057 MB / 0.5201 GB, free: 16.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006717/1.319, allocations: 2.849 MB / 0.5229 GB, free: 13.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000129/1.319, allocations: 32 kB / 0.5229 GB, free: 13.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.03526/1.354, allocations: 6.615 MB / 0.5294 GB, free: 7.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/1.354, allocations: 57 kB / 0.5294 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002408/1.355, allocations: 124 kB / 0.5295 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/1.356, allocations: 342.4 kB / 0.5299 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02095/1.377, allocations: 1.269 MB / 0.5311 GB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.388, allocations: 2.378 MB / 0.5334 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/1.4, allocations: 285.7 kB / 0.5337 GB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/1.402, allocations: 337.4 kB / 0.534 GB, free: 3.242 MB / 346.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.004882/1.407, allocations: 1.773 MB / 0.5358 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008366/1.407, allocations: 311.2 kB / 0.5361 GB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008186/1.416, allocations: 2.326 MB / 0.5383 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.303e-05/1.416, allocations: 12 kB / 0.5383 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.416, allocations: 4 kB / 0.5383 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/1.416, allocations: 7.281 kB / 0.5383 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02161/1.437, allocations: 5.852 MB / 0.5441 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.438, allocations: 0 / 0.5441 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.439, allocations: 167.8 kB / 0.5442 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/1.444, allocations: 0.7144 MB / 0.5449 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.444, allocations: 20 kB / 0.5449 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.456, allocations: 4.558 MB / 0.5494 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.456, allocations: 4.031 kB / 0.5494 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/1.469, allocations: 4.38 MB / 0.5537 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3273/1.796, allocations: 0.5261 MB / 0.5542 GB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.798, allocations: 17.66 kB / 0.5542 GB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.8, allocations: 66.92 kB / 0.5543 GB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/1.801, allocations: 67.67 kB / 0.5543 GB, free: 80.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.801, allocations: 33.41 kB / 0.5544 GB, free: 80.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008063/1.809, allocations: 2.306 MB / 0.5566 GB, free: 80.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.272e-06/1.809, allocations: 0 / 0.5566 GB, free: 80.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006831/1.816, allocations: 0.814 MB / 0.5574 GB, free: 80.64 MB / 362.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.0141/1.83, allocations: 5.305 MB / 0.5626 GB, free: 79.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.841, allocations: 3.951 MB / 0.5664 GB, free: 79.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.841, allocations: 2.938 kB / 0.5665 GB, free: 79.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/1.843, allocations: 1.079 MB / 0.5675 GB, free: 79.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.847, allocations: 352.1 kB / 0.5678 GB, free: 79.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05364/1.901, allocations: 98.95 MB / 0.6645 GB, free: 16.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006636/1.907, allocations: 2.833 MB / 0.6672 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007811/1.915, allocations: 1.64 MB / 0.6688 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004081/1.919, allocations: 1.51 MB / 0.6703 GB, free: 15.72 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/1.919, allocations: 2.406 kB / 0.6703 GB, free: 15.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4111/2.331, allocations: 63.61 MB / 0.7324 GB, free: 101.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/2.331, allocations: 221.2 kB / 0.7327 GB, free: 101 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.864/7.195, allocations: 0 / 0.7327 GB, free: 101 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat