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.291/2.291, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.36e-05, allocations: 4 kB / 309.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3893, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5348, allocations: 80.99 MB / 445.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5351, allocations: 63.97 kB / 445.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03047/0.5656, allocations: 6.879 MB / 452.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5657, allocations: 0 / 452.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.5657, allocations: 8.938 kB / 452.6 MB, free: 8.605 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.001302/0.567, allocations: 0.6118 MB / 453.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.035e-05/0.5671, allocations: 8.031 kB / 453.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.5673, allocations: 90.52 kB / 453.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.5675, allocations: 51.39 kB / 453.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.5677, allocations: 218.4 kB / 453.5 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.5678, allocations: 33 kB / 453.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5679, allocations: 55.91 kB / 453.6 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.5689, allocations: 450.1 kB / 454.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.569, allocations: 12.41 kB / 454.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.5691, allocations: 20 kB / 454.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.5691, allocations: 12 kB / 454.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.5698, allocations: 243.8 kB / 454.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.5736, allocations: 1.707 MB / 456.1 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.5744, allocations: 403.5 kB / 456.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.5747, allocations: 149.9 kB / 456.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.5748, allocations: 11.94 kB / 456.6 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.5748, allocations: 54.48 kB / 456.7 MB, free: 4.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.018e-06/0.5749, allocations: 0 / 456.7 MB, free: 4.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009795/0.5759, allocations: 273.2 kB / 456.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.576, allocations: 269.2 kB / 457.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.5764, allocations: 223.1 kB / 457.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.5764, allocations: 33.7 kB / 457.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.5766, allocations: 301.4 kB / 457.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.5768, allocations: 188.6 kB / 457.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.5769, allocations: 8 kB / 457.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.577, allocations: 338.8 kB / 458.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.5773, allocations: 113.6 kB / 458.4 MB, free: 2.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.5779, allocations: 407.5 kB / 458.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.5784, allocations: 179.8 kB / 458.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5784, allocations: 4 kB / 458.9 MB, free: 1.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001391/0.5798, allocations: 0.5479 MB / 459.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.5799, allocations: 8.938 kB / 459.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.5799, allocations: 8 kB / 459.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-05/0.58, allocations: 16 kB / 459.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.5811, allocations: 184.4 kB / 459.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.5811, allocations: 19.94 kB / 459.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.5816, allocations: 59.38 kB / 459.8 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.5817, allocations: 36 kB / 459.8 MB, free: 0.7812 MB / 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.0001786/0.5819, allocations: 156.6 kB / 460 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.5821, allocations: 43.52 kB / 460 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.5823, allocations: 41.83 kB / 460.1 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5823, allocations: 8.562 kB / 460.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5823, allocations: 4 kB / 460.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.5824, allocations: 4 kB / 460.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.5839, allocations: 409.2 kB / 460.5 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.584, allocations: 7.953 kB / 460.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.5853, allocations: 119.9 kB / 460.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.5853, allocations: 7.938 kB / 460.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.5854, allocations: 16 kB / 460.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.5854, allocations: 7.984 kB / 460.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.5854, allocations: 7.938 kB / 460.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5867, allocations: 1.159 MB / 461.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.5869, allocations: 112.6 kB / 461.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.5869, allocations: 8.438 kB / 461.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.5876, allocations: 12 kB / 461.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.5877, allocations: 43.84 kB / 462 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.5877, allocations: 8 kB / 462 MB, free: 14.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.5879, allocations: 175.1 kB / 462.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.588, allocations: 0 / 462.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001123/0.5891, allocations: 135.7 kB / 462.3 MB, free: 14.17 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.001748/0.5909, allocations: 2.269 MB / 464.5 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009203/0.5918, allocations: 337.1 kB / 464.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5919, allocations: 0.75 kB / 464.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.5921, allocations: 131.8 kB / 465 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5934, allocations: 73.75 kB / 465.1 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.5985, allocations: 2.16 MB / 467.2 MB, free: 9.086 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.5991, allocations: 0.8395 MB / 468.1 MB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.5995, allocations: 147.4 kB / 468.2 MB, free: 8.074 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5995, allocations: 0 / 468.2 MB, free: 8.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/3.271, allocations: 6.782 MB / 475 MB, free: 1.289 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