Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001349, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007768/0.0007768, allocations: 90.3 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2271/0.2271, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.383e-05, allocations: 0 / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 58.87 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5495, allocations: 87.73 MB / 0.5516 GB, free: 7.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.5497, allocations: 68.88 kB / 0.5517 GB, free: 7.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7685/1.318, allocations: 71.58 MB / 0.6216 GB, free: 8.164 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.318, allocations: 0 / 0.6216 GB, free: 8.164 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/1.318, allocations: 0 / 0.6216 GB, free: 8.164 MB / 426.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.003764/1.322, allocations: 459 kB / 0.622 GB, free: 7.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.322, allocations: 12.03 kB / 0.622 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/1.322, allocations: 3.953 kB / 0.622 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.322, allocations: 166.3 kB / 0.6222 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.322, allocations: 3.938 kB / 0.6222 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/1.322, allocations: 3.984 kB / 0.6222 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.58e-05/1.322, allocations: 8 kB / 0.6222 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.653e-05/1.322, allocations: 29.64 kB / 0.6222 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/1.322, allocations: 0 / 0.6222 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/1.322, allocations: 0 / 0.6222 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/1.322, allocations: 0 / 0.6222 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/1.323, allocations: 130.2 kB / 0.6224 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.683e-05/1.323, allocations: 18.58 kB / 0.6224 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/1.323, allocations: 4.859 kB / 0.6224 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/1.323, allocations: 0.75 kB / 0.6224 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/1.323, allocations: 67.78 kB / 0.6224 GB, free: 7.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.323, allocations: 0 / 0.6224 GB, free: 7.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001941/1.323, allocations: 33.64 kB / 0.6225 GB, free: 7.086 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/1.323, allocations: 81.14 kB / 0.6226 GB, free: 6.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/1.323, allocations: 89 kB / 0.6226 GB, free: 6.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/1.323, allocations: 25.7 kB / 0.6227 GB, free: 6.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/1.323, allocations: 80.14 kB / 0.6227 GB, free: 6.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/1.323, allocations: 3.938 kB / 0.6227 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/1.323, allocations: 0 / 0.6227 GB, free: 6.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/1.323, allocations: 314.1 kB / 0.623 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/1.323, allocations: 3.984 kB / 0.623 GB, free: 6.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/1.323, allocations: 4 kB / 0.623 GB, free: 6.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/1.323, allocations: 8.016 kB / 0.6231 GB, free: 6.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.323, allocations: 0 / 0.6231 GB, free: 6.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.692e-05/1.323, allocations: 33.7 kB / 0.6231 GB, free: 6.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/1.323, allocations: 29.7 kB / 0.6231 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.323, allocations: 0 / 0.6231 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.323, allocations: 0 / 0.6231 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-06/1.323, allocations: 7.922 kB / 0.6231 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.323, allocations: 4 kB / 0.6231 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/1.323, allocations: 0 / 0.6231 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/1.323, allocations: 0 / 0.6231 GB, free: 6.363 MB / 426.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 7.585e-05/1.324, allocations: 138 kB / 0.6233 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.324, allocations: 7.906 kB / 0.6233 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/1.324, allocations: 3.75 kB / 0.6233 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.324, allocations: 3.938 kB / 0.6233 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.324, allocations: 0 / 0.6233 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.324, allocations: 3.984 kB / 0.6233 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.992e-05/1.324, allocations: 126.2 kB / 0.6234 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.324, allocations: 0 / 0.6234 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/1.324, allocations: 4 kB / 0.6234 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.324, allocations: 7.953 kB / 0.6234 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/1.324, allocations: 0 / 0.6234 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.324, allocations: 0 / 0.6234 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.324, allocations: 0 / 0.6234 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/1.324, allocations: 64.62 kB / 0.6235 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/1.324, allocations: 77.11 kB / 0.6235 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/1.324, allocations: 3.953 kB / 0.6235 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/1.324, allocations: 32 / 0.6235 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/1.324, allocations: 11.92 kB / 0.6236 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.324, allocations: 4 kB / 0.6236 GB, free: 5.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.38e-05/1.324, allocations: 75.28 kB / 0.6236 GB, free: 5.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.324, allocations: 0 / 0.6236 GB, free: 5.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007051/1.331, allocations: 1.526 MB / 0.6251 GB, free: 4.242 MB / 426.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.01325/1.344, allocations: 2.026 MB / 0.6271 GB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/1.345, allocations: 55.41 kB / 0.6272 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.345, allocations: 0 / 0.6272 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/1.345, allocations: 59.34 kB / 0.6272 GB, free: 2.074 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/1.345, allocations: 6.812 kB / 0.6272 GB, free: 2.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/1.345, allocations: 52.11 kB / 0.6273 GB, free: 2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.345, allocations: 0.6768 MB / 0.6279 GB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.22e-05/1.345, allocations: 0 / 0.6279 GB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/1.345, allocations: 7.438 kB / 0.6279 GB, free: 1.289 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/1.345, allocations: 0 / 0.6279 GB, free: 1.289 MB / 426.7 MB Notification: Performance of Templates: time 0.4317/1.777, allocations: 88.28 MB / 0.7142 GB, free: 110.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches