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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00299/0.00299, allocations: 92.97 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2302/0.2302, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.406e-05, allocations: 6.25 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001622/0.001656, allocations: 0.5237 MB / 347.5 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.004555, allocations: 2.242 MB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.004572, allocations: 4 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.004583, allocations: 3.938 kB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.004589, allocations: 0 / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.006074, allocations: 0.5878 MB / 350.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.006119, allocations: 0 / 350.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.006151, allocations: 7.938 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.00618, allocations: 0 / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.674e-05/0.006197, allocations: 0 / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.006204, allocations: 0 / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.007229, allocations: 0.6665 MB / 351 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.00724, allocations: 3.984 kB / 351 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.007262, allocations: 4 kB / 351 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.00795, allocations: 0.5143 MB / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007953, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007954, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.007959, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.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.0003645/0.008323, allocations: 477 kB / 352 MB, free: 4.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.008356, allocations: 8.031 kB / 352 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.008393, allocations: 0.9375 kB / 352 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.27e-05/0.008435, allocations: 104.6 kB / 352.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.008447, allocations: 8.375 kB / 352.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.008454, allocations: 384 / 352.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.008537, allocations: 55.97 kB / 352.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.008545, allocations: 4.172 kB / 352.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.008552, allocations: 384 / 352.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.008556, allocations: 3.938 kB / 352.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.186e-05/0.008578, allocations: 29.7 kB / 352.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.997e-05/0.008668, allocations: 116.6 kB / 352.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.008723, allocations: 56.73 kB / 352.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.008741, allocations: 33.39 kB / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.008749, allocations: 0 / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.00878, allocations: 67.14 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.008781, allocations: 3.938 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001696/0.00895, allocations: 118.8 kB / 352.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.008978, allocations: 81.05 kB / 352.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.588e-05/0.009004, allocations: 142.4 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.009011, allocations: 33.69 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.009027, allocations: 130.9 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.009043, allocations: 0 / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.009067, allocations: 19.38 kB / 353 MB, free: 3.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.009163, allocations: 496.1 kB / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.009177, allocations: 25.7 kB / 353.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.009188, allocations: 25.7 kB / 353.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.009221, allocations: 63.09 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.009223, allocations: 0 / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.996e-05/0.009282, allocations: 101.1 kB / 353.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.009308, allocations: 33.7 kB / 353.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.009312, allocations: 0 / 353.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.009328, allocations: 3.984 kB / 353.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.009329, allocations: 0 / 353.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.009335, allocations: 3.938 kB / 353.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.009349, allocations: 3.953 kB / 353.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.009355, allocations: 4 kB / 353.7 MB, free: 2.703 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.009417, allocations: 182.3 kB / 353.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.009426, allocations: 4 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-06/0.009436, allocations: 11.03 kB / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.009437, allocations: 0 / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.00944, allocations: 0 / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.009442, allocations: 3.938 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.075e-05/0.009493, allocations: 108.6 kB / 354 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009495, allocations: 3.984 kB / 354 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.009496, allocations: 0 / 354 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.009497, allocations: 0 / 354 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.009503, allocations: 0 / 354 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009504, allocations: 0 / 354 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009505, allocations: 0 / 354 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.897e-05/0.009594, allocations: 143.7 kB / 354.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.009598, allocations: 0 / 354.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.009608, allocations: 7.938 kB / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-06/0.009617, allocations: 4 kB / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.009631, allocations: 0 / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.009633, allocations: 0 / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.009654, allocations: 123.1 kB / 354.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009654, allocations: 0 / 354.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.01007, allocations: 159.4 kB / 354.4 MB, free: 1.879 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007229/0.01079, allocations: 367.7 kB / 354.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.295e-05/0.01088, allocations: 114.5 kB / 354.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01088, allocations: 0 / 354.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.01091, allocations: 100.7 kB / 355 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.01102, allocations: 4 kB / 355 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/0.01118, allocations: 118.6 kB / 355.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.01121, allocations: 59.34 kB / 355.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.749e-06/0.01122, allocations: 0 / 355.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.01123, allocations: 8.5 kB / 355.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01123, allocations: 3.938 kB / 355.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of Templates: time 0.00805/0.01928, allocations: 3.556 MB / 358.7 MB, free: 13.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.125226624077186]