Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01042/0.01042, allocations: 174.4 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.228/2.228, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002052/0.002052, allocations: 116.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2639/0.2639, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004826, allocations: 14.81 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1004, allocations: 54.86 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.593, allocations: 83.52 MB / 0.5319 GB, free: 25.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5933, allocations: 65.66 kB / 0.532 GB, free: 25.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376/1.97, allocations: 71.86 MB / 0.6021 GB, free: 5.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/1.97, allocations: 0 / 0.6021 GB, free: 5.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/1.97, allocations: 0 / 0.6021 GB, free: 5.793 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.00692/1.977, allocations: 475.7 kB / 0.6026 GB, free: 5.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.977, allocations: 11.97 kB / 0.6026 GB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/1.977, allocations: 30.56 kB / 0.6026 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/1.977, allocations: 0 / 0.6026 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.372e-05/1.977, allocations: 163.1 kB / 0.6028 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/1.977, allocations: 4 kB / 0.6028 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/1.977, allocations: 0 / 0.6028 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/1.977, allocations: 33.64 kB / 0.6028 GB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/1.977, allocations: 3.953 kB / 0.6028 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/1.977, allocations: 4 kB / 0.6028 GB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.977, allocations: 0 / 0.6028 GB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/1.977, allocations: 11.67 kB / 0.6028 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/1.977, allocations: 224.9 kB / 0.603 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/1.977, allocations: 26.23 kB / 0.6031 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/1.977, allocations: 0 / 0.6031 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.977, allocations: 68.16 kB / 0.6031 GB, free: 4.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.977, allocations: 3.938 kB / 0.6031 GB, free: 4.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001912/1.978, allocations: 70.89 kB / 0.6032 GB, free: 4.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.978, allocations: 77.11 kB / 0.6033 GB, free: 4.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.026e-05/1.978, allocations: 85 kB / 0.6034 GB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/1.978, allocations: 25.7 kB / 0.6034 GB, free: 4.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/1.978, allocations: 84.14 kB / 0.6035 GB, free: 4.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/1.978, allocations: 11.27 kB / 0.6035 GB, free: 4.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.978, allocations: 4.125 kB / 0.6035 GB, free: 4.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/1.978, allocations: 310.8 kB / 0.6038 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/1.978, allocations: 0 / 0.6038 GB, free: 3.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/1.978, allocations: 4 kB / 0.6038 GB, free: 3.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/1.978, allocations: 37.08 kB / 0.6038 GB, free: 3.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.978, allocations: 0 / 0.6038 GB, free: 3.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.318e-05/1.978, allocations: 63.39 kB / 0.6039 GB, free: 3.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.978, allocations: 29.7 kB / 0.6039 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.978, allocations: 4 kB / 0.6039 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.978, allocations: 12.05 kB / 0.6039 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-05/1.978, allocations: 0 / 0.6039 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.978, allocations: 0 / 0.6039 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/1.978, allocations: 3.375 kB / 0.6039 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/1.978, allocations: 0 / 0.6039 GB, free: 3.715 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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.827e-05/1.978, allocations: 135.5 kB / 0.6041 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/1.978, allocations: 3.984 kB / 0.6041 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/1.978, allocations: 7.078 kB / 0.6041 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.978, allocations: 3.953 kB / 0.6041 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.978, allocations: 8 kB / 0.6041 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.978, allocations: 0 / 0.6041 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.979, allocations: 299.4 kB / 0.6044 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.979, allocations: 0 / 0.6044 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/1.979, allocations: 0 / 0.6044 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.979, allocations: 4 kB / 0.6044 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.979, allocations: 3.953 kB / 0.6044 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.979, allocations: 3.984 kB / 0.6044 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.979, allocations: 0 / 0.6044 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/1.979, allocations: 168.8 kB / 0.6045 GB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/1.979, allocations: 81.11 kB / 0.6046 GB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.979, allocations: 7.922 kB / 0.6046 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/1.979, allocations: 7.391 kB / 0.6046 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/1.979, allocations: 0 / 0.6046 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/1.979, allocations: 4 kB / 0.6046 GB, free: 2.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.5e-05/1.979, allocations: 75.28 kB / 0.6047 GB, free: 2.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.979, allocations: 4.031 kB / 0.6047 GB, free: 2.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01273/1.992, allocations: 1.522 MB / 0.6062 GB, free: 1.297 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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.022/2.014, allocations: 2.639 MB / 0.6088 GB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/2.014, allocations: 63.34 kB / 0.6088 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.014, allocations: 0 / 0.6088 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/2.014, allocations: 58.97 kB / 0.6089 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/2.014, allocations: 14.81 kB / 0.6089 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/2.021, allocations: 400 kB / 0.6093 GB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/2.021, allocations: 0.6731 MB / 0.6099 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.846e-05/2.021, allocations: 7.922 kB / 0.6099 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/2.021, allocations: 7.438 kB / 0.61 GB, free: 13.34 MB / 394.7 MB Notification: Performance of SimCode: time 3.457e-06/2.021, allocations: 0 / 0.61 GB, free: 13.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/2.256, allocations: 88.2 MB / 0.6961 GB, free: 5.078 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/2.257, allocations: 220 kB / 0.6963 GB, free: 4.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/14.25, allocations: 0 / 0.6963 GB, free: 4.84 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat