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.001654/0.001654, allocations: 179 kB / 18.09 MB, free: 3.633 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.313/1.313, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0008253/0.0008254, allocations: 100.4 kB / 293.3 MB, free: 10.77 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.3086/0.3086, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004294, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3881, allocations: 61.88 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.517, allocations: 88.12 MB / 0.5968 GB, free: 6.938 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.5172, allocations: 71.95 kB / 0.5969 GB, free: 6.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9345/1.452, allocations: 78.84 MB / 0.6738 GB, free: 7.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.452, allocations: 0 / 0.6738 GB, free: 7.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/1.452, allocations: 4 kB / 0.6738 GB, free: 7.898 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.003733/1.456, allocations: 437 kB / 0.6743 GB, free: 7.414 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.863e-05/1.456, allocations: 12.02 kB / 0.6743 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/1.456, allocations: 0.9375 kB / 0.6743 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/1.456, allocations: 160.4 kB / 0.6744 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/1.456, allocations: 4.375 kB / 0.6744 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/1.456, allocations: 384 / 0.6744 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/1.456, allocations: 26.27 kB / 0.6745 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/1.456, allocations: 4.188 kB / 0.6745 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/1.456, allocations: 7.938 kB / 0.6745 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.456, allocations: 0 / 0.6745 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/1.456, allocations: 3.938 kB / 0.6745 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/1.456, allocations: 149.7 kB / 0.6746 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.669e-05/1.456, allocations: 18.61 kB / 0.6746 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/1.456, allocations: 8.797 kB / 0.6746 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/1.456, allocations: 0 / 0.6746 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.456, allocations: 64.33 kB / 0.6747 GB, free: 6.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.456, allocations: 0 / 0.6747 GB, free: 6.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001652/1.456, allocations: 75.27 kB / 0.6748 GB, free: 6.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.456, allocations: 77.11 kB / 0.6749 GB, free: 6.664 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.473e-05/1.457, allocations: 93.77 kB / 0.6749 GB, free: 6.562 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.457, allocations: 25.7 kB / 0.675 GB, free: 6.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/1.457, allocations: 80.14 kB / 0.675 GB, free: 6.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/1.457, allocations: 0 / 0.675 GB, free: 6.449 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/1.457, allocations: 4.125 kB / 0.675 GB, free: 6.445 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/1.457, allocations: 314.8 kB / 0.6753 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/1.457, allocations: 4 kB / 0.6753 GB, free: 6.125 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/1.457, allocations: 0 / 0.6753 GB, free: 6.125 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/1.457, allocations: 68.25 kB / 0.6754 GB, free: 6.043 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.457, allocations: 0 / 0.6754 GB, free: 6.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.586e-05/1.457, allocations: 63.34 kB / 0.6755 GB, free: 5.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.457, allocations: 29.7 kB / 0.6755 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.457, allocations: 4.094 kB / 0.6755 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.457, allocations: 3.938 kB / 0.6755 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/1.457, allocations: 3.984 kB / 0.6755 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.457, allocations: 0 / 0.6755 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/1.457, allocations: 4 kB / 0.6755 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/1.457, allocations: 0 / 0.6755 GB, free: 5.918 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 7.357e-05/1.457, allocations: 131.5 kB / 0.6756 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/1.457, allocations: 4 kB / 0.6756 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/1.457, allocations: 10.66 kB / 0.6757 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/1.457, allocations: 4 kB / 0.6757 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.457, allocations: 0 / 0.6757 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/1.457, allocations: 0 / 0.6757 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/1.457, allocations: 149.7 kB / 0.6758 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/1.457, allocations: 0 / 0.6758 GB, free: 5.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/1.457, allocations: 4 kB / 0.6758 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/1.457, allocations: 0 / 0.6758 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/1.457, allocations: 3.938 kB / 0.6758 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.457, allocations: 4 kB / 0.6758 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.457, allocations: 0 / 0.6758 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.4e-05/1.457, allocations: 98.77 kB / 0.6759 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/1.457, allocations: 77.11 kB / 0.676 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/1.457, allocations: 3.938 kB / 0.676 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/1.457, allocations: 0 / 0.676 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/1.457, allocations: 7.984 kB / 0.676 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/1.457, allocations: 3.938 kB / 0.676 GB, free: 5.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.575e-05/1.457, allocations: 75.28 kB / 0.6761 GB, free: 5.246 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.457, allocations: 32 / 0.6761 GB, free: 5.246 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008255/1.466, allocations: 2.172 MB / 0.6782 GB, free: 3.074 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.01262/1.478, allocations: 2.249 MB / 0.6804 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/1.479, allocations: 59.41 kB / 0.6804 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/1.479, allocations: 0 / 0.6804 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.903e-05/1.479, allocations: 63.33 kB / 0.6805 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/1.479, allocations: 1.719 kB / 0.6805 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/1.479, allocations: 82.7 kB / 0.6806 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2155/1.695, allocations: 0.6692 MB / 0.6812 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.701e-05/1.695, allocations: 0 / 0.6812 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/1.695, allocations: 8.125 kB / 0.6812 GB, free: 131.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.695, allocations: 0.8125 kB / 0.6812 GB, free: 131.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1665/1.861, allocations: 114.6 MB / 0.7932 GB, free: 50.79 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/jenkins1/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