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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.581/2.581, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.96e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4063, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.5557, allocations: 79.04 MB / 437.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.556, allocations: 63.95 kB / 437.2 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006472/0.5625, allocations: 1.666 MB / 438.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5625, allocations: 0 / 438.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.5626, allocations: 0 / 438.9 MB, free: 13.97 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.0003517/0.5629, allocations: 358.3 kB / 439.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.563, allocations: 8.031 kB / 439.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.563, allocations: 7.859 kB / 439.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5632, allocations: 159.1 kB / 439.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.5632, allocations: 0 / 439.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.5632, allocations: 4 kB / 439.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.712e-05/0.5632, allocations: 4 kB / 439.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.845e-05/0.5633, allocations: 33.62 kB / 439.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5633, allocations: 0 / 439.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.5634, allocations: 0 / 439.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5634, allocations: 7.953 kB / 439.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.5635, allocations: 126.2 kB / 439.6 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.5636, allocations: 14.58 kB / 439.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.5636, allocations: 8.859 kB / 439.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.5636, allocations: 4.094 kB / 439.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.5637, allocations: 56.27 kB / 439.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.5637, allocations: 0 / 439.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001823/0.5639, allocations: 37.62 kB / 439.7 MB, free: 13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.564, allocations: 81.11 kB / 439.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.026e-05/0.564, allocations: 89 kB / 439.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.564, allocations: 25.7 kB / 439.9 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.5641, allocations: 154.6 kB / 440 MB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.5641, allocations: 0 / 440 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.5641, allocations: 0 / 440 MB, free: 12.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5643, allocations: 314.8 kB / 440.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.5643, allocations: 0 / 440.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.5643, allocations: 4 kB / 440.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.5643, allocations: 0 / 440.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5644, allocations: 0 / 440.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.046e-05/0.5645, allocations: 45.69 kB / 440.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.5645, allocations: 29.7 kB / 440.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5646, allocations: 3.938 kB / 440.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5646, allocations: 0 / 440.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.5646, allocations: 0 / 440.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5646, allocations: 0 / 440.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.5646, allocations: 7.938 kB / 440.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.5647, allocations: 0 / 440.4 MB, free: 12.2 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 9.821e-05/0.5648, allocations: 134.6 kB / 440.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.8e-05/0.5649, allocations: 49.7 kB / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.5649, allocations: 0 / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.5649, allocations: 7.703 kB / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5649, allocations: 0 / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5649, allocations: 0 / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5649, allocations: 0 / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.5651, allocations: 134.2 kB / 440.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5651, allocations: 0 / 440.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.5651, allocations: 0 / 440.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.5651, allocations: 0 / 440.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5651, allocations: 4 kB / 440.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5651, allocations: 4.031 kB / 440.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5651, allocations: 0 / 440.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.5653, allocations: 77 kB / 440.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.5653, allocations: 77.11 kB / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.5653, allocations: 0 / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.5654, allocations: 0 / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.5654, allocations: 0 / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5654, allocations: 8.031 kB / 440.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.5655, allocations: 75.28 kB / 441 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5655, allocations: 0 / 441 MB, free: 11.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.5658, allocations: 31.98 kB / 441 MB, free: 11.52 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.001016/0.5668, allocations: 0.7621 MB / 441.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.567, allocations: 67.39 kB / 441.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.567, allocations: 0 / 441.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.567, allocations: 55.41 kB / 441.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.5671, allocations: 3.938 kB / 441.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.5675, allocations: 127.3 kB / 442 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5678, allocations: 0.669 MB / 442.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.5678, allocations: 11.44 kB / 442.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5678, allocations: 0 / 442.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.564/3.131, allocations: 1.129 MB / 443.8 MB, free: 8.602 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