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.002353/0.002353, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009095/0.0009095, allocations: 97.3 kB / 281.6 MB, free: 5.324 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.2098/0.2098, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.699e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.5225, allocations: 87.39 MB / 0.58 GB, free: 9.156 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.5228, allocations: 67.97 kB / 0.5801 GB, free: 9.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.114/1.637, allocations: 96.8 MB / 0.6746 GB, free: 8.172 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.637, allocations: 0 / 0.6746 GB, free: 8.172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/1.637, allocations: 0 / 0.6746 GB, free: 8.172 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.004546/1.642, allocations: 439.8 kB / 0.675 GB, free: 7.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/1.642, allocations: 11.98 kB / 0.675 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/1.642, allocations: 0 / 0.675 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/1.642, allocations: 167 kB / 0.6752 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/1.642, allocations: 0 / 0.6752 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/1.642, allocations: 0 / 0.6752 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.687e-05/1.642, allocations: 4 kB / 0.6752 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/1.642, allocations: 33.69 kB / 0.6752 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/1.642, allocations: 0 / 0.6752 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.642, allocations: 0 / 0.6752 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/1.642, allocations: 0 / 0.6752 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/1.642, allocations: 122.2 kB / 0.6753 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/1.642, allocations: 26.5 kB / 0.6754 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/1.642, allocations: 8.859 kB / 0.6754 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-06/1.642, allocations: 4 kB / 0.6754 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.642, allocations: 56.27 kB / 0.6754 GB, free: 7.156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/1.642, allocations: 0 / 0.6754 GB, free: 7.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002032/1.643, allocations: 37.75 kB / 0.6755 GB, free: 7.113 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.643, allocations: 77.11 kB / 0.6755 GB, free: 7.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.238e-05/1.643, allocations: 88.94 kB / 0.6756 GB, free: 6.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/1.643, allocations: 25.7 kB / 0.6757 GB, free: 6.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/1.643, allocations: 84.17 kB / 0.6757 GB, free: 6.809 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/1.643, allocations: 0 / 0.6757 GB, free: 6.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/1.643, allocations: 0 / 0.6757 GB, free: 6.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/1.643, allocations: 318.8 kB / 0.676 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-06/1.643, allocations: 3.938 kB / 0.676 GB, free: 6.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/1.643, allocations: 0 / 0.676 GB, free: 6.484 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/1.643, allocations: 0 / 0.676 GB, free: 6.484 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.643, allocations: 4 kB / 0.6761 GB, free: 6.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.879e-05/1.643, allocations: 34.44 kB / 0.6761 GB, free: 6.441 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.643, allocations: 37.75 kB / 0.6761 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.643, allocations: 4 kB / 0.6761 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.643, allocations: 0 / 0.6761 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/1.643, allocations: 0 / 0.6761 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/1.643, allocations: 0 / 0.6761 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/1.643, allocations: 0 / 0.6761 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.643, allocations: 0 / 0.6761 GB, free: 6.395 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 () * 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.692e-05/1.643, allocations: 138.6 kB / 0.6763 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/1.643, allocations: 0 / 0.6763 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/1.643, allocations: 15.66 kB / 0.6763 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/1.643, allocations: 0 / 0.6763 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.643, allocations: 4 kB / 0.6763 GB, free: 6.227 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/1.643, allocations: 0 / 0.6763 GB, free: 6.227 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.709e-05/1.643, allocations: 130.2 kB / 0.6764 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.643, allocations: 0 / 0.6764 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-06/1.643, allocations: 0 / 0.6764 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/1.643, allocations: 3.938 kB / 0.6764 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/1.643, allocations: 3.984 kB / 0.6764 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/1.643, allocations: 0 / 0.6764 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.643, allocations: 3.953 kB / 0.6764 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.572e-05/1.644, allocations: 61.14 kB / 0.6765 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/1.644, allocations: 77.11 kB / 0.6765 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/1.644, allocations: 3.984 kB / 0.6765 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-06/1.644, allocations: 0 / 0.6765 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/1.644, allocations: 8 kB / 0.6766 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/1.644, allocations: 11.88 kB / 0.6766 GB, free: 5.855 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.876e-05/1.644, allocations: 75.28 kB / 0.6766 GB, free: 5.781 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.644, allocations: 4.031 kB / 0.6766 GB, free: 5.777 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00885/1.653, allocations: 2.16 MB / 0.6787 GB, free: 3.617 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) * 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.01453/1.667, allocations: 2.246 MB / 0.6809 GB, free: 1.363 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/1.667, allocations: 71.33 kB / 0.681 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.667, allocations: 0 / 0.681 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/1.667, allocations: 55.41 kB / 0.6811 GB, free: 1.215 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/1.667, allocations: 0 / 0.6811 GB, free: 1.215 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/1.668, allocations: 44.02 kB / 0.6811 GB, free: 1.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/1.668, allocations: 0.6768 MB / 0.6818 GB, free: 456 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.374e-06/1.668, allocations: 0 / 0.6818 GB, free: 456 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/1.668, allocations: 11.44 kB / 0.6818 GB, free: 444 kB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/1.668, allocations: 4.125 kB / 0.6818 GB, free: 440 kB / 490.7 MB Notification: Performance of Templates: time 0.4289/2.097, allocations: 125.4 MB / 0.8043 GB, free: 71.29 MB / 0.4948 GB 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