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: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 199 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.219/1.219, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008354/0.0008354, allocations: 106.8 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3269/0.3269, allocations: 45.22 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002563, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2696, allocations: 63.24 MB / 0.5192 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.37, allocations: 89.18 MB / 0.6063 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.3703, allocations: 67.97 kB / 0.6063 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249/1.619, allocations: 97.27 MB / 0.7013 GB, free: 127.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.619, allocations: 3.938 kB / 0.7013 GB, free: 127.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/1.619, allocations: 0 / 0.7013 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.003393/1.623, allocations: 452.1 kB / 0.7018 GB, free: 127.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.623, allocations: 8.906 kB / 0.7018 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/1.623, allocations: 5.922 kB / 0.7018 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.224e-05/1.623, allocations: 163 kB / 0.7019 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.623, allocations: 1.156 kB / 0.7019 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/1.623, allocations: 0 / 0.7019 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.534e-05/1.623, allocations: 31.05 kB / 0.702 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.623, allocations: 1.469 kB / 0.702 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.623, allocations: 0 / 0.702 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.623, allocations: 0 / 0.702 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/1.623, allocations: 5.406 kB / 0.702 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.785e-05/1.623, allocations: 154 kB / 0.7021 GB, free: 126.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/1.623, allocations: 25.05 kB / 0.7021 GB, free: 126.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/1.623, allocations: 0 / 0.7021 GB, free: 126.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.623, allocations: 61.3 kB / 0.7022 GB, free: 126.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/1.623, allocations: 0 / 0.7022 GB, free: 126.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001602/1.624, allocations: 66.3 kB / 0.7023 GB, free: 126.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/1.624, allocations: 81.05 kB / 0.7023 GB, free: 126.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.876e-05/1.624, allocations: 89 kB / 0.7024 GB, free: 126.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/1.624, allocations: 26.83 kB / 0.7025 GB, free: 126.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.413e-05/1.624, allocations: 80.14 kB / 0.7025 GB, free: 126.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/1.624, allocations: 1.406 kB / 0.7025 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/1.624, allocations: 0 / 0.7025 GB, free: 126.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/1.624, allocations: 310.8 kB / 0.7028 GB, free: 126.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/1.624, allocations: 1.094 kB / 0.7028 GB, free: 126.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/1.624, allocations: 8.203 kB / 0.7028 GB, free: 126.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.167e-05/1.624, allocations: 28.7 kB / 0.7029 GB, free: 126 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.624, allocations: 0 / 0.7029 GB, free: 126 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.958e-05/1.624, allocations: 65.52 kB / 0.7029 GB, free: 126 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.624, allocations: 36.69 kB / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.624, allocations: 0 / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.624, allocations: 1.5 kB / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/1.624, allocations: 0 / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.624, allocations: 0 / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/1.624, allocations: 9.531 kB / 0.703 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/1.624, allocations: 0 / 0.703 GB, free: 125.9 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: 1 (result) * Number of discrete states: 0 () * Number of clocked 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 5.382e-05/1.624, allocations: 134.3 kB / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/1.624, allocations: 5.359 kB / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/1.624, allocations: 9.672 kB / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/1.624, allocations: 1.312 kB / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.624, allocations: 1.344 kB / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.624, allocations: 0 / 0.7031 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.834e-05/1.624, allocations: 146 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/1.624, allocations: 4 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/1.624, allocations: 1.375 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/1.624, allocations: 3.953 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.624, allocations: 4.375 kB / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/1.624, allocations: 0 / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/1.624, allocations: 0 / 0.7033 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.784e-05/1.624, allocations: 88.2 kB / 0.7034 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/1.624, allocations: 80.53 kB / 0.7034 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.624, allocations: 9.359 kB / 0.7034 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/1.624, allocations: 4 kB / 0.7034 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/1.624, allocations: 12.19 kB / 0.7035 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/1.624, allocations: 0 / 0.7035 GB, free: 125.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.573e-05/1.624, allocations: 76.78 kB / 0.7035 GB, free: 125.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.624, allocations: 0 / 0.7035 GB, free: 125.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007165/1.632, allocations: 2.164 MB / 0.7056 GB, free: 125.3 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * 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.01111/1.643, allocations: 2.269 MB / 0.7079 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.879e-05/1.643, allocations: 55.62 kB / 0.7079 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.643, allocations: 0 / 0.7079 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/1.643, allocations: 58.48 kB / 0.708 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.152e-05/1.643, allocations: 10.16 kB / 0.708 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001474/1.643, allocations: 74.72 kB / 0.708 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/1.643, allocations: 0.6745 MB / 0.7087 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.293e-06/1.643, allocations: 5.156 kB / 0.7087 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/1.643, allocations: 8.656 kB / 0.7087 GB, free: 124.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/1.643, allocations: 3.938 kB / 0.7087 GB, free: 124.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1434/1.787, allocations: 124 MB / 0.8298 GB, free: 11.48 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches