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.001445/0.001445, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008616/0.0008617, allocations: 92.59 kB / 292.1 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.1767/0.1767, allocations: 45.16 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.555e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09475, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/0.4399, allocations: 89.12 MB / 0.5985 GB, free: 4.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4403, allocations: 67.83 kB / 0.5985 GB, free: 4.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9787/1.419, allocations: 97.23 MB / 0.6935 GB, free: 12.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.419, allocations: 4 kB / 0.6935 GB, free: 12.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/1.419, allocations: 0 / 0.6935 GB, free: 12.12 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.003278/1.422, allocations: 440 kB / 0.6939 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.422, allocations: 15.91 kB / 0.6939 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/1.422, allocations: 30.56 kB / 0.694 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/1.422, allocations: 7.953 kB / 0.694 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.752e-05/1.423, allocations: 159.1 kB / 0.6941 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/1.423, allocations: 0 / 0.6941 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/1.423, allocations: 0 / 0.6941 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/1.423, allocations: 45.67 kB / 0.6942 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.423, allocations: 0 / 0.6942 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/1.423, allocations: 0 / 0.6942 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.423, allocations: 3.984 kB / 0.6942 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/1.423, allocations: 7.953 kB / 0.6942 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/1.423, allocations: 232.8 kB / 0.6944 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/1.423, allocations: 22.59 kB / 0.6944 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/1.423, allocations: 12.92 kB / 0.6944 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/1.423, allocations: 0 / 0.6944 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.423, allocations: 64.27 kB / 0.6945 GB, free: 10.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.423, allocations: 0 / 0.6945 GB, free: 10.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001694/1.423, allocations: 67.3 kB / 0.6946 GB, free: 10.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.423, allocations: 81.09 kB / 0.6946 GB, free: 10.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.681e-05/1.423, allocations: 85 kB / 0.6947 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/1.423, allocations: 33.73 kB / 0.6948 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/1.423, allocations: 84.14 kB / 0.6948 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/1.423, allocations: 4.531 kB / 0.6948 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/1.423, allocations: 0 / 0.6948 GB, free: 10.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/1.424, allocations: 310.8 kB / 0.6951 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/1.424, allocations: 4 kB / 0.6951 GB, free: 10.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/1.424, allocations: 0 / 0.6951 GB, free: 10.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/1.424, allocations: 29.7 kB / 0.6952 GB, free: 10.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.424, allocations: 4.062 kB / 0.6952 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.911e-05/1.424, allocations: 67.39 kB / 0.6952 GB, free: 10.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.424, allocations: 33.7 kB / 0.6953 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/1.424, allocations: 3.938 kB / 0.6953 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.424, allocations: 3.938 kB / 0.6953 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.295e-05/1.424, allocations: 0 / 0.6953 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.424, allocations: 3.953 kB / 0.6953 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/1.424, allocations: 0 / 0.6953 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.424, allocations: 3.984 kB / 0.6953 GB, free: 10.04 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 () * 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.632e-05/1.424, allocations: 138.7 kB / 0.6954 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/1.424, allocations: 0 / 0.6954 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/1.424, allocations: 15.08 kB / 0.6954 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.424, allocations: 4 kB / 0.6954 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.424, allocations: 0 / 0.6954 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.424, allocations: 3.953 kB / 0.6954 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/1.424, allocations: 288.4 kB / 0.6957 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.424, allocations: 0 / 0.6957 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/1.424, allocations: 7.938 kB / 0.6957 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.424, allocations: 4.031 kB / 0.6957 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/1.424, allocations: 7.922 kB / 0.6957 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.424, allocations: 0 / 0.6957 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.424, allocations: 3.953 kB / 0.6957 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/1.424, allocations: 161.3 kB / 0.6959 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/1.424, allocations: 81.09 kB / 0.696 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/1.424, allocations: 0 / 0.696 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/1.424, allocations: 0 / 0.696 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/1.424, allocations: 7.984 kB / 0.696 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/1.424, allocations: 4 kB / 0.696 GB, free: 9.211 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/1.424, allocations: 75.28 kB / 0.6961 GB, free: 9.137 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.424, allocations: 0 / 0.6961 GB, free: 9.137 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0068/1.431, allocations: 2.172 MB / 0.6982 GB, free: 6.965 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) * 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.01229/1.444, allocations: 2.879 MB / 0.701 GB, free: 4.062 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/1.444, allocations: 67.34 kB / 0.701 GB, free: 3.984 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.444, allocations: 0 / 0.701 GB, free: 3.984 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/1.444, allocations: 63.47 kB / 0.7011 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/1.444, allocations: 1.609 kB / 0.7011 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/1.446, allocations: 182.2 kB / 0.7013 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/1.447, allocations: 0.6731 MB / 0.7019 GB, free: 2.996 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.038e-05/1.447, allocations: 0 / 0.7019 GB, free: 2.996 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/1.447, allocations: 7.438 kB / 0.7019 GB, free: 2.988 MB / 490.7 MB Notification: Performance of SimCode: time 3.3e-07/1.447, allocations: 0 / 0.7019 GB, free: 2.988 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4166/1.863, allocations: 124.8 MB / 0.8238 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.863, allocations: 188.7 kB / 0.824 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.72, allocations: 4 kB / 0.824 GB, free: 113.5 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