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.0007952/0.0007952, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007718/0.0007718, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8543/0.8543, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1335/0.1335, allocations: 32.37 MB / 270.4 MB, free: 14.96 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=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.238e-05, allocations: 6.078 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.00148/0.001513, allocations: 0.5376 MB / 408.7 MB, free: 1.191 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.002461, allocations: 0.5833 MB / 409.2 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.002501, allocations: 3.938 kB / 409.2 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.911e-05/0.0026, allocations: 3.938 kB / 409.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-06/0.002604, allocations: 0 / 409.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008313/0.003435, allocations: 211.2 kB / 409.4 MB, free: 396 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.003501, allocations: 23.97 kB / 409.5 MB, free: 372 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.003547, allocations: 4 kB / 409.5 MB, free: 368 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.003588, allocations: 19.95 kB / 409.5 MB, free: 348 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.003631, allocations: 12.2 kB / 409.5 MB, free: 336 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.003644, allocations: 8 kB / 409.5 MB, free: 328 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.003962, allocations: 195.6 kB / 409.7 MB, free: 132 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.004047, allocations: 60.14 kB / 409.8 MB, free: 72 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.004093, allocations: 31.86 kB / 409.8 MB, free: 40 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.004412, allocations: 223.3 kB / 410 MB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004415, allocations: 0 / 410 MB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.004417, allocations: 0 / 410 MB, free: 15.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.004423, allocations: 0 / 410 MB, free: 15.82 MB / 394.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.0004832/0.004907, allocations: 418.9 kB / 410.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.004944, allocations: 12.03 kB / 410.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.004994, allocations: 28.77 kB / 410.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.005068, allocations: 121.6 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.005086, allocations: 16.38 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.005107, allocations: 16.38 kB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.005268, allocations: 129.2 kB / 410.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.005276, allocations: 192 / 410.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.005287, allocations: 4.125 kB / 410.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005293, allocations: 3.938 kB / 410.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.005367, allocations: 104.4 kB / 410.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.005517, allocations: 154 kB / 411 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.005611, allocations: 107 kB / 411.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.005678, allocations: 105.9 kB / 411.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.005687, allocations: 4 kB / 411.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.005899, allocations: 166.3 kB / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 1.714e-06/0.005901, allocations: 0 / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.0005964/0.006497, allocations: 0.6078 MB / 412 MB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.006564, allocations: 107.8 kB / 412.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.707e-05/0.006611, allocations: 117.8 kB / 412.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.006653, allocations: 69.67 kB / 412.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.006681, allocations: 93.45 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.00677, allocations: 143.1 kB / 412.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.006892, allocations: 154.7 kB / 412.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.007008, allocations: 346.8 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.00722, allocations: 185.8 kB / 413.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.007585, allocations: 0.5333 MB / 413.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.008292, allocations: 0.7749 MB / 414.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.008302, allocations: 4 kB / 414.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007935/0.009096, allocations: 0.7438 MB / 415.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.009122, allocations: 11.98 kB / 415.2 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.009139, allocations: 12 kB / 415.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.009163, allocations: 20 kB / 415.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.009393, allocations: 119.6 kB / 415.4 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.009413, allocations: 27.86 kB / 415.4 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.009573, allocations: 75.52 kB / 415.5 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.009604, allocations: 36 kB / 415.5 MB, free: 9.801 MB / 394.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.000216/0.00982, allocations: 249.4 kB / 415.8 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.00984, allocations: 11.91 kB / 415.8 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.009877, allocations: 5.812 kB / 415.8 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.00988, allocations: 0 / 415.8 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.009889, allocations: 3.938 kB / 415.8 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.009893, allocations: 4 kB / 415.8 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.01002, allocations: 121.7 kB / 415.9 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01002, allocations: 3.938 kB / 415.9 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.01003, allocations: 0 / 415.9 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01003, allocations: 7.938 kB / 415.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01004, allocations: 0 / 415.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01004, allocations: 0 / 415.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01005, allocations: 0 / 415.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.01049, allocations: 459.8 kB / 416.4 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.01051, allocations: 23.78 kB / 416.4 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.01052, allocations: 0 / 416.4 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.01054, allocations: 4.031 kB / 416.4 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.01057, allocations: 7.938 kB / 416.4 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.01057, allocations: 3.938 kB / 416.4 MB, free: 8.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.06e-05/0.0106, allocations: 79.31 kB / 416.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 416.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004638/0.01107, allocations: 99.86 kB / 416.6 MB, free: 8.68 MB / 394.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.0005434/0.01161, allocations: 275.9 kB / 416.9 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.01207, allocations: 449.3 kB / 417.3 MB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.01208, allocations: 4 kB / 417.3 MB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.01215, allocations: 100.5 kB / 417.4 MB, free: 7.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.01227, allocations: 4 kB / 417.4 MB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.01278, allocations: 487.1 kB / 417.9 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.946e-05/0.01287, allocations: 120.3 kB / 418 MB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.0129, allocations: 24.5 kB / 418 MB, free: 7.199 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0129, allocations: 0 / 418 MB, free: 7.199 MB / 394.7 MB Notification: Performance of Templates: time 0.005718/0.01862, allocations: 3.803 MB / 421.8 MB, free: 3.391 MB / 394.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.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: 4.9473038306459785]