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.001057/0.001057, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.00118/0.00118, allocations: 173.3 kB / 24.14 MB, free: 356 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.8634/0.8634, allocations: 158.6 MB / 186 MB, free: 2.738 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.1299/0.1299, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.262e-06/1.262e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.945e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001215/0.001234, allocations: 0.552 MB / 299.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.00236, allocations: 0.597 MB / 300.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.002397, allocations: 0 / 300.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.002522, allocations: 15.86 kB / 300.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.226e-06/0.002525, allocations: 0 / 300.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.003223, allocations: 203.3 kB / 300.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.003299, allocations: 31.95 kB / 300.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.003335, allocations: 0 / 300.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.003376, allocations: 31.89 kB / 300.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.003409, allocations: 4.281 kB / 300.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.003419, allocations: 0 / 300.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.003677, allocations: 203.5 kB / 300.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.003739, allocations: 60.08 kB / 300.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.003773, allocations: 27.92 kB / 300.8 MB, free: 488 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.00398, allocations: 219.2 kB / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003982, allocations: 8 kB / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003982, allocations: 0 / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.003986, allocations: 0 / 301 MB, free: 260 kB / 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.1785/0.1825, allocations: 386.3 kB / 301.4 MB, free: 19.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1825, allocations: 9.688 kB / 301.4 MB, free: 19.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1826, allocations: 14.11 kB / 301.4 MB, free: 19.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.399e-05/0.1826, allocations: 126.4 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1826, allocations: 15.83 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1827, allocations: 21.5 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1828, allocations: 66.77 kB / 301.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1828, allocations: 192 / 301.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.1828, allocations: 2.188 kB / 301.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1828, allocations: 6.375 kB / 301.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.1828, allocations: 30.34 kB / 301.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.1829, allocations: 107.9 kB / 301.8 MB, free: 19.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.183, allocations: 42.86 kB / 301.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.183, allocations: 33.92 kB / 301.8 MB, free: 19.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-06/0.183, allocations: 1.438 kB / 301.9 MB, free: 19.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.1832, allocations: 99.97 kB / 301.9 MB, free: 19.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 2.104e-06/0.1832, allocations: 0.5312 kB / 301.9 MB, free: 19.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0003961/0.1836, allocations: 355 kB / 302.3 MB, free: 18.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.1836, allocations: 103.7 kB / 302.4 MB, free: 18.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.613e-05/0.1837, allocations: 118.9 kB / 302.5 MB, free: 18.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.1837, allocations: 67.05 kB / 302.6 MB, free: 18.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.1837, allocations: 92.45 kB / 302.7 MB, free: 18.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1838, allocations: 141.5 kB / 302.8 MB, free: 18.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.184, allocations: 152.2 kB / 303 MB, free: 18.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.184, allocations: 353.8 kB / 303.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.1841, allocations: 64.33 kB / 303.4 MB, free: 18.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1844, allocations: 427.7 kB / 303.8 MB, free: 17.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.1848, allocations: 0.5875 MB / 304.4 MB, free: 17.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.1848, allocations: 3.312 kB / 304.4 MB, free: 17.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005395/0.1854, allocations: 470.4 kB / 304.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1854, allocations: 10.84 kB / 304.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.1854, allocations: 11.94 kB / 304.9 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.1855, allocations: 17.25 kB / 304.9 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1858, allocations: 188.6 kB / 305.1 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/0.1859, allocations: 28.17 kB / 305.1 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.186, allocations: 73.23 kB / 305.2 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.186, allocations: 31.86 kB / 305.2 MB, free: 17.3 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.0001658/0.1862, allocations: 236.9 kB / 305.4 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.1862, allocations: 1.531 kB / 305.4 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.1863, allocations: 10.61 kB / 305.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1863, allocations: 2.438 kB / 305.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1863, allocations: 0 / 305.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1863, allocations: 1.875 kB / 305.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.064e-05/0.1864, allocations: 86.5 kB / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1864, allocations: 0.9688 kB / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-06/0.1864, allocations: 1.359 kB / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1864, allocations: 0.7812 kB / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1864, allocations: 1.734 kB / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1864, allocations: 0 / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1864, allocations: 5.359 kB / 305.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.1867, allocations: 269.1 kB / 305.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.1867, allocations: 22.66 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1867, allocations: 0.75 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.1867, allocations: 2.5 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1868, allocations: 0.75 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1868, allocations: 2.281 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.007e-06/0.1868, allocations: 4.859 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1868, allocations: 1.406 kB / 305.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.1871, allocations: 96.38 kB / 305.9 MB, free: 16.92 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.0006266/0.1878, allocations: 291.9 kB / 306.2 MB, free: 16.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.1882, allocations: 288.7 kB / 306.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1882, allocations: 0 / 306.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.1882, allocations: 56.73 kB / 306.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.756e-05/0.1883, allocations: 8.391 kB / 306.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.1889, allocations: 377 kB / 306.9 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.1889, allocations: 85.91 kB / 307 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.704e-05/0.189, allocations: 38.45 kB / 307 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.189, allocations: 75.75 kB / 307.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.189, allocations: 0 / 307.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of Templates: time 0.007412/0.1964, allocations: 3.388 MB / 310.5 MB, free: 16.12 MB / 282.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.104554973077029]