Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_1_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004792, allocations: 8 kB / 233.3 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 38.76 MB / 272.1 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.5179, allocations: 67.58 MB / 339.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5182, allocations: 71.66 kB / 339.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.5483, allocations: 6.108 MB / 345.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5484, allocations: 0 / 345.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.5484, allocations: 0 / 345.9 MB, free: 0.6797 MB / 266.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.0008546/0.5493, allocations: 425.8 kB / 346.3 MB, free: 228 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.5493, allocations: 8.031 kB / 346.3 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.5494, allocations: 109.8 kB / 346.4 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.5495, allocations: 78.66 kB / 346.5 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.5498, allocations: 246.3 kB / 346.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.55, allocations: 156 kB / 346.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.5501, allocations: 154.5 kB / 347 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/0.5502, allocations: 101 kB / 347.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.5502, allocations: 83.28 kB / 347.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.5503, allocations: 154 kB / 347.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.767e-05/0.5504, allocations: 150.6 kB / 347.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.5505, allocations: 150.6 kB / 347.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.551, allocations: 449.5 kB / 348.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.5512, allocations: 173.1 kB / 348.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.5512, allocations: 79.22 kB / 348.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/0.5513, allocations: 109.8 kB / 348.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.5513, allocations: 0 / 348.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.000118/0.5514, allocations: 37.59 kB / 348.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/0.5516, allocations: 138.1 kB / 348.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.5517, allocations: 92.98 kB / 348.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5517, allocations: 25.7 kB / 348.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.5518, allocations: 83.81 kB / 348.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.5518, allocations: 0 / 348.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-07/0.5518, allocations: 0 / 348.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.552, allocations: 322.8 kB / 349.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-06/0.552, allocations: 0 / 349.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.5521, allocations: 0 / 349.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.5521, allocations: 79.28 kB / 349.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.016e-05/0.5522, allocations: 75.28 kB / 349.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001056/0.5523, allocations: 29.7 kB / 349.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.5524, allocations: 80.38 kB / 349.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/0.5524, allocations: 79.22 kB / 349.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-05/0.5525, allocations: 161.9 kB / 349.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.5526, allocations: 79.22 kB / 349.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.99e-05/0.5527, allocations: 158.5 kB / 349.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.5529, allocations: 79.27 kB / 349.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.5529, allocations: 79.22 kB / 350 MB, free: 12.33 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001716/0.5531, allocations: 263.2 kB / 350.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.5532, allocations: 101 kB / 350.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.5533, allocations: 116 kB / 350.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.962e-05/0.5534, allocations: 188.2 kB / 350.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-05/0.5535, allocations: 183.5 kB / 350.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.154e-05/0.5536, allocations: 176.3 kB / 351 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.554, allocations: 401.2 kB / 351.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.148e-05/0.5541, allocations: 111.9 kB / 351.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.5542, allocations: 105 kB / 351.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.505e-05/0.5543, allocations: 188.2 kB / 351.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.5544, allocations: 176.3 kB / 352 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.041e-05/0.5545, allocations: 180.2 kB / 352.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.657e-05/0.5546, allocations: 187.9 kB / 352.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.5549, allocations: 307.7 kB / 352.6 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.555, allocations: 189.6 kB / 352.8 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5551, allocations: 176.3 kB / 353 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5553, allocations: 105.4 kB / 353.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.5554, allocations: 184.3 kB / 353.3 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.5555, allocations: 112.9 kB / 353.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.068e-05/0.5556, allocations: 83.03 kB / 353.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5556, allocations: 0 / 353.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001199/0.5568, allocations: 150.4 kB / 353.6 MB, free: 8.527 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.002305/0.5591, allocations: 1.186 MB / 354.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.853e-05/0.5592, allocations: 0 / 354.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5592, allocations: 7.875 kB / 354.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.5592, allocations: 0 / 354.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.5598, allocations: 0.522 MB / 355.3 MB, free: 6.844 MB / 282.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.564, allocations: 1.338 MB / 356.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.5644, allocations: 0.6732 MB / 357.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.6e-05/0.5644, allocations: 7.969 kB / 357.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.5645, allocations: 15.44 kB / 357.4 MB, free: 5.098 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5645, allocations: 0 / 357.4 MB, free: 5.098 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1804/0.7449, allocations: 3.516 MB / 360.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000353/0.7453, allocations: 222.6 kB / 361.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.234, allocations: 4.062 kB / 361.1 MB, free: 1.367 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat