Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 103.5 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3296/0.3296, allocations: 44.22 MB / 387.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002926, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 61.9 MB / 0.5096 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4236, allocations: 88.11 MB / 0.5956 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.4238, allocations: 75.95 kB / 0.5957 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238/1.661, allocations: 97.24 MB / 0.6906 GB, free: 131.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.661, allocations: 0 / 0.6906 GB, free: 131.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/1.661, allocations: 4 kB / 0.6906 GB, free: 131.6 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.003065/1.665, allocations: 436.2 kB / 0.6911 GB, free: 131.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.665, allocations: 8.562 kB / 0.6911 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/1.665, allocations: 1.062 kB / 0.6911 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.01e-05/1.665, allocations: 163.1 kB / 0.6912 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.665, allocations: 1.031 kB / 0.6912 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/1.665, allocations: 0.9062 kB / 0.6912 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.88e-05/1.665, allocations: 35.81 kB / 0.6913 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/1.665, allocations: 4 kB / 0.6913 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/1.665, allocations: 0 / 0.6913 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/1.665, allocations: 0.9688 kB / 0.6913 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/1.665, allocations: 7.578 kB / 0.6913 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.942e-05/1.665, allocations: 145.7 kB / 0.6914 GB, free: 130.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.94e-05/1.665, allocations: 17.3 kB / 0.6914 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/1.665, allocations: 0 / 0.6914 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.665, allocations: 63.23 kB / 0.6915 GB, free: 130.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/1.665, allocations: 0 / 0.6915 GB, free: 130.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001373/1.665, allocations: 69.02 kB / 0.6915 GB, free: 130.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/1.665, allocations: 81.11 kB / 0.6916 GB, free: 130.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.66e-05/1.665, allocations: 92 kB / 0.6917 GB, free: 130.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/1.665, allocations: 25.7 kB / 0.6917 GB, free: 130.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.175e-05/1.665, allocations: 80.14 kB / 0.6918 GB, free: 130.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/1.665, allocations: 3.609 kB / 0.6918 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/1.665, allocations: 0 / 0.6918 GB, free: 130.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.437e-05/1.665, allocations: 318.4 kB / 0.6921 GB, free: 130 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/1.665, allocations: 3.031 kB / 0.6921 GB, free: 130 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-06/1.665, allocations: 3.938 kB / 0.6921 GB, free: 130 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/1.665, allocations: 28.64 kB / 0.6922 GB, free: 129.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.665, allocations: 0 / 0.6922 GB, free: 129.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.873e-05/1.665, allocations: 65.09 kB / 0.6922 GB, free: 129.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.665, allocations: 35.47 kB / 0.6922 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/1.665, allocations: 0 / 0.6922 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.665, allocations: 4.094 kB / 0.6923 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/1.665, allocations: 3.953 kB / 0.6923 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/1.665, allocations: 3.031 kB / 0.6923 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/1.666, allocations: 0 / 0.6923 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/1.666, allocations: 0 / 0.6923 GB, free: 129.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: 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 4.673e-05/1.666, allocations: 134.9 kB / 0.6924 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-06/1.666, allocations: 0 / 0.6924 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/1.666, allocations: 7.562 kB / 0.6924 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.666, allocations: 3.609 kB / 0.6924 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.666, allocations: 10.95 kB / 0.6924 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/1.666, allocations: 0 / 0.6924 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.67e-05/1.666, allocations: 141.7 kB / 0.6925 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.666, allocations: 0.875 kB / 0.6925 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/1.666, allocations: 0 / 0.6925 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/1.666, allocations: 3.031 kB / 0.6925 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/1.666, allocations: 0 / 0.6925 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.666, allocations: 3.469 kB / 0.6926 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/1.666, allocations: 0 / 0.6926 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.477e-05/1.666, allocations: 98.39 kB / 0.6926 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/1.666, allocations: 90.77 kB / 0.6927 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/1.666, allocations: 0 / 0.6927 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/1.666, allocations: 3.031 kB / 0.6927 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/1.666, allocations: 0 / 0.6927 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/1.666, allocations: 1.969 kB / 0.6927 GB, free: 129.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.648e-06/1.666, allocations: 75.28 kB / 0.6928 GB, free: 129.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/1.666, allocations: 0 / 0.6928 GB, free: 129.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006843/1.673, allocations: 2.162 MB / 0.6949 GB, free: 129.2 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.01195/1.685, allocations: 2.26 MB / 0.6971 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/1.685, allocations: 60.19 kB / 0.6972 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.685, allocations: 10.31 kB / 0.6972 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/1.685, allocations: 57.09 kB / 0.6972 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.221e-05/1.685, allocations: 5.359 kB / 0.6973 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/1.685, allocations: 72.02 kB / 0.6973 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/1.685, allocations: 0.675 MB / 0.698 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.441e-06/1.685, allocations: 0 / 0.698 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/1.685, allocations: 10.16 kB / 0.698 GB, free: 128.1 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/1.685, allocations: 0 / 0.698 GB, free: 128.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1843/1.87, allocations: 123.9 MB / 0.819 GB, free: 27.08 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches