Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.4466, allocations: 73.31 MB / 381.9 MB, free: 3.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4469, allocations: 71.97 kB / 381.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.4738, allocations: 5.96 MB / 387.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4739, allocations: 3.938 kB / 387.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.4739, allocations: 8 kB / 387.9 MB, free: 13.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006995/0.4746, allocations: 423.2 kB / 388.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4747, allocations: 8.031 kB / 388.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.074e-05/0.4747, allocations: 109.8 kB / 388.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.4748, allocations: 84.66 kB / 388.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.475, allocations: 246.3 kB / 388.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.4751, allocations: 150.6 kB / 388.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.4752, allocations: 158.6 kB / 389.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.729e-05/0.4752, allocations: 101 kB / 389.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.4753, allocations: 75.28 kB / 389.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.4754, allocations: 154.5 kB / 389.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.4754, allocations: 150.6 kB / 389.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.4755, allocations: 154.6 kB / 389.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.4758, allocations: 453.9 kB / 390.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.4759, allocations: 169.1 kB / 390.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.476, allocations: 75.28 kB / 390.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.4761, allocations: 51.34 kB / 390.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 3.737e-06/0.4762, allocations: 0 / 390.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.4763, allocations: 33.7 kB / 390.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4764, allocations: 51.41 kB / 390.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4765, allocations: 104.9 kB / 390.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4765, allocations: 25.7 kB / 390.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.4766, allocations: 80.14 kB / 390.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.4766, allocations: 8.125 kB / 390.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.4766, allocations: 0 / 390.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4768, allocations: 314.8 kB / 391 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.4768, allocations: 0 / 391 MB, free: 9.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-06/0.4768, allocations: 3.938 kB / 391 MB, free: 9.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.4768, allocations: 4 kB / 391 MB, free: 9.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.4768, allocations: 3.984 kB / 391 MB, free: 9.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.854e-05/0.4769, allocations: 37.56 kB / 391.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4769, allocations: 8.094 kB / 391.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.477, allocations: 0 / 391.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.477, allocations: 7.938 kB / 391.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.13e-05/0.477, allocations: 0 / 391.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4771, allocations: 0 / 391.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.4771, allocations: 0 / 391.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.4771, allocations: 0 / 391.1 MB, free: 9.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.504e-05/0.4772, allocations: 113.8 kB / 391.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.4773, allocations: 11.94 kB / 391.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.4773, allocations: 7.125 kB / 391.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4773, allocations: 0 / 391.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4773, allocations: 0 / 391.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4773, allocations: 0 / 391.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.4775, allocations: 149.7 kB / 391.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4775, allocations: 0 / 391.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/0.4775, allocations: 0 / 391.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.4775, allocations: 3.953 kB / 391.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.4775, allocations: 0 / 391.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4775, allocations: 4 kB / 391.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4776, allocations: 0 / 391.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.4777, allocations: 65.17 kB / 391.4 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.4777, allocations: 81.11 kB / 391.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4778, allocations: 3.953 kB / 391.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.4778, allocations: 8 kB / 391.5 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.4778, allocations: 3.938 kB / 391.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4778, allocations: 0 / 391.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.4779, allocations: 83.27 kB / 391.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4779, allocations: 4.031 kB / 391.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007229/0.4786, allocations: 159.8 kB / 391.8 MB, free: 9.129 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001674/0.4803, allocations: 0.9733 MB / 392.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.4804, allocations: 12 kB / 392.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4805, allocations: 0 / 392.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.4805, allocations: 7.938 kB / 392.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.4806, allocations: 7.891 kB / 392.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.4817, allocations: 434.4 kB / 393.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4819, allocations: 0.677 MB / 393.9 MB, free: 6.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.482, allocations: 11.92 kB / 393.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.4821, allocations: 11.44 kB / 393.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4821, allocations: 0 / 393.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.516, allocations: 3.581 MB / 397.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003462/0.5164, allocations: 219 kB / 397.7 MB, free: 3.121 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.37, allocations: 4.062 kB / 397.7 MB, free: 3.117 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat