Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestInternal.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.518/2.518, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.417e-05, allocations: 4 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.395, allocations: 54.86 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5433, allocations: 79.71 MB / 444.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5436, allocations: 60.72 kB / 444.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006519/0.5501, allocations: 1.662 MB / 446 MB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5502, allocations: 4.656 kB / 446.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5502, allocations: 0 / 446.1 MB, free: 15.06 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003257/0.5505, allocations: 360.2 kB / 446.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5506, allocations: 8.031 kB / 446.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.5506, allocations: 30.56 kB / 446.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.5507, allocations: 7.953 kB / 446.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.5508, allocations: 164.1 kB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5508, allocations: 0 / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.5509, allocations: 5.859 kB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.551, allocations: 33.7 kB / 446.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.551, allocations: 0 / 446.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.551, allocations: 0 / 446.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.551, allocations: 7.938 kB / 446.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.551, allocations: 0 / 446.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.5512, allocations: 153.6 kB / 446.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.5513, allocations: 14.58 kB / 446.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.5513, allocations: 8.859 kB / 446.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.5513, allocations: 4.094 kB / 446.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.5514, allocations: 56.27 kB / 446.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.5514, allocations: 0 / 446.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.5516, allocations: 63.39 kB / 446.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.5516, allocations: 85.05 kB / 447 MB, free: 13.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.5517, allocations: 85 kB / 447.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5517, allocations: 25.7 kB / 447.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.5518, allocations: 154.6 kB / 447.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.5518, allocations: 0 / 447.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.5518, allocations: 0 / 447.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.552, allocations: 314.8 kB / 447.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.552, allocations: 5.219 kB / 447.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.552, allocations: 0 / 447.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.5521, allocations: 25.7 kB / 447.6 MB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5521, allocations: 7.984 kB / 447.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.203e-05/0.5522, allocations: 63.47 kB / 447.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.5522, allocations: 33.7 kB / 447.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5522, allocations: 0.875 kB / 447.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5523, allocations: 0 / 447.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.5523, allocations: 0 / 447.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5523, allocations: 3.938 kB / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.5523, allocations: 0 / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.5523, allocations: 3.172 kB / 447.7 MB, free: 13.12 MB / 378.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 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001045/0.5525, allocations: 138.6 kB / 447.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.5525, allocations: 4.781 kB / 447.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.5525, allocations: 7.078 kB / 447.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5525, allocations: 0 / 447.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5525, allocations: 6.25 kB / 447.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5525, allocations: 0 / 447.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.5527, allocations: 153.6 kB / 448 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5527, allocations: 0 / 448 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.5527, allocations: 0 / 448 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5527, allocations: 1.031 kB / 448 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5527, allocations: 4 kB / 448 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5527, allocations: 0 / 448 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5527, allocations: 4 kB / 448.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.5529, allocations: 90.78 kB / 448.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.5529, allocations: 81.11 kB / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.553, allocations: 0 / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.553, allocations: 0 / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.553, allocations: 3.938 kB / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.553, allocations: 0 / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.5531, allocations: 87.31 kB / 448.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5531, allocations: 1.031 kB / 448.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000299/0.5534, allocations: 27.98 kB / 448.3 MB, free: 12.43 MB / 378.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 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001025/0.5544, allocations: 0.8012 MB / 449.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.5546, allocations: 67.33 kB / 449.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5546, allocations: 0 / 449.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.5546, allocations: 55.41 kB / 449.3 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.615e-05/0.5547, allocations: 0 / 449.3 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.5551, allocations: 128.5 kB / 449.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.5554, allocations: 0.677 MB / 450.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.5554, allocations: 7.438 kB / 450.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5554, allocations: 0 / 450.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.407/2.962, allocations: 1.129 MB / 451.2 MB, free: 9.504 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat