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.Inertia.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.Inertia,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004326, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4551, allocations: 54.85 MB / 369.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.665, allocations: 81.08 MB / 450.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.6654, allocations: 59.97 kB / 450.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04127/0.7067, allocations: 6.862 MB / 457.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7067, allocations: 0 / 457.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.7068, allocations: 8 kB / 457.4 MB, free: 4.531 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001394/0.7082, allocations: 0.6434 MB / 458 MB, free: 3.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.7082, allocations: 8.031 kB / 458 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.7084, allocations: 90.52 kB / 458.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.7085, allocations: 55.3 kB / 458.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.7088, allocations: 220.2 kB / 458.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.7089, allocations: 37 kB / 458.4 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.709, allocations: 55.89 kB / 458.5 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.71, allocations: 454 kB / 458.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.7101, allocations: 11.91 kB / 458.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.7102, allocations: 20 kB / 458.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.7102, allocations: 12 kB / 458.9 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.7109, allocations: 251.7 kB / 459.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.7146, allocations: 1.707 MB / 460.9 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.7156, allocations: 415.6 kB / 461.3 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.7156, allocations: 15.94 kB / 461.3 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.7157, allocations: 50.48 kB / 461.4 MB, free: 216 kB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.547e-06/0.7157, allocations: 0 / 461.4 MB, free: 216 kB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001135/0.7168, allocations: 350.4 kB / 461.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.717, allocations: 269.5 kB / 462 MB, free: 15.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.7174, allocations: 213.8 kB / 462.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.7175, allocations: 37.69 kB / 462.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.7177, allocations: 302 kB / 462.5 MB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.7179, allocations: 181.5 kB / 462.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.718, allocations: 16 kB / 462.7 MB, free: 14.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7182, allocations: 338.8 kB / 463 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.7185, allocations: 110 kB / 463.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.7191, allocations: 413.6 kB / 463.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.7196, allocations: 184 kB / 463.7 MB, free: 13.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.7196, allocations: 7.781 kB / 463.7 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001383/0.721, allocations: 0.5481 MB / 464.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.7211, allocations: 12.19 kB / 464.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.7212, allocations: 15.94 kB / 464.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.515e-05/0.7213, allocations: 16 kB / 464.3 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.7228, allocations: 179.7 kB / 464.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.498e-05/0.723, allocations: 24.55 kB / 464.5 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.7237, allocations: 59.38 kB / 464.6 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.7238, allocations: 36 kB / 464.6 MB, free: 12.72 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0004487/0.7243, allocations: 189.4 kB / 464.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.7247, allocations: 35.62 kB / 464.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.7248, allocations: 45.7 kB / 464.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.7249, allocations: 4 kB / 464.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.7249, allocations: 8 kB / 464.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.7249, allocations: 7.984 kB / 464.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.7265, allocations: 417.1 kB / 465.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.7265, allocations: 7.953 kB / 465.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.7278, allocations: 123.9 kB / 465.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/0.7278, allocations: 4 kB / 465.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.7278, allocations: 8 kB / 465.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.7279, allocations: 4 kB / 465.5 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7279, allocations: 8 kB / 465.5 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.7294, allocations: 1.162 MB / 466.6 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.7296, allocations: 120.6 kB / 466.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.7297, allocations: 16 kB / 466.8 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/0.7303, allocations: 4 kB / 466.8 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.7304, allocations: 35.86 kB / 466.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.7304, allocations: 19.98 kB / 466.8 MB, free: 10.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.7307, allocations: 169.9 kB / 467 MB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7307, allocations: 0 / 467 MB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001374/0.7321, allocations: 135.7 kB / 467.1 MB, free: 10.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.001961/0.7341, allocations: 2.281 MB / 469.4 MB, free: 7.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.7351, allocations: 349.2 kB / 469.7 MB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7351, allocations: 0 / 469.7 MB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.7355, allocations: 123.8 kB / 469.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.7367, allocations: 77.36 kB / 469.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.7482, allocations: 10.51 MB / 480.4 MB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.7489, allocations: 0.8434 MB / 481.3 MB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.7492, allocations: 147.4 kB / 481.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7492, allocations: 0 / 481.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.737/3.486, allocations: 6.774 MB / 488.2 MB, free: 4.621 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat