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.001428/0.001428, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008464/0.0008465, allocations: 98.92 kB / 286.7 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.884e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.4828, allocations: 88.44 MB / 0.5908 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.4831, allocations: 70.41 kB / 0.5909 GB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087/1.571, allocations: 96.83 MB / 0.6855 GB, free: 6.066 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.571, allocations: 4 kB / 0.6855 GB, free: 6.062 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/1.571, allocations: 0 / 0.6855 GB, free: 6.062 MB / 474.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.003901/1.574, allocations: 443.9 kB / 0.6859 GB, free: 5.578 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.575, allocations: 8.031 kB / 0.6859 GB, free: 5.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/1.575, allocations: 3.953 kB / 0.6859 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/1.575, allocations: 163.1 kB / 0.686 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.575, allocations: 0 / 0.686 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.575, allocations: 0 / 0.686 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.468e-05/1.575, allocations: 4 kB / 0.686 GB, free: 5.363 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.012e-05/1.575, allocations: 37.62 kB / 0.6861 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.575, allocations: 0 / 0.6861 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.575, allocations: 0 / 0.6861 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.575, allocations: 7.953 kB / 0.6861 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/1.575, allocations: 126.2 kB / 0.6862 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/1.575, allocations: 18.52 kB / 0.6862 GB, free: 5.125 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/1.575, allocations: 5.609 kB / 0.6862 GB, free: 5.117 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/1.575, allocations: 4.094 kB / 0.6862 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/1.575, allocations: 60.27 kB / 0.6863 GB, free: 5.039 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/1.575, allocations: 0 / 0.6863 GB, free: 5.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002174/1.575, allocations: 37.62 kB / 0.6863 GB, free: 4.996 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/1.576, allocations: 85.11 kB / 0.6864 GB, free: 4.895 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/1.576, allocations: 85 kB / 0.6865 GB, free: 4.805 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/1.576, allocations: 25.7 kB / 0.6865 GB, free: 4.773 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/1.576, allocations: 84.08 kB / 0.6866 GB, free: 4.688 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/1.576, allocations: 4.031 kB / 0.6866 GB, free: 4.684 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/1.576, allocations: 0 / 0.6866 GB, free: 4.684 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/1.576, allocations: 314.8 kB / 0.6869 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/1.576, allocations: 0 / 0.6869 GB, free: 4.367 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/1.576, allocations: 4 kB / 0.6869 GB, free: 4.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/1.576, allocations: 0 / 0.6869 GB, free: 4.363 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.576, allocations: 0 / 0.6869 GB, free: 4.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.254e-05/1.576, allocations: 37.69 kB / 0.6869 GB, free: 4.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.576, allocations: 29.7 kB / 0.687 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.576, allocations: 4.094 kB / 0.687 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.576, allocations: 0 / 0.687 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/1.576, allocations: 0 / 0.687 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/1.576, allocations: 3.938 kB / 0.687 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/1.576, allocations: 4 kB / 0.687 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/1.576, allocations: 4 kB / 0.687 GB, free: 4.27 MB / 474.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 8.475e-05/1.576, allocations: 134.6 kB / 0.6871 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.807e-05/1.576, allocations: 37.7 kB / 0.6872 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-06/1.576, allocations: 0 / 0.6872 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/1.576, allocations: 15.72 kB / 0.6872 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.576, allocations: 0 / 0.6872 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.576, allocations: 0 / 0.6872 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.576, allocations: 3.984 kB / 0.6872 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/1.576, allocations: 134.2 kB / 0.6873 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.576, allocations: 0 / 0.6873 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/1.576, allocations: 0 / 0.6873 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.576, allocations: 0 / 0.6873 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/1.576, allocations: 3.938 kB / 0.6873 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.576, allocations: 0 / 0.6873 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.576, allocations: 0 / 0.6873 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/1.577, allocations: 77.02 kB / 0.6874 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/1.577, allocations: 77.11 kB / 0.6874 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.577, allocations: 0 / 0.6874 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/1.577, allocations: 4 kB / 0.6875 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/1.577, allocations: 4 kB / 0.6875 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/1.577, allocations: 0 / 0.6875 GB, free: 3.699 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.241e-05/1.577, allocations: 75.31 kB / 0.6875 GB, free: 3.625 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.577, allocations: 4 kB / 0.6875 GB, free: 3.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007941/1.585, allocations: 2.172 MB / 0.6897 GB, free: 1.449 MB / 474.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.01309/1.598, allocations: 2.773 MB / 0.6924 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/1.598, allocations: 55.41 kB / 0.6924 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.598, allocations: 0 / 0.6924 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/1.598, allocations: 59.39 kB / 0.6925 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.678e-05/1.598, allocations: 1.719 kB / 0.6925 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/1.601, allocations: 169.5 kB / 0.6926 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/1.601, allocations: 0.6729 MB / 0.6933 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.042e-06/1.601, allocations: 3.938 kB / 0.6933 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/1.601, allocations: 7.438 kB / 0.6933 GB, free: 13.59 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/1.601, allocations: 0 / 0.6933 GB, free: 13.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5057/2.107, allocations: 126 MB / 0.8163 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/2.107, allocations: 164.5 kB / 0.8165 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/16.54, allocations: 0 / 0.8165 GB, free: 114.2 MB / 0.5261 GB (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