Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors.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.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 11.94 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09766, allocations: 44.52 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4279/0.5256, allocations: 72.81 MB / 381.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5259, allocations: 70.14 kB / 381.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.5364, allocations: 2.492 MB / 383.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5364, allocations: 0 / 383.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5365, allocations: 7.281 kB / 383.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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000584/0.537, allocations: 415.7 kB / 384.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5371, allocations: 9.406 kB / 384.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.31e-05/0.5372, allocations: 52.5 kB / 384.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.5372, allocations: 11.41 kB / 384.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.5374, allocations: 204.5 kB / 384.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5375, allocations: 9.406 kB / 384.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.5375, allocations: 22.39 kB / 384.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.5379, allocations: 136.6 kB / 384.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.538, allocations: 5.328 kB / 384.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.538, allocations: 10.8 kB / 384.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.538, allocations: 4.188 kB / 384.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.5384, allocations: 91.83 kB / 384.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5394, allocations: 0.537 MB / 385.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.5396, allocations: 84.28 kB / 385.5 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5397, allocations: 3.938 kB / 385.5 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5397, allocations: 31.94 kB / 385.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.575e-06/0.5397, allocations: 0 / 385.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.001219/0.541, allocations: 0.6088 MB / 386.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.541, allocations: 52.78 kB / 386.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.5411, allocations: 122.4 kB / 386.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5412, allocations: 27.08 kB / 386.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.5412, allocations: 204.3 kB / 386.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.5413, allocations: 41.44 kB / 386.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.5413, allocations: 5.312 kB / 386.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.5414, allocations: 316.2 kB / 386.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.5415, allocations: 32.95 kB / 386.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5417, allocations: 87.36 kB / 387 MB, free: 11.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.5418, allocations: 45.73 kB / 387.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5418, allocations: 5.219 kB / 387.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003955/0.5423, allocations: 152.7 kB / 387.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5423, allocations: 5.781 kB / 387.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5423, allocations: 1.594 kB / 387.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/0.5424, allocations: 7.812 kB / 387.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.5426, allocations: 43.23 kB / 387.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5427, allocations: 6.844 kB / 387.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.5428, allocations: 5.094 kB / 387.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.5428, allocations: 9.25 kB / 387.3 MB, free: 11.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001177/0.543, allocations: 124.5 kB / 387.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.543, allocations: 13.39 kB / 387.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.5431, allocations: 11.31 kB / 387.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5431, allocations: 5.406 kB / 387.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5431, allocations: 0.5 kB / 387.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5431, allocations: 4.562 kB / 387.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.5438, allocations: 451.2 kB / 387.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5438, allocations: 12.05 kB / 387.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.5441, allocations: 30.66 kB / 387.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5441, allocations: 5.469 kB / 387.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.5441, allocations: 5.062 kB / 387.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5441, allocations: 1.5 kB / 387.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5442, allocations: 1.156 kB / 387.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.5446, allocations: 281.1 kB / 388.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.5447, allocations: 83.23 kB / 388.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.5447, allocations: 7.984 kB / 388.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.5449, allocations: 3.938 kB / 388.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.5449, allocations: 15.58 kB / 388.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5449, allocations: 5.688 kB / 388.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.545, allocations: 95.81 kB / 388.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.545, allocations: 1.281 kB / 388.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000399/0.5454, allocations: 30.78 kB / 388.4 MB, free: 10.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.0006698/0.5461, allocations: 0.9483 MB / 389.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.5465, allocations: 101.9 kB / 389.5 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5465, allocations: 0 / 389.5 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.5467, allocations: 41.38 kB / 389.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.547, allocations: 12.02 kB / 389.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.549, allocations: 2.053 MB / 391.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.5492, allocations: 0.7164 MB / 392.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.5493, allocations: 40.53 kB / 392.4 MB, free: 7.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.5494, allocations: 1.312 kB / 392.4 MB, free: 7.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.704/3.253, allocations: 2.023 MB / 394.4 MB, free: 7.336 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat