Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.257/1.257, allocations: 223.2 MB / 241 MB, free: 11.86 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.001093/0.001094, allocations: 96.28 kB / 292.2 MB, free: 10.92 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.3009/0.3009, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003196, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3433, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4614, allocations: 89.55 MB / 0.597 GB, free: 5.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.4616, allocations: 67.97 kB / 0.5971 GB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7129/1.174, allocations: 71.98 MB / 0.6674 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.175, allocations: 0 / 0.6674 GB, free: 13.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/1.175, allocations: 0 / 0.6674 GB, free: 13.45 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.003343/1.178, allocations: 464.7 kB / 0.6678 GB, free: 12.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.178, allocations: 12.56 kB / 0.6678 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/1.178, allocations: 3.938 kB / 0.6678 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/1.178, allocations: 167 kB / 0.668 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.178, allocations: 0 / 0.668 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/1.178, allocations: 0 / 0.668 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/1.178, allocations: 33.64 kB / 0.668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/1.178, allocations: 0 / 0.668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/1.178, allocations: 0 / 0.668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.178, allocations: 0 / 0.668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/1.178, allocations: 3.984 kB / 0.668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/1.178, allocations: 153.6 kB / 0.6682 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/1.178, allocations: 18.58 kB / 0.6682 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/1.178, allocations: 0 / 0.6682 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.179, allocations: 60.36 kB / 0.6682 GB, free: 12.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.179, allocations: 0 / 0.6682 GB, free: 12.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001582/1.179, allocations: 71.33 kB / 0.6683 GB, free: 12.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.179, allocations: 77.11 kB / 0.6684 GB, free: 12.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.047e-05/1.179, allocations: 85 kB / 0.6685 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/1.179, allocations: 29.83 kB / 0.6685 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/1.179, allocations: 80.14 kB / 0.6686 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/1.179, allocations: 0 / 0.6686 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-06/1.179, allocations: 0 / 0.6686 GB, free: 11.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/1.179, allocations: 310.8 kB / 0.6689 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/1.179, allocations: 4 kB / 0.6689 GB, free: 11.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/1.179, allocations: 0 / 0.6689 GB, free: 11.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/1.179, allocations: 29.69 kB / 0.6689 GB, free: 11.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.179, allocations: 8.062 kB / 0.6689 GB, free: 11.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.243e-05/1.179, allocations: 67.3 kB / 0.669 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/1.179, allocations: 33.7 kB / 0.669 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.179, allocations: 3.984 kB / 0.669 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/1.179, allocations: 0 / 0.669 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/1.179, allocations: 0 / 0.669 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/1.179, allocations: 0 / 0.669 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/1.179, allocations: 0 / 0.669 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.179, allocations: 0 / 0.669 GB, free: 11.51 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 9.347e-05/1.179, allocations: 143.6 kB / 0.6691 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/1.179, allocations: 3.953 kB / 0.6691 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/1.179, allocations: 10.66 kB / 0.6692 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.179, allocations: 3.938 kB / 0.6692 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.179, allocations: 4 kB / 0.6692 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/1.179, allocations: 0 / 0.6692 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.927e-05/1.179, allocations: 153.7 kB / 0.6693 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.179, allocations: 0 / 0.6693 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/1.179, allocations: 0 / 0.6693 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.179, allocations: 0 / 0.6693 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/1.18, allocations: 7.953 kB / 0.6693 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/1.18, allocations: 4 kB / 0.6693 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.18, allocations: 0 / 0.6693 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/1.18, allocations: 94.77 kB / 0.6694 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/1.18, allocations: 77.11 kB / 0.6695 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/1.18, allocations: 4 kB / 0.6695 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/1.18, allocations: 3.953 kB / 0.6695 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/1.18, allocations: 0 / 0.6695 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.18, allocations: 8.031 kB / 0.6695 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.394e-05/1.18, allocations: 75.28 kB / 0.6696 GB, free: 10.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.18, allocations: 0 / 0.6696 GB, free: 10.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006041/1.186, allocations: 1.523 MB / 0.6711 GB, free: 9.301 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.01296/1.199, allocations: 2.044 MB / 0.6731 GB, free: 7.254 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/1.199, allocations: 59.41 kB / 0.6731 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.199, allocations: 0 / 0.6731 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/1.199, allocations: 59.34 kB / 0.6732 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/1.199, allocations: 1.375 kB / 0.6732 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/1.199, allocations: 78.75 kB / 0.6732 GB, free: 7.008 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/1.2, allocations: 0.6694 MB / 0.6739 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.366e-06/1.2, allocations: 7.984 kB / 0.6739 GB, free: 6.305 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/1.2, allocations: 11.44 kB / 0.6739 GB, free: 6.293 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.2, allocations: 0 / 0.6739 GB, free: 6.293 MB / 490.7 MB Notification: Performance of Templates: time 0.3876/1.587, allocations: 87.38 MB / 0.7592 GB, free: 83.44 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches