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.0009814/0.0009814, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009575/0.0009575, allocations: 169 kB / 24.25 MB, free: 308 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.9994/0.9994, allocations: 158.6 MB / 186 MB, free: 2.496 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.1441/0.1441, allocations: 32.37 MB / 270.7 MB, free: 14.75 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 2.665e-06/2.665e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.103e-05, allocations: 2.312 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001565/0.001606, allocations: 0.5664 MB / 348.2 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.002685, allocations: 0.6008 MB / 348.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.002735, allocations: 4 kB / 348.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.00284, allocations: 3.938 kB / 348.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.727e-06/0.002844, allocations: 0 / 348.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.003638, allocations: 207.2 kB / 349 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.003718, allocations: 23.98 kB / 349.1 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.003771, allocations: 3.984 kB / 349.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.003812, allocations: 19.97 kB / 349.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.00386, allocations: 20.19 kB / 349.1 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003875, allocations: 0 / 349.1 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.004166, allocations: 191.5 kB / 349.3 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.004256, allocations: 68.14 kB / 349.4 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.004309, allocations: 39.83 kB / 349.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.004585, allocations: 215.2 kB / 349.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.004589, allocations: 0 / 349.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.004591, allocations: 0 / 349.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.004598, allocations: 0 / 349.6 MB, free: 7.816 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.0004698/0.005068, allocations: 0.5051 MB / 350.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.00512, allocations: 12.03 kB / 350.1 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.005197, allocations: 20.8 kB / 350.2 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.827e-05/0.005265, allocations: 124.4 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.005283, allocations: 12.38 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.005305, allocations: 24.38 kB / 350.3 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.005434, allocations: 66.25 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.005444, allocations: 8.125 kB / 350.4 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.005456, allocations: 8.062 kB / 350.4 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.005466, allocations: 0 / 350.4 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.005496, allocations: 33 kB / 350.4 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.00562, allocations: 161.4 kB / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.601e-05/0.005676, allocations: 59.56 kB / 350.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.005709, allocations: 48.72 kB / 350.7 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.005716, allocations: 3.984 kB / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.005867, allocations: 117 kB / 350.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.184e-06/0.005869, allocations: 0 / 350.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0005453/0.006414, allocations: 490.5 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.006488, allocations: 103.8 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.006538, allocations: 174.1 kB / 351.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.006578, allocations: 73.61 kB / 351.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.006606, allocations: 136.2 kB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.0067, allocations: 147 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.006817, allocations: 172.3 kB / 352.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.006923, allocations: 0.5235 MB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.007043, allocations: 89.97 kB / 352.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.007284, allocations: 0.6005 MB / 353.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.007783, allocations: 0.7601 MB / 354 MB, free: 2.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.007791, allocations: 4 kB / 354 MB, free: 2.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005792/0.00837, allocations: 0.5993 MB / 354.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.008393, allocations: 8 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.008406, allocations: 15.98 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.00843, allocations: 20.06 kB / 354.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.008766, allocations: 195.6 kB / 354.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.008781, allocations: 27.92 kB / 354.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.008898, allocations: 63.56 kB / 355 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.008922, allocations: 40 kB / 355 MB, free: 1.762 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.0001322/0.009054, allocations: 276.2 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.009071, allocations: 15.86 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.009106, allocations: 9.797 kB / 355.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009108, allocations: 3.938 kB / 355.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.009114, allocations: 3.938 kB / 355.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009117, allocations: 0 / 355.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.009218, allocations: 132.9 kB / 355.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.00922, allocations: 0 / 355.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/0.009226, allocations: 8 kB / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009229, allocations: 3.984 kB / 355.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.009237, allocations: 0 / 355.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009239, allocations: 0 / 355.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.009241, allocations: 3.938 kB / 355.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.009572, allocations: 407.2 kB / 355.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.009587, allocations: 23.73 kB / 355.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.009604, allocations: 0 / 355.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.009617, allocations: 0 / 355.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.009654, allocations: 7.938 kB / 355.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.009662, allocations: 0 / 355.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.917e-05/0.009681, allocations: 123.2 kB / 356 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009681, allocations: 0 / 356 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.01011, allocations: 95.86 kB / 356.1 MB, free: 0.6016 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: 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.000717/0.01082, allocations: 289.7 kB / 356.4 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.01122, allocations: 328.3 kB / 356.7 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01122, allocations: 8 kB / 356.7 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.0113, allocations: 69.25 kB / 356.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.01144, allocations: 4 kB / 356.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.01193, allocations: 383.4 kB / 357.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.938e-05/0.01199, allocations: 85.36 kB / 357.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.01205, allocations: 35.64 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01208, allocations: 24.5 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.492e-06/0.01208, allocations: 0 / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Templates: time 0.005474/0.01756, allocations: 3.095 MB / 360.4 MB, free: 12.32 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.2914835491683334]