Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.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.001137/0.001137, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001018/0.001018, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 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 0.8798/0.8798, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.1422/0.1422, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/2.079e-05, allocations: 6.25 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.00104/0.001061, allocations: 0.5664 MB / 348.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.001975, allocations: 0.5892 MB / 349.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.002006, allocations: 0 / 349.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.002092, allocations: 11.92 kB / 349.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.507e-06/0.002096, allocations: 0 / 349.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.002672, allocations: 203.2 kB / 349.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.00273, allocations: 23.97 kB / 349.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.002773, allocations: 7.984 kB / 349.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.002811, allocations: 23.92 kB / 349.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.002851, allocations: 12.25 kB / 349.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.002863, allocations: 4 kB / 349.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.00311, allocations: 199.5 kB / 349.8 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.003169, allocations: 68.06 kB / 349.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.003199, allocations: 27.92 kB / 349.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.003399, allocations: 219.3 kB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.0034, allocations: 0 / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003401, allocations: 0 / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.003406, allocations: 0 / 350.1 MB, free: 7.23 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0003154/0.003722, allocations: 0.5089 MB / 350.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.003769, allocations: 12.03 kB / 350.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.00381, allocations: 28.78 kB / 350.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.483e-05/0.003865, allocations: 124.4 kB / 350.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.003879, allocations: 16.38 kB / 350.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.003898, allocations: 20.38 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.003977, allocations: 58.27 kB / 350.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.003986, allocations: 4.172 kB / 350.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.003993, allocations: 4.125 kB / 350.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.003998, allocations: 0 / 350.8 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.004017, allocations: 25.5 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.08e-05/0.004108, allocations: 150 kB / 351 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.004149, allocations: 55.5 kB / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.004168, allocations: 36.72 kB / 351.1 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.004172, allocations: 4 kB / 351.1 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.184e-05/0.004254, allocations: 101 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 8.22e-07/0.004254, allocations: 0 / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0004042/0.004659, allocations: 482.5 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.004709, allocations: 103.7 kB / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.004753, allocations: 182.1 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.004788, allocations: 65.7 kB / 352 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.004812, allocations: 144.2 kB / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.004904, allocations: 151 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.005005, allocations: 172.2 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.005085, allocations: 0.5313 MB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.005143, allocations: 69.92 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.005338, allocations: 0.5848 MB / 353.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.005728, allocations: 0.7249 MB / 354.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.005734, allocations: 7.938 kB / 354.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.000493/0.006227, allocations: 0.5523 MB / 354.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.006244, allocations: 12 kB / 355 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.006258, allocations: 19.94 kB / 355 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.00628, allocations: 16 kB / 355 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.006577, allocations: 191.7 kB / 355.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.00659, allocations: 31.8 kB / 355.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.006697, allocations: 63.56 kB / 355.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.006719, allocations: 36 kB / 355.3 MB, free: 1.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],r33,$PRE.r33,r4c,$PRE.r4c,r4b,$PRE.r4b,r4a,$PRE.r4a,r2,$PRE.r2,result,$PRE.result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001266/0.006846, allocations: 272.4 kB / 355.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.00686, allocations: 15.86 kB / 355.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.006892, allocations: 5.812 kB / 355.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006894, allocations: 4 kB / 355.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.006897, allocations: 3.984 kB / 355.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.006904, allocations: 7.938 kB / 355.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.736e-05/0.006972, allocations: 113.5 kB / 355.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006973, allocations: 0 / 355.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-06/0.006976, allocations: 0 / 355.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006977, allocations: 0 / 355.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006982, allocations: 0 / 355.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006983, allocations: 0 / 355.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.006985, allocations: 3.984 kB / 355.7 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.007271, allocations: 391.2 kB / 356.1 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.00729, allocations: 31.77 kB / 356.1 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.007299, allocations: 7.922 kB / 356.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.007306, allocations: 0 / 356.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.007325, allocations: 4 kB / 356.1 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.00733, allocations: 0 / 356.1 MB, free: 448 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.298e-05/0.007353, allocations: 119.2 kB / 356.3 MB, free: 328 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007353, allocations: 0 / 356.3 MB, free: 328 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.007661, allocations: 95.86 kB / 356.4 MB, free: 232 kB / 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: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004818/0.008143, allocations: 288.6 kB / 356.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.008482, allocations: 310.7 kB / 356.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008485, allocations: 0 / 356.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.008535, allocations: 61.16 kB / 357 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.008657, allocations: 5.625 kB / 357 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.009103, allocations: 371.5 kB / 357.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.795e-05/0.009171, allocations: 85.36 kB / 357.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.009232, allocations: 31.59 kB / 357.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.009308, allocations: 98.2 kB / 357.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009309, allocations: 3.938 kB / 357.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Templates: time 0.004909/0.01422, allocations: 3.408 MB / 361 MB, free: 11.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0768936360254884]