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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.259/2.259, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.919e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4729, allocations: 80.32 MB / 438.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4732, allocations: 71.91 kB / 438.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02939/0.5026, allocations: 6.808 MB / 445.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5026, allocations: 0 / 445.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.5027, allocations: 8 kB / 445.3 MB, free: 7.527 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.001331/0.504, allocations: 0.612 MB / 445.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5041, allocations: 8.031 kB / 445.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.5042, allocations: 55.39 kB / 446 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.5045, allocations: 214.4 kB / 446.2 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.5045, allocations: 16 kB / 446.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.5047, allocations: 35.89 kB / 446.3 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000626/0.5053, allocations: 218.5 kB / 446.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.5062, allocations: 380.1 kB / 446.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.5063, allocations: 11.91 kB / 446.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.5064, allocations: 0 / 446.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5064, allocations: 12 kB / 446.9 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.5099, allocations: 1.626 MB / 448.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.5107, allocations: 379.5 kB / 448.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.511, allocations: 143.7 kB / 449 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.511, allocations: 4 kB / 449 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.5111, allocations: 46.5 kB / 449.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.818e-06/0.5111, allocations: 0 / 449.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008798/0.512, allocations: 245.6 kB / 449.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.5122, allocations: 265 kB / 449.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.5125, allocations: 198.3 kB / 449.7 MB, free: 2.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.5125, allocations: 29.83 kB / 449.8 MB, free: 2.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.5127, allocations: 305.9 kB / 450.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.5129, allocations: 173.5 kB / 450.2 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.513, allocations: 3.938 kB / 450.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5131, allocations: 338.8 kB / 450.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.5134, allocations: 97.56 kB / 450.7 MB, free: 1.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.5139, allocations: 389.9 kB / 451.1 MB, free: 1.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.5143, allocations: 168 kB / 451.2 MB, free: 1.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.5144, allocations: 4 kB / 451.2 MB, free: 1.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001155/0.5155, allocations: 476.8 kB / 451.7 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5156, allocations: 8 kB / 451.7 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5156, allocations: 12.84 kB / 451.7 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/0.5157, allocations: 16 kB / 451.7 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.5168, allocations: 183.7 kB / 451.9 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/0.5168, allocations: 19.92 kB / 451.9 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.5173, allocations: 47.62 kB / 452 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.5174, allocations: 32 kB / 452 MB, free: 312 kB / 378.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 () * 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.000169/0.5175, allocations: 138.7 kB / 452.1 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008363/0.5184, allocations: 249 kB / 452.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.5186, allocations: 35.75 kB / 452.4 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.5188, allocations: 41.83 kB / 452.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.5188, allocations: 4 kB / 452.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5188, allocations: 4 kB / 452.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.5188, allocations: 7.984 kB / 452.5 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5203, allocations: 353.7 kB / 452.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5203, allocations: 0 / 452.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.5216, allocations: 127.8 kB / 452.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.5217, allocations: 4 kB / 452.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.5217, allocations: 4 kB / 452.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.5218, allocations: 7.984 kB / 453 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5218, allocations: 8 kB / 453 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.523, allocations: 1.123 MB / 454.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5232, allocations: 112.7 kB / 454.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.5232, allocations: 8 kB / 454.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.5239, allocations: 0 / 454.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.524, allocations: 39.84 kB / 454.2 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.524, allocations: 11.98 kB / 454.3 MB, free: 13.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.5242, allocations: 154 kB / 454.4 MB, free: 13.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.204e-06/0.5242, allocations: 0 / 454.4 MB, free: 13.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001218/0.5255, allocations: 131.5 kB / 454.5 MB, free: 13.62 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 () * 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.001708/0.5272, allocations: 2.234 MB / 456.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.5281, allocations: 296.9 kB / 457.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5281, allocations: 4.875 kB / 457.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.5284, allocations: 116.3 kB / 457.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.5297, allocations: 71.23 kB / 457.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.5349, allocations: 2.121 MB / 459.4 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.5355, allocations: 0.8392 MB / 460.2 MB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.5358, allocations: 143.4 kB / 460.3 MB, free: 7.652 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5358, allocations: 0 / 460.3 MB, free: 7.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.192, allocations: 6.699 MB / 467 MB, free: 0.9531 MB / 394.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