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.0009799/0.0009799, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.293/1.293, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0007668/0.000767, allocations: 89.36 kB / 267 MB, free: 9.27 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.3415/0.3415, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.102e-05, allocations: 0 / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4254, allocations: 88.4 MB / 0.5591 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.4256, allocations: 69.52 kB / 0.5592 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6765/1.102, allocations: 71.87 MB / 0.6294 GB, free: 272 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.102, allocations: 3.938 kB / 0.6294 GB, free: 268 kB / 442.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/1.102, allocations: 0 / 0.6294 GB, free: 268 kB / 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.003186/1.105, allocations: 463.3 kB / 0.6298 GB, free: 15.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.105, allocations: 11.97 kB / 0.6298 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/1.105, allocations: 0 / 0.6298 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/1.106, allocations: 159.1 kB / 0.63 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.106, allocations: 0 / 0.63 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/1.106, allocations: 11.94 kB / 0.63 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.654e-05/1.106, allocations: 27.08 kB / 0.63 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/1.106, allocations: 0 / 0.63 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/1.106, allocations: 0 / 0.63 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/1.106, allocations: 4 kB / 0.63 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/1.106, allocations: 0 / 0.63 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/1.106, allocations: 149.6 kB / 0.6302 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/1.106, allocations: 22.36 kB / 0.6302 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/1.106, allocations: 12.8 kB / 0.6302 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/1.106, allocations: 0 / 0.6302 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/1.106, allocations: 60.33 kB / 0.6303 GB, free: 15.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/1.106, allocations: 0 / 0.6303 GB, free: 15.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000178/1.106, allocations: 59.39 kB / 0.6303 GB, free: 15.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.106, allocations: 77.11 kB / 0.6304 GB, free: 15.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.712e-05/1.106, allocations: 92.31 kB / 0.6305 GB, free: 14.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/1.106, allocations: 29.73 kB / 0.6305 GB, free: 14.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/1.106, allocations: 80.14 kB / 0.6306 GB, free: 14.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/1.106, allocations: 1.719 kB / 0.6306 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-06/1.106, allocations: 0 / 0.6306 GB, free: 14.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/1.107, allocations: 314.8 kB / 0.6309 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/1.107, allocations: 0 / 0.6309 GB, free: 14.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/1.107, allocations: 7.938 kB / 0.6309 GB, free: 14.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/1.107, allocations: 25.7 kB / 0.6309 GB, free: 14.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.107, allocations: 64 / 0.6309 GB, free: 14.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.483e-05/1.107, allocations: 71.08 kB / 0.631 GB, free: 14.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/1.107, allocations: 29.7 kB / 0.631 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.107, allocations: 0 / 0.631 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.107, allocations: 6.812 kB / 0.631 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/1.107, allocations: 0 / 0.631 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.107, allocations: 0 / 0.631 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/1.107, allocations: 0 / 0.631 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/1.107, allocations: 0.5625 kB / 0.631 GB, free: 14.35 MB / 458.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.199e-05/1.107, allocations: 142.6 kB / 0.6312 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/1.107, allocations: 4 kB / 0.6312 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/1.107, allocations: 3.125 kB / 0.6312 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.107, allocations: 0 / 0.6312 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.107, allocations: 0 / 0.6312 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/1.107, allocations: 0 / 0.6312 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/1.107, allocations: 150.7 kB / 0.6313 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.107, allocations: 0 / 0.6313 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/1.107, allocations: 3.984 kB / 0.6313 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.107, allocations: 3.938 kB / 0.6313 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/1.107, allocations: 0 / 0.6313 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.107, allocations: 4 kB / 0.6313 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.107, allocations: 4 kB / 0.6313 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/1.107, allocations: 90.3 kB / 0.6314 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/1.107, allocations: 81.09 kB / 0.6315 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/1.107, allocations: 4 kB / 0.6315 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-06/1.107, allocations: 0 / 0.6315 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/1.107, allocations: 3.938 kB / 0.6315 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/1.107, allocations: 4.031 kB / 0.6315 GB, free: 13.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.683e-05/1.107, allocations: 76.03 kB / 0.6316 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.107, allocations: 0 / 0.6316 GB, free: 13.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005753/1.113, allocations: 1.533 MB / 0.6331 GB, free: 12.17 MB / 458.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.01178/1.125, allocations: 2.031 MB / 0.6351 GB, free: 10.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/1.125, allocations: 59.41 kB / 0.6351 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.125, allocations: 1.5 kB / 0.6351 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/1.125, allocations: 55.41 kB / 0.6352 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.961e-05/1.125, allocations: 4.109 kB / 0.6352 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/1.125, allocations: 52.89 kB / 0.6352 GB, free: 9.938 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/1.126, allocations: 0.677 MB / 0.6359 GB, free: 9.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.901e-06/1.126, allocations: 0 / 0.6359 GB, free: 9.234 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/1.126, allocations: 11.56 kB / 0.6359 GB, free: 9.223 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/1.126, allocations: 0 / 0.6359 GB, free: 9.223 MB / 458.7 MB Notification: Performance of Templates: time 0.3413/1.467, allocations: 87.39 MB / 0.7212 GB, free: 97.65 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