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.0009962/0.0009962, allocations: 198.1 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.273/1.273, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007468/0.000747, allocations: 95.55 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1774/0.1774, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.316e-05/1.319e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4899, allocations: 88.44 MB / 0.5907 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.4901, allocations: 65.84 kB / 0.5908 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082/1.572, allocations: 96.84 MB / 0.6854 GB, free: 6.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.572, allocations: 0 / 0.6854 GB, free: 6.133 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/1.572, allocations: 4 kB / 0.6854 GB, free: 6.129 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.00368/1.576, allocations: 447.9 kB / 0.6858 GB, free: 5.641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.576, allocations: 8.031 kB / 0.6858 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/1.576, allocations: 3.953 kB / 0.6858 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.576, allocations: 159.1 kB / 0.6859 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.576, allocations: 4 kB / 0.686 GB, free: 5.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/1.576, allocations: 0 / 0.686 GB, free: 5.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.524e-05/1.576, allocations: 0 / 0.686 GB, free: 5.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/1.576, allocations: 37.64 kB / 0.686 GB, free: 5.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.576, allocations: 4 kB / 0.686 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.576, allocations: 3.984 kB / 0.686 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.576, allocations: 3.953 kB / 0.686 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/1.577, allocations: 122.2 kB / 0.6861 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.758e-05/1.577, allocations: 18.52 kB / 0.6861 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/1.577, allocations: 8.953 kB / 0.6861 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/1.577, allocations: 0 / 0.6861 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.577, allocations: 60.27 kB / 0.6862 GB, free: 5.105 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/1.577, allocations: 0 / 0.6862 GB, free: 5.105 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001996/1.577, allocations: 45.62 kB / 0.6862 GB, free: 5.055 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.577, allocations: 77.11 kB / 0.6863 GB, free: 4.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.219e-05/1.577, allocations: 85 kB / 0.6864 GB, free: 4.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/1.577, allocations: 25.7 kB / 0.6864 GB, free: 4.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/1.577, allocations: 80.14 kB / 0.6865 GB, free: 4.758 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/1.577, allocations: 0 / 0.6865 GB, free: 4.758 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/1.577, allocations: 0 / 0.6865 GB, free: 4.758 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/1.577, allocations: 318.8 kB / 0.6868 GB, free: 4.438 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/1.577, allocations: 4 kB / 0.6868 GB, free: 4.434 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/1.577, allocations: 0 / 0.6868 GB, free: 4.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/1.577, allocations: 0 / 0.6868 GB, free: 4.434 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.577, allocations: 0 / 0.6868 GB, free: 4.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.661e-05/1.577, allocations: 41.69 kB / 0.6868 GB, free: 4.387 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.577, allocations: 29.7 kB / 0.6869 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.577, allocations: 0 / 0.6869 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.577, allocations: 12.09 kB / 0.6869 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/1.577, allocations: 0 / 0.6869 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.577, allocations: 0 / 0.6869 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/1.578, allocations: 0 / 0.6869 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/1.578, allocations: 0 / 0.6869 GB, free: 4.34 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 9.374e-05/1.578, allocations: 138.6 kB / 0.687 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/1.578, allocations: 3.984 kB / 0.687 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.181e-05/1.578, allocations: 7.703 kB / 0.687 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/1.578, allocations: 0 / 0.687 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.578, allocations: 0 / 0.687 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.578, allocations: 7.938 kB / 0.687 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/1.578, allocations: 126.2 kB / 0.6872 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/1.578, allocations: 0 / 0.6872 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/1.578, allocations: 3.953 kB / 0.6872 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/1.578, allocations: 0 / 0.6872 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.578, allocations: 3.984 kB / 0.6872 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/1.578, allocations: 3.938 kB / 0.6872 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.578, allocations: 3.938 kB / 0.6872 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.769e-05/1.578, allocations: 69.12 kB / 0.6872 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/1.578, allocations: 77.11 kB / 0.6873 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.578, allocations: 7.938 kB / 0.6873 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/1.578, allocations: 0 / 0.6873 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/1.578, allocations: 4 kB / 0.6873 GB, free: 3.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/1.578, allocations: 0 / 0.6873 GB, free: 3.812 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.775e-05/1.578, allocations: 75.28 kB / 0.6874 GB, free: 3.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.214e-06/1.578, allocations: 0 / 0.6874 GB, free: 3.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007591/1.586, allocations: 2.168 MB / 0.6895 GB, free: 1.57 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.01188/1.598, allocations: 2.262 MB / 0.6917 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/1.598, allocations: 63.28 kB / 0.6918 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.598, allocations: 4.062 kB / 0.6918 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/1.598, allocations: 59.34 kB / 0.6918 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/1.598, allocations: 1.406 kB / 0.6918 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/1.598, allocations: 48 kB / 0.6919 GB, free: 15.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.598, allocations: 0.6729 MB / 0.6925 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.861e-06/1.598, allocations: 0 / 0.6925 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.038e-05/1.598, allocations: 7.438 kB / 0.6926 GB, free: 14.37 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/1.598, allocations: 0 / 0.6926 GB, free: 14.37 MB / 490.7 MB Notification: Performance of Templates: time 0.4714/2.07, allocations: 125.5 MB / 0.8151 GB, free: 115.6 MB / 0.5261 GB 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