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.323/2.323, allocations: 235 MB / 248.1 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.399e-05, allocations: 7.984 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3919, allocations: 54.85 MB / 364.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.542, allocations: 82.21 MB / 446.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5423, allocations: 67.97 kB / 446.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04735/0.5897, allocations: 8.414 MB / 455.3 MB, free: 5.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5897, allocations: 0 / 455.3 MB, free: 5.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.5898, allocations: 8 kB / 455.3 MB, free: 5.707 MB / 378.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.002004/0.5918, allocations: 0.6387 MB / 456 MB, free: 5.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.5919, allocations: 8.031 kB / 456 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.5921, allocations: 90.5 kB / 456.1 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.5924, allocations: 55.34 kB / 456.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.5931, allocations: 293.3 kB / 456.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.5932, allocations: 37 kB / 456.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.5934, allocations: 55.86 kB / 456.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.5948, allocations: 426.2 kB / 456.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.5948, allocations: 7.906 kB / 456.9 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.5949, allocations: 20 kB / 456.9 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5949, allocations: 15.94 kB / 456.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.5958, allocations: 299.7 kB / 457.2 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.5985, allocations: 1.16 MB / 458.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.5997, allocations: 472.6 kB / 458.9 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.6002, allocations: 207 kB / 459.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.6003, allocations: 12.47 kB / 459.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6003, allocations: 35 kB / 459.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.617e-06/0.6003, allocations: 0 / 459.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004367/0.6047, allocations: 1.991 MB / 461.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.6048, allocations: 85.67 kB / 461.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6051, allocations: 223.4 kB / 461.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.6052, allocations: 37.7 kB / 461.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.6054, allocations: 263.4 kB / 461.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.6057, allocations: 268.1 kB / 462 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.6057, allocations: 16 kB / 462 MB, free: 14.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6059, allocations: 342.8 kB / 462.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.6064, allocations: 149.6 kB / 462.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.6069, allocations: 255.6 kB / 462.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.6074, allocations: 206.8 kB / 462.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6075, allocations: 4 kB / 462.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001296/0.6088, allocations: 0.5348 MB / 463.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.6088, allocations: 8 kB / 463.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6088, allocations: 0 / 463.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.6089, allocations: 8 kB / 463.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6101, allocations: 176.1 kB / 463.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.24e-05/0.6102, allocations: 23.86 kB / 463.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.6107, allocations: 20 kB / 463.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.6108, allocations: 24 kB / 463.7 MB, free: 12.85 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 () * 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.0001809/0.6109, allocations: 145.4 kB / 463.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6111, allocations: 55.42 kB / 463.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6113, allocations: 51.64 kB / 463.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.6113, allocations: 8 kB / 464 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6113, allocations: 4 kB / 464 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.6114, allocations: 7.984 kB / 464 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.6146, allocations: 1.446 MB / 465.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.6146, allocations: 7.984 kB / 465.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.616, allocations: 151.8 kB / 465.6 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/0.616, allocations: 8 kB / 465.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.6161, allocations: 23.98 kB / 465.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.6161, allocations: 4 kB / 465.6 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.6161, allocations: 4 kB / 465.6 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.618, allocations: 1.04 MB / 466.6 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.6183, allocations: 120.5 kB / 466.8 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-05/0.6184, allocations: 20 kB / 466.8 MB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.6189, allocations: 27.92 kB / 466.8 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.619, allocations: 48.33 kB / 466.9 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.6191, allocations: 24 kB / 466.9 MB, free: 9.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002587/0.6193, allocations: 167.1 kB / 467 MB, free: 9.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6193, allocations: 4 kB / 467 MB, free: 9.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007652/0.6201, allocations: 148 kB / 467.2 MB, free: 9.098 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 () * 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.002609/0.6227, allocations: 2.41 MB / 469.6 MB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.6239, allocations: 449.3 kB / 470 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.624, allocations: 0 / 470 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005185/0.6245, allocations: 227.5 kB / 470.3 MB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6256, allocations: 115.8 kB / 470.4 MB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.6301, allocations: 1.705 MB / 472.1 MB, free: 4.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.6307, allocations: 0.8566 MB / 472.9 MB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.6311, allocations: 169 kB / 473.1 MB, free: 2.973 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6311, allocations: 0 / 473.1 MB, free: 2.973 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.608/3.24, allocations: 7.858 MB / 481 MB, free: 11.12 MB / 410.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