Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.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.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestDistributions",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.01005/0.01005, allocations: 176.1 kB / 15.12 MB, free: 6.043 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.066/2.066, 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.002035/0.002035, allocations: 120.6 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.2545/0.2545, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005145, allocations: 11.91 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 54.88 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.251, allocations: 82.15 MB / 0.5306 GB, free: 1.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.2513, allocations: 67.97 kB / 0.5306 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.196/2.447, allocations: 81.86 MB / 0.6106 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.447, allocations: 0 / 0.6106 GB, free: 14.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/2.447, allocations: 4 kB / 0.6106 GB, free: 14.36 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.007636/2.455, allocations: 448.8 kB / 0.611 GB, free: 13.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/2.455, allocations: 8.031 kB / 0.611 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/2.455, allocations: 30.56 kB / 0.611 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/2.455, allocations: 0 / 0.611 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.324e-05/2.455, allocations: 163.1 kB / 0.6112 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/2.455, allocations: 0 / 0.6112 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/2.455, allocations: 0 / 0.6112 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/2.455, allocations: 45.62 kB / 0.6112 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/2.455, allocations: 3.953 kB / 0.6112 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/2.455, allocations: 0 / 0.6112 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/2.455, allocations: 0 / 0.6112 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/2.455, allocations: 4 kB / 0.6112 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/2.455, allocations: 225 kB / 0.6115 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/2.456, allocations: 22.56 kB / 0.6115 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/2.456, allocations: 4 kB / 0.6115 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/2.456, allocations: 64.16 kB / 0.6115 GB, free: 13.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/2.456, allocations: 0 / 0.6115 GB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002045/2.456, allocations: 75.44 kB / 0.6116 GB, free: 13.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/2.456, allocations: 81.05 kB / 0.6117 GB, free: 13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.094e-05/2.456, allocations: 85 kB / 0.6118 GB, free: 12.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/2.456, allocations: 29.7 kB / 0.6118 GB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.374e-05/2.456, allocations: 80.14 kB / 0.6119 GB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/2.456, allocations: 12.03 kB / 0.6119 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/2.456, allocations: 3.938 kB / 0.6119 GB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/2.456, allocations: 310.8 kB / 0.6122 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/2.456, allocations: 4 kB / 0.6122 GB, free: 12.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/2.456, allocations: 0 / 0.6122 GB, free: 12.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/2.456, allocations: 37.62 kB / 0.6122 GB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.456, allocations: 0 / 0.6122 GB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.973e-05/2.456, allocations: 63.41 kB / 0.6123 GB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/2.456, allocations: 37.8 kB / 0.6123 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/2.456, allocations: 0 / 0.6123 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/2.456, allocations: 3.953 kB / 0.6123 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.7e-05/2.456, allocations: 0 / 0.6123 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/2.456, allocations: 3.984 kB / 0.6123 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/2.456, allocations: 0 / 0.6123 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/2.456, allocations: 0 / 0.6123 GB, free: 12.29 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.518e-05/2.457, allocations: 139.5 kB / 0.6125 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/2.457, allocations: 0 / 0.6125 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/2.457, allocations: 11.08 kB / 0.6125 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/2.457, allocations: 11.94 kB / 0.6125 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/2.457, allocations: 0 / 0.6125 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/2.457, allocations: 0 / 0.6125 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/2.457, allocations: 296.3 kB / 0.6128 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/2.457, allocations: 0 / 0.6128 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-06/2.457, allocations: 4 kB / 0.6128 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/2.457, allocations: 0 / 0.6128 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/2.457, allocations: 7.953 kB / 0.6128 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/2.457, allocations: 0 / 0.6128 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/2.457, allocations: 4.031 kB / 0.6128 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/2.457, allocations: 173.2 kB / 0.6129 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/2.457, allocations: 77.11 kB / 0.613 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/2.457, allocations: 0 / 0.613 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/2.457, allocations: 3.953 kB / 0.613 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/2.457, allocations: 0 / 0.613 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/2.457, allocations: 4 kB / 0.613 GB, free: 11.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.446e-05/2.457, allocations: 79.31 kB / 0.6131 GB, free: 11.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/2.457, allocations: 0 / 0.6131 GB, free: 11.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01448/2.472, allocations: 2.164 MB / 0.6152 GB, free: 9.215 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.02484/2.497, allocations: 2.865 MB / 0.618 GB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/2.497, allocations: 67.34 kB / 0.6181 GB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.497, allocations: 0 / 0.6181 GB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/2.497, allocations: 59.39 kB / 0.6181 GB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/2.497, allocations: 5.047 kB / 0.6181 GB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/2.504, allocations: 377.2 kB / 0.6185 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/2.505, allocations: 0.6731 MB / 0.6192 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/2.505, allocations: 0 / 0.6192 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/2.505, allocations: 7.438 kB / 0.6192 GB, free: 5.043 MB / 378.7 MB Notification: Performance of SimCode: time 3.466e-06/2.505, allocations: 0 / 0.6192 GB, free: 5.043 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7045/3.209, allocations: 124.5 MB / 0.7408 GB, free: 59.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/3.209, allocations: 212.4 kB / 0.741 GB, free: 59.19 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.12/27.33, allocations: 0 / 0.741 GB, free: 59.19 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat