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.0008607/0.0008609, allocations: 176.9 kB / 16.76 MB, free: 4.93 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.42/1.42, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0008005/0.0008007, allocations: 98.34 kB / 271.3 MB, free: 8.23 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.3426/0.3426, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007987/0.0007989, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1458, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.5078, allocations: 88.53 MB / 0.5664 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5081, allocations: 63.97 kB / 0.5665 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7051/1.213, allocations: 59.77 MB / 0.6248 GB, free: 1.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.213, allocations: 0 / 0.6248 GB, free: 1.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/1.213, allocations: 0 / 0.6248 GB, free: 1.57 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.003388/1.217, allocations: 468.9 kB / 0.6253 GB, free: 1.055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.217, allocations: 12.03 kB / 0.6253 GB, free: 1.043 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/1.217, allocations: 4.938 kB / 0.6253 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.217, allocations: 160.4 kB / 0.6254 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.217, allocations: 384 / 0.6254 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/1.217, allocations: 384 / 0.6254 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.723e-05/1.217, allocations: 34.25 kB / 0.6255 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.217, allocations: 192 / 0.6255 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.217, allocations: 3.938 kB / 0.6255 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.217, allocations: 0 / 0.6255 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/1.217, allocations: 11.88 kB / 0.6255 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/1.217, allocations: 145.7 kB / 0.6256 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/1.217, allocations: 18.58 kB / 0.6256 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/1.217, allocations: 12.33 kB / 0.6257 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/1.217, allocations: 0 / 0.6257 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/1.217, allocations: 60.25 kB / 0.6257 GB, free: 500 kB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.217, allocations: 3.938 kB / 0.6257 GB, free: 496 kB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001965/1.218, allocations: 69.44 kB / 0.6258 GB, free: 416 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.218, allocations: 85.11 kB / 0.6259 GB, free: 312 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/1.218, allocations: 89.86 kB / 0.626 GB, free: 212 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/1.218, allocations: 29.7 kB / 0.626 GB, free: 176 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/1.218, allocations: 80.14 kB / 0.6261 GB, free: 92 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/1.218, allocations: 0 / 0.6261 GB, free: 92 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/1.218, allocations: 0 / 0.6261 GB, free: 92 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/1.218, allocations: 314.8 kB / 0.6264 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/1.218, allocations: 0 / 0.6264 GB, free: 15.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/1.218, allocations: 8 kB / 0.6264 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/1.218, allocations: 56.27 kB / 0.6264 GB, free: 15.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.218, allocations: 0 / 0.6264 GB, free: 15.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.982e-05/1.218, allocations: 67.34 kB / 0.6265 GB, free: 15.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/1.218, allocations: 40.88 kB / 0.6265 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.218, allocations: 0 / 0.6265 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.218, allocations: 3.938 kB / 0.6265 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/1.218, allocations: 0 / 0.6265 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.218, allocations: 0 / 0.6265 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/1.218, allocations: 4.094 kB / 0.6265 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/1.218, allocations: 0 / 0.6265 GB, free: 15.57 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 () * 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.553e-05/1.218, allocations: 139.5 kB / 0.6267 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/1.218, allocations: 0 / 0.6267 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/1.218, allocations: 7.062 kB / 0.6267 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.218, allocations: 3.984 kB / 0.6267 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.218, allocations: 4 kB / 0.6267 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/1.218, allocations: 0 / 0.6267 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/1.219, allocations: 145.7 kB / 0.6268 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.219, allocations: 4 kB / 0.6268 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/1.219, allocations: 0 / 0.6268 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.219, allocations: 0 / 0.6268 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.219, allocations: 7.938 kB / 0.6268 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.219, allocations: 0 / 0.6268 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.219, allocations: 3.984 kB / 0.6268 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/1.219, allocations: 94.77 kB / 0.6269 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/1.219, allocations: 77.11 kB / 0.627 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/1.219, allocations: 15.89 kB / 0.627 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-06/1.219, allocations: 0 / 0.627 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/1.219, allocations: 0 / 0.627 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/1.219, allocations: 4 kB / 0.627 GB, free: 14.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.883e-05/1.219, allocations: 75.28 kB / 0.6271 GB, free: 14.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.219, allocations: 0 / 0.6271 GB, free: 14.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006536/1.225, allocations: 1.527 MB / 0.6286 GB, free: 13.36 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) * 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.01365/1.239, allocations: 2.018 MB / 0.6306 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/1.239, allocations: 67.39 kB / 0.6306 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.239, allocations: 0 / 0.6306 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/1.239, allocations: 63.28 kB / 0.6307 GB, free: 11.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/1.24, allocations: 6.047 kB / 0.6307 GB, free: 11.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/1.24, allocations: 82.31 kB / 0.6308 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.24, allocations: 0.6731 MB / 0.6314 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.554e-06/1.24, allocations: 0 / 0.6314 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/1.24, allocations: 7.438 kB / 0.6314 GB, free: 10.38 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/1.24, allocations: 4 kB / 0.6314 GB, free: 10.37 MB / 458.7 MB Notification: Performance of Templates: time 0.3742/1.614, allocations: 81.31 MB / 0.7108 GB, free: 97.78 MB / 490.7 MB 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/jenkins1/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