Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial.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.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.246/2.246, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.207e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3277, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4693, allocations: 80.93 MB / 439.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4696, allocations: 63.97 kB / 439.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.808/2.278, allocations: 48.44 MB / 487.6 MB, free: 92.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/2.278, allocations: 4 kB / 487.6 MB, free: 92.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/2.278, allocations: 4 kB / 487.6 MB, free: 92.23 MB / 394.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.00335/2.281, allocations: 433.6 kB / 488 MB, free: 91.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/2.281, allocations: 13.06 kB / 488 MB, free: 91.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/2.281, allocations: 3.953 kB / 488 MB, free: 91.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/2.282, allocations: 163.1 kB / 488.2 MB, free: 91.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/2.282, allocations: 0 / 488.2 MB, free: 91.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/2.282, allocations: 0 / 488.2 MB, free: 91.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.049e-05/2.282, allocations: 0 / 488.2 MB, free: 91.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.299e-05/2.282, allocations: 38.72 kB / 488.2 MB, free: 91.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/2.282, allocations: 0 / 488.2 MB, free: 91.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/2.282, allocations: 0 / 488.2 MB, free: 91.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/2.282, allocations: 3.953 kB / 488.2 MB, free: 91.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.037e-05/2.282, allocations: 129.8 kB / 488.3 MB, free: 91.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/2.282, allocations: 26.23 kB / 488.4 MB, free: 91.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/2.282, allocations: 4.859 kB / 488.4 MB, free: 91.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/2.282, allocations: 0 / 488.4 MB, free: 91.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/2.282, allocations: 64.31 kB / 488.4 MB, free: 91.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/2.282, allocations: 4 kB / 488.4 MB, free: 91.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001666/2.282, allocations: 36.22 kB / 488.5 MB, free: 91.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/2.282, allocations: 81.11 kB / 488.5 MB, free: 91.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.099e-05/2.282, allocations: 85 kB / 488.6 MB, free: 91.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/2.282, allocations: 25.7 kB / 488.6 MB, free: 90.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/2.282, allocations: 150.6 kB / 488.8 MB, free: 90.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/2.282, allocations: 4 kB / 488.8 MB, free: 90.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/2.282, allocations: 4.031 kB / 488.8 MB, free: 90.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.612e-05/2.282, allocations: 314.8 kB / 489.1 MB, free: 90.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/2.282, allocations: 3.984 kB / 489.1 MB, free: 90.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/2.282, allocations: 0 / 489.1 MB, free: 90.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/2.282, allocations: 4 kB / 489.1 MB, free: 90.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/2.282, allocations: 0 / 489.1 MB, free: 90.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.195e-05/2.283, allocations: 29.7 kB / 489.1 MB, free: 90.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/2.283, allocations: 33.7 kB / 489.2 MB, free: 90.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/2.283, allocations: 4.094 kB / 489.2 MB, free: 90.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/2.283, allocations: 0.875 kB / 489.2 MB, free: 90.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/2.283, allocations: 6.891 kB / 489.2 MB, free: 90.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/2.283, allocations: 3.984 kB / 489.2 MB, free: 90.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/2.283, allocations: 0 / 489.2 MB, free: 90.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/2.283, allocations: 4 kB / 489.2 MB, free: 90.42 MB / 394.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 6.316e-05/2.283, allocations: 140.1 kB / 489.3 MB, free: 90.27 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.102e-05/2.283, allocations: 33.7 kB / 489.4 MB, free: 90.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/2.283, allocations: 4 kB / 489.4 MB, free: 90.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/2.283, allocations: 17.16 kB / 489.4 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/2.283, allocations: 0 / 489.4 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/2.283, allocations: 0 / 489.4 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/2.283, allocations: 0 / 489.4 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.137e-05/2.283, allocations: 126.2 kB / 489.5 MB, free: 90.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/2.283, allocations: 0 / 489.5 MB, free: 90.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/2.283, allocations: 4 kB / 489.5 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/2.283, allocations: 0 / 489.5 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/2.283, allocations: 0 / 489.5 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/2.283, allocations: 0 / 489.5 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/2.283, allocations: 3.938 kB / 489.5 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/2.283, allocations: 77.02 kB / 489.6 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/2.283, allocations: 77.11 kB / 489.7 MB, free: 89.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/2.283, allocations: 0 / 489.7 MB, free: 89.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/2.283, allocations: 3.938 kB / 489.7 MB, free: 89.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/2.283, allocations: 3.984 kB / 489.7 MB, free: 89.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/2.283, allocations: 4 kB / 489.7 MB, free: 89.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.605e-05/2.283, allocations: 75.28 kB / 489.8 MB, free: 89.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.283, allocations: 4.031 kB / 489.8 MB, free: 89.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006612/2.29, allocations: 1.307 MB / 491.1 MB, free: 88.48 MB / 394.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.01034/2.3, allocations: 1.719 MB / 492.8 MB, free: 86.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/2.301, allocations: 59.41 kB / 492.8 MB, free: 86.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.301, allocations: 0 / 492.8 MB, free: 86.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/2.301, allocations: 55.41 kB / 492.9 MB, free: 86.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/2.301, allocations: 6.781 kB / 492.9 MB, free: 86.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/2.303, allocations: 178.8 kB / 493.1 MB, free: 86.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/2.303, allocations: 0.6768 MB / 493.8 MB, free: 85.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/2.303, allocations: 7.438 kB / 493.8 MB, free: 85.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/2.303, allocations: 0 / 493.8 MB, free: 85.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.725/11.03, allocations: 68.76 MB / 0.5493 GB, free: 16.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat