Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3366, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5013, allocations: 73.24 MB / 381.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/0.5017, allocations: 67.97 kB / 381.9 MB, free: 3.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02914/0.5308, allocations: 3.031 MB / 384.9 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5309, allocations: 0 / 384.9 MB, free: 336 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.5309, allocations: 7.984 kB / 384.9 MB, free: 328 kB / 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.001039/0.532, allocations: 450.7 kB / 385.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.5321, allocations: 8.031 kB / 385.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.5322, allocations: 54.73 kB / 385.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.5348, allocations: 23.73 kB / 385.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.5353, allocations: 214.7 kB / 385.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.5354, allocations: 12 kB / 385.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.5355, allocations: 19.91 kB / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.5362, allocations: 157.4 kB / 385.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5362, allocations: 0 / 385.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.5363, allocations: 4 kB / 385.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5363, allocations: 4 kB / 385.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.5369, allocations: 107.9 kB / 385.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.5386, allocations: 0.5927 MB / 386.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.5392, allocations: 122.6 kB / 386.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.5392, allocations: 0 / 386.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.5393, allocations: 30.56 kB / 386.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/0.5393, allocations: 0 / 386.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.003216/0.5425, allocations: 0.8113 MB / 387.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.5426, allocations: 59.34 kB / 387.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.5429, allocations: 141.3 kB / 387.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.543, allocations: 33.7 kB / 387.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5431, allocations: 132.3 kB / 387.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.5432, allocations: 70.62 kB / 387.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.5433, allocations: 4 kB / 387.9 MB, free: 13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5435, allocations: 330.8 kB / 388.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.5437, allocations: 48.28 kB / 388.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.544, allocations: 76.16 kB / 388.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009867/0.5539, allocations: 55.98 kB / 388.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.554, allocations: 0 / 388.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009803/0.555, allocations: 213.7 kB / 388.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.555, allocations: 5.562 kB / 388.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5551, allocations: 4 kB / 388.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.5555, allocations: 32.83 kB / 388.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.556, allocations: 43.88 kB / 388.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.5612, allocations: 1.429 MB / 390.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5615, allocations: 8.031 kB / 390.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.5616, allocations: 8 kB / 390.2 MB, free: 10.61 MB / 330.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.0002463/0.5618, allocations: 133.9 kB / 390.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.5619, allocations: 15.81 kB / 390.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.562, allocations: 21.19 kB / 390.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.562, allocations: 11.89 kB / 390.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5621, allocations: 0 / 390.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5621, allocations: 0 / 390.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.5638, allocations: 0.5879 MB / 390.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5638, allocations: 0 / 390.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.5642, allocations: 31.92 kB / 391 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.5645, allocations: 28.84 kB / 391 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.5645, allocations: 8 kB / 391 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.5666, allocations: 1.378 MB / 392.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5666, allocations: 0 / 392.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.5678, allocations: 350.2 kB / 392.7 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5679, allocations: 92.95 kB / 392.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.5679, allocations: 3.953 kB / 392.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.5682, allocations: 16.05 kB / 392.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.5683, allocations: 7.984 kB / 392.8 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.5684, allocations: 4 kB / 392.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.5686, allocations: 123.2 kB / 393 MB, free: 7.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.685e-06/0.5686, allocations: 0 / 393 MB, free: 7.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007458/0.5693, allocations: 43.94 kB / 393 MB, free: 7.512 MB / 330.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.001619/0.571, allocations: 0.8808 MB / 393.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000996/0.572, allocations: 252 kB / 394.1 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.572, allocations: 0 / 394.1 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.5726, allocations: 198.5 kB / 394.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.5732, allocations: 17.02 kB / 394.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.5773, allocations: 1.673 MB / 396 MB, free: 4.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.5778, allocations: 0.74 MB / 396.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.578, allocations: 21.53 kB / 396.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.5781, allocations: 47.42 kB / 396.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5782, allocations: 0 / 396.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.6113, allocations: 3.406 MB / 400.2 MB, free: 180 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003774/0.6117, allocations: 198.4 kB / 400.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.45, allocations: 4 kB / 400.4 MB, free: 15.93 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat