Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.256/2.256, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006611, allocations: 19.98 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3903, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.5913, allocations: 82.3 MB / 451.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5917, allocations: 71.95 kB / 451.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03829/0.63, allocations: 8.401 MB / 460.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.63, allocations: 0 / 460.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.6301, allocations: 8 kB / 460.1 MB, free: 15.67 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001533/0.6316, allocations: 0.6703 MB / 460.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.6317, allocations: 8.031 kB / 460.8 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.6319, allocations: 90.52 kB / 460.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.632, allocations: 55.34 kB / 461 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.6326, allocations: 293.3 kB / 461.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.6326, allocations: 37 kB / 461.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.6328, allocations: 67.78 kB / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6339, allocations: 418.6 kB / 461.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.634, allocations: 11.89 kB / 461.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.6341, allocations: 20 kB / 461.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.6341, allocations: 12 kB / 461.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.6349, allocations: 308.5 kB / 462.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.6377, allocations: 1.161 MB / 463.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.6388, allocations: 481.1 kB / 463.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.6389, allocations: 16.47 kB / 463.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.6389, allocations: 35 kB / 463.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 5.47e-06/0.639, allocations: 4 kB / 463.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.004712/0.6437, allocations: 2.132 MB / 465.9 MB, free: 9.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.6438, allocations: 89.61 kB / 466 MB, free: 9.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.6441, allocations: 222.1 kB / 466.2 MB, free: 9.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.6442, allocations: 41.7 kB / 466.3 MB, free: 9.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.6444, allocations: 259.4 kB / 466.5 MB, free: 8.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.6447, allocations: 268.1 kB / 466.8 MB, free: 8.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.6448, allocations: 16 kB / 466.8 MB, free: 8.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6449, allocations: 342.8 kB / 467.1 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.6455, allocations: 149.9 kB / 467.3 MB, free: 8.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.646, allocations: 272.9 kB / 467.5 MB, free: 7.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.6466, allocations: 195.4 kB / 467.7 MB, free: 7.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6466, allocations: 4 kB / 467.7 MB, free: 7.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001311/0.6479, allocations: 0.5474 MB / 468.3 MB, free: 7.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.648, allocations: 14.02 kB / 468.3 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.648, allocations: 4 kB / 468.3 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.648, allocations: 4 kB / 468.3 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6492, allocations: 183.7 kB / 468.5 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.6492, allocations: 4.281 kB / 468.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.6497, allocations: 31.98 kB / 468.5 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.6498, allocations: 20 kB / 468.5 MB, free: 6.785 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.6501, allocations: 185.6 kB / 468.7 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6503, allocations: 43.48 kB / 468.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.6504, allocations: 59.64 kB / 468.8 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6504, allocations: 8 kB / 468.8 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6505, allocations: 4 kB / 468.8 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.6505, allocations: 7.984 kB / 468.8 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.6535, allocations: 1.442 MB / 470.3 MB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6535, allocations: 8.062 kB / 470.3 MB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.6548, allocations: 163.8 kB / 470.4 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.6548, allocations: 4 kB / 470.4 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.6549, allocations: 16 kB / 470.5 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/0.6549, allocations: 11.98 kB / 470.5 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6549, allocations: 3.938 kB / 470.5 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.6568, allocations: 1.045 MB / 471.5 MB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.6569, allocations: 128.5 kB / 471.7 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.657, allocations: 16 kB / 471.7 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.6575, allocations: 20 kB / 471.7 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6576, allocations: 48.33 kB / 471.7 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.6577, allocations: 27.97 kB / 471.8 MB, free: 3.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.658, allocations: 174 kB / 471.9 MB, free: 3.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.347e-06/0.658, allocations: 3.938 kB / 471.9 MB, free: 3.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007818/0.6588, allocations: 147.9 kB / 472.1 MB, free: 2.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002621/0.6614, allocations: 2.428 MB / 474.5 MB, free: 448 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.3544/1.016, allocations: 450.7 kB / 474.9 MB, free: 95.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.016, allocations: 0.5 kB / 474.9 MB, free: 95.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.017, allocations: 233.2 kB / 475.2 MB, free: 95.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.019, allocations: 100 kB / 475.3 MB, free: 95.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/1.029, allocations: 5.15 MB / 480.4 MB, free: 92.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/1.03, allocations: 0.8597 MB / 481.3 MB, free: 91.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/1.031, allocations: 170.8 kB / 481.4 MB, free: 91.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/1.031, allocations: 0 / 481.4 MB, free: 91.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/3.766, allocations: 7.752 MB / 489.2 MB, free: 90.09 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat