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.001692/0.001692, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2088/0.2088, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004308, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1494, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.5255, allocations: 88.49 MB / 0.5652 GB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5258, allocations: 63.72 kB / 0.5652 GB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7118/1.238, allocations: 71.91 MB / 0.6355 GB, free: 10.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.238, allocations: 4 kB / 0.6355 GB, free: 10.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/1.238, allocations: 0 / 0.6355 GB, free: 10.37 MB / 442.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.004051/1.242, allocations: 471.8 kB / 0.6359 GB, free: 9.859 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.242, allocations: 16.02 kB / 0.6359 GB, free: 9.844 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/1.242, allocations: 3.953 kB / 0.6359 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/1.242, allocations: 159.1 kB / 0.6361 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.242, allocations: 0 / 0.6361 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/1.242, allocations: 0 / 0.6361 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.242, allocations: 37.69 kB / 0.6361 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/1.242, allocations: 0 / 0.6361 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.242, allocations: 0 / 0.6361 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/1.242, allocations: 0 / 0.6361 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/1.242, allocations: 7.938 kB / 0.6361 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/1.242, allocations: 148.8 kB / 0.6363 GB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/1.242, allocations: 18.52 kB / 0.6363 GB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/1.242, allocations: 0 / 0.6363 GB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.243, allocations: 68.34 kB / 0.6363 GB, free: 9.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/1.243, allocations: 0 / 0.6363 GB, free: 9.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001794/1.243, allocations: 66.91 kB / 0.6364 GB, free: 9.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.243, allocations: 77.11 kB / 0.6365 GB, free: 9.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.266e-05/1.243, allocations: 85 kB / 0.6366 GB, free: 9.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/1.243, allocations: 25.7 kB / 0.6366 GB, free: 9.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/1.243, allocations: 80.14 kB / 0.6367 GB, free: 8.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/1.243, allocations: 0 / 0.6367 GB, free: 8.922 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/1.243, allocations: 128 / 0.6367 GB, free: 8.922 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/1.243, allocations: 326.8 kB / 0.637 GB, free: 8.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/1.243, allocations: 3.438 kB / 0.637 GB, free: 8.594 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/1.243, allocations: 0 / 0.637 GB, free: 8.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/1.243, allocations: 29.7 kB / 0.637 GB, free: 8.559 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.243, allocations: 0 / 0.637 GB, free: 8.559 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.612e-05/1.243, allocations: 59.34 kB / 0.6371 GB, free: 8.488 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/1.243, allocations: 41.12 kB / 0.6371 GB, free: 8.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.243, allocations: 0 / 0.6371 GB, free: 8.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.243, allocations: 4.094 kB / 0.6371 GB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/1.243, allocations: 0 / 0.6371 GB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.243, allocations: 0.8594 kB / 0.6371 GB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/1.243, allocations: 0 / 0.6371 GB, free: 8.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.243, allocations: 7.938 kB / 0.6371 GB, free: 8.434 MB / 442.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 8.89e-05/1.243, allocations: 138.6 kB / 0.6372 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-06/1.243, allocations: 3.906 kB / 0.6373 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/1.243, allocations: 7.125 kB / 0.6373 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/1.243, allocations: 0 / 0.6373 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.243, allocations: 4 kB / 0.6373 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/1.243, allocations: 0 / 0.6373 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/1.244, allocations: 153.6 kB / 0.6374 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.244, allocations: 0 / 0.6374 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/1.244, allocations: 0 / 0.6374 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.244, allocations: 4 kB / 0.6374 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/1.244, allocations: 0 / 0.6374 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.244, allocations: 0 / 0.6374 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.244, allocations: 3.938 kB / 0.6374 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.62e-05/1.244, allocations: 102.3 kB / 0.6375 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/1.244, allocations: 81.06 kB / 0.6376 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/1.244, allocations: 0 / 0.6376 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/1.244, allocations: 3.438 kB / 0.6376 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/1.244, allocations: 0 / 0.6376 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/1.244, allocations: 7.984 kB / 0.6376 GB, free: 7.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.12e-05/1.244, allocations: 75.28 kB / 0.6377 GB, free: 7.762 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/1.244, allocations: 0 / 0.6377 GB, free: 7.762 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006713/1.251, allocations: 1.525 MB / 0.6392 GB, free: 6.242 MB / 442.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.01207/1.263, allocations: 2.03 MB / 0.6411 GB, free: 4.211 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/1.263, allocations: 63.33 kB / 0.6412 GB, free: 4.137 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.263, allocations: 0 / 0.6412 GB, free: 4.137 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/1.263, allocations: 63.41 kB / 0.6413 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/1.263, allocations: 0 / 0.6413 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/1.263, allocations: 74.14 kB / 0.6413 GB, free: 3.965 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/1.264, allocations: 0.6731 MB / 0.642 GB, free: 3.266 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.972e-06/1.264, allocations: 3.938 kB / 0.642 GB, free: 3.262 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/1.264, allocations: 11.44 kB / 0.642 GB, free: 3.25 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/1.264, allocations: 0 / 0.642 GB, free: 3.25 MB / 442.7 MB Notification: Performance of Templates: time 0.4426/1.706, allocations: 87.37 MB / 0.7273 GB, free: 111.1 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