Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09747, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.509, allocations: 73.24 MB / 381.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5093, allocations: 69.52 kB / 381.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01233/0.5217, allocations: 3.021 MB / 384.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5217, allocations: 0 / 384.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.5218, allocations: 4.125 kB / 384.9 MB, free: 14.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006833/0.5225, allocations: 453.5 kB / 385.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5225, allocations: 13.81 kB / 385.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.5226, allocations: 54.14 kB / 385.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.5227, allocations: 17.44 kB / 385.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5229, allocations: 222.7 kB / 385.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.523, allocations: 9.875 kB / 385.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.523, allocations: 20.81 kB / 385.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.5235, allocations: 153.6 kB / 385.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5235, allocations: 1.312 kB / 385.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5235, allocations: 4.688 kB / 385.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.5236, allocations: 12.09 kB / 385.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.5239, allocations: 104.4 kB / 385.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.5251, allocations: 0.5916 MB / 386.5 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.5255, allocations: 116.2 kB / 386.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.5255, allocations: 2.156 kB / 386.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.5256, allocations: 39.19 kB / 386.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/0.5256, allocations: 0 / 386.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.002239/0.5278, allocations: 0.805 MB / 387.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5279, allocations: 52.84 kB / 387.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.5282, allocations: 143.9 kB / 387.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.5282, allocations: 30.52 kB / 387.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.5283, allocations: 191.4 kB / 387.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.5284, allocations: 75.19 kB / 387.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.5284, allocations: 1.281 kB / 387.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.5285, allocations: 326 kB / 388.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.5287, allocations: 44.14 kB / 388.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.5289, allocations: 75.83 kB / 388.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.5291, allocations: 60.89 kB / 388.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5291, allocations: 0 / 388.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006498/0.5298, allocations: 197.9 kB / 388.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.5299, allocations: 5.938 kB / 388.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5299, allocations: 4.062 kB / 388.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.5302, allocations: 37 kB / 388.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.5305, allocations: 38.98 kB / 388.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.5321, allocations: 1.438 MB / 390.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.5323, allocations: 7.812 kB / 390.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.5323, allocations: 5.219 kB / 390.2 MB, free: 10.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.5326, allocations: 134.8 kB / 390.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.5326, allocations: 18.34 kB / 390.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.5327, allocations: 17.5 kB / 390.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5327, allocations: 6.578 kB / 390.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.5327, allocations: 1.312 kB / 390.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5328, allocations: 2.953 kB / 390.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.534, allocations: 0.5865 MB / 390.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5341, allocations: 0 / 390.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.5344, allocations: 32.95 kB / 391 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.5346, allocations: 31.59 kB / 391 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.5346, allocations: 3.969 kB / 391 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.5359, allocations: 1.384 MB / 392.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.536, allocations: 2.344 kB / 392.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.5368, allocations: 345 kB / 392.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.5369, allocations: 89.73 kB / 392.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.537, allocations: 8.328 kB / 392.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5371, allocations: 8.578 kB / 392.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.5372, allocations: 10.73 kB / 392.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5373, allocations: 11.06 kB / 392.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.5374, allocations: 115.1 kB / 393 MB, free: 8.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5374, allocations: 3.938 kB / 393 MB, free: 8.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.5379, allocations: 45.81 kB / 393 MB, free: 8.191 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.539, allocations: 0.8813 MB / 393.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.5398, allocations: 251.4 kB / 394.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5398, allocations: 4 kB / 394.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.5402, allocations: 193.4 kB / 394.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.5407, allocations: 21.5 kB / 394.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.5432, allocations: 1.696 MB / 396 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.5435, allocations: 0.7378 MB / 396.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5436, allocations: 49.52 kB / 396.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5436, allocations: 0 / 396.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.031/3.575, allocations: 3.627 MB / 400.5 MB, free: 5.164 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat