Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002358/0.002358, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.73/1.73, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 105.6 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.43/0.43, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8.219 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3418, allocations: 63.25 MB / 0.5193 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4556, allocations: 89.19 MB / 0.6064 GB, free: 14.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4559, allocations: 67.94 kB / 0.6064 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348/1.804, allocations: 97.27 MB / 0.7014 GB, free: 127.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.804, allocations: 0 / 0.7014 GB, free: 127.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/1.804, allocations: 0 / 0.7014 GB, free: 127.7 MB / 490.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.003083/1.807, allocations: 457.6 kB / 0.7019 GB, free: 127.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.807, allocations: 9.031 kB / 0.7019 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/1.807, allocations: 37.5 kB / 0.7019 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/1.807, allocations: 6.047 kB / 0.7019 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.34e-05/1.807, allocations: 163 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/1.807, allocations: 1.438 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/1.807, allocations: 1.531 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/1.807, allocations: 31.44 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/1.807, allocations: 4 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/1.807, allocations: 1.828 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.807, allocations: 0 / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/1.807, allocations: 9.438 kB / 0.7021 GB, free: 127 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/1.808, allocations: 231.5 kB / 0.7023 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/1.808, allocations: 19.55 kB / 0.7023 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/1.808, allocations: 0 / 0.7023 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.808, allocations: 68.91 kB / 0.7024 GB, free: 126.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.808, allocations: 0 / 0.7024 GB, free: 126.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001734/1.808, allocations: 68 kB / 0.7025 GB, free: 126.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/1.808, allocations: 84.11 kB / 0.7026 GB, free: 126.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.942e-05/1.808, allocations: 86.53 kB / 0.7026 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/1.808, allocations: 25.7 kB / 0.7027 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.763e-05/1.808, allocations: 80.14 kB / 0.7027 GB, free: 126.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/1.808, allocations: 5.062 kB / 0.7027 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/1.808, allocations: 4.125 kB / 0.7027 GB, free: 126.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/1.808, allocations: 316.2 kB / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/1.808, allocations: 1.5 kB / 0.7031 GB, free: 125.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/1.808, allocations: 2.781 kB / 0.7031 GB, free: 125.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/1.808, allocations: 34.48 kB / 0.7031 GB, free: 125.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.808, allocations: 0 / 0.7031 GB, free: 125.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.059e-05/1.808, allocations: 64.94 kB / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/1.808, allocations: 36.64 kB / 0.7032 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/1.808, allocations: 4.094 kB / 0.7032 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.808, allocations: 1.688 kB / 0.7032 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.359e-05/1.808, allocations: 0 / 0.7032 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.808, allocations: 0.9375 kB / 0.7032 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/1.808, allocations: 5.375 kB / 0.7032 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/1.808, allocations: 0 / 0.7032 GB, free: 125.8 MB / 490.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 5.86e-05/1.808, allocations: 138.1 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/1.808, allocations: 1.125 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/1.808, allocations: 12.14 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.808, allocations: 4 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.808, allocations: 0.875 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.808, allocations: 1.281 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/1.809, allocations: 304 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.809, allocations: 1.562 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/1.809, allocations: 4 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.809, allocations: 1.438 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/1.809, allocations: 1.875 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.809, allocations: 1.594 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.809, allocations: 4.031 kB / 0.7036 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/1.809, allocations: 169.7 kB / 0.7038 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/1.809, allocations: 78.55 kB / 0.7039 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/1.809, allocations: 1.406 kB / 0.7039 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/1.809, allocations: 0 / 0.7039 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/1.809, allocations: 5.656 kB / 0.7039 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/1.809, allocations: 3.562 kB / 0.7039 GB, free: 125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.598e-05/1.809, allocations: 80.47 kB / 0.704 GB, free: 124.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.809, allocations: 0 / 0.704 GB, free: 124.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008104/1.817, allocations: 2.165 MB / 0.7061 GB, free: 124.9 MB / 490.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.01329/1.83, allocations: 2.886 MB / 0.7089 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/1.831, allocations: 67.41 kB / 0.709 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.831, allocations: 0 / 0.709 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/1.831, allocations: 56.62 kB / 0.709 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/1.831, allocations: 1.25 kB / 0.709 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/1.834, allocations: 388.1 kB / 0.7094 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/1.834, allocations: 0.6763 MB / 0.7101 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.389e-05/1.834, allocations: 0 / 0.7101 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/1.834, allocations: 10.12 kB / 0.7101 GB, free: 122.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.834, allocations: 0 / 0.7101 GB, free: 122.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/2.079, allocations: 124.8 MB / 0.8319 GB, free: 9.516 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/2.079, allocations: 222.7 kB / 0.8321 GB, free: 9.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/16.96, allocations: 0 / 0.8321 GB, free: 9.27 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat