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.001423/0.001423, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001826/0.001826, allocations: 169 kB / 24.14 MB, free: 360 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.9307/0.9307, allocations: 158.6 MB / 186 MB, free: 2.758 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.1415/0.1415, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.994e-06/1.994e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.142e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002126/0.002158, allocations: 0.5951 MB / 299.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003388, allocations: 0.6048 MB / 300.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.003418, allocations: 4 kB / 300.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.89e-05/0.003507, allocations: 3.938 kB / 300.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.003511, allocations: 3.938 kB / 300.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.004263, allocations: 195.3 kB / 300.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.004347, allocations: 31.95 kB / 300.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.004389, allocations: 0 / 300.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.004437, allocations: 23.91 kB / 300.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.004483, allocations: 8.266 kB / 300.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.004497, allocations: 0 / 300.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.004895, allocations: 211.5 kB / 300.8 MB, free: 480 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.004975, allocations: 64.08 kB / 300.9 MB, free: 416 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.005019, allocations: 31.91 kB / 300.9 MB, free: 384 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.005295, allocations: 223.2 kB / 301.1 MB, free: 160 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005299, allocations: 4 kB / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005301, allocations: 0 / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005305, allocations: 0 / 301.1 MB, free: 156 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.1368/0.1421, allocations: 384.5 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1421, allocations: 9.25 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1422, allocations: 14.59 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.777e-05/0.1422, allocations: 122.2 kB / 301.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1423, allocations: 13.8 kB / 301.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1423, allocations: 21.38 kB / 301.7 MB, free: 19.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1424, allocations: 68.38 kB / 301.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1424, allocations: 3.375 kB / 301.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1424, allocations: 384 / 301.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1424, allocations: 6.328 kB / 301.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.1424, allocations: 30.94 kB / 301.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.57e-05/0.1425, allocations: 112.8 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.183e-05/0.1426, allocations: 43.61 kB / 301.9 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.1426, allocations: 33.77 kB / 302 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-06/0.1426, allocations: 0.75 kB / 302 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.1427, allocations: 100.4 kB / 302 MB, free: 18.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 1.132e-06/0.1427, allocations: 0 / 302 MB, free: 18.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0003942/0.1431, allocations: 353.4 kB / 302.4 MB, free: 18.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.1432, allocations: 107.6 kB / 302.5 MB, free: 18.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.1432, allocations: 120.6 kB / 302.6 MB, free: 18.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.1433, allocations: 66.52 kB / 302.7 MB, free: 18.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.1433, allocations: 89.91 kB / 302.8 MB, free: 18.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.1434, allocations: 138.1 kB / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1435, allocations: 151.6 kB / 303.1 MB, free: 18.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.1435, allocations: 354.4 kB / 303.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.1436, allocations: 64.22 kB / 303.5 MB, free: 18.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1439, allocations: 429.7 kB / 303.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.1444, allocations: 0.5859 MB / 304.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.1444, allocations: 3.375 kB / 304.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006025/0.145, allocations: 465.2 kB / 304.9 MB, free: 17.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1451, allocations: 11.02 kB / 304.9 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.1451, allocations: 12.19 kB / 304.9 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.1451, allocations: 16.91 kB / 305 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.1455, allocations: 203.6 kB / 305.2 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.1455, allocations: 27.94 kB / 305.2 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1457, allocations: 79.44 kB / 305.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.1457, allocations: 33.75 kB / 305.3 MB, free: 17.21 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.0001606/0.1459, allocations: 230.9 kB / 305.5 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.1459, allocations: 2.844 kB / 305.5 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.1459, allocations: 10.27 kB / 305.5 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1459, allocations: 1.156 kB / 305.5 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1459, allocations: 0 / 305.5 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1459, allocations: 0.75 kB / 305.5 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.146, allocations: 86.34 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.146, allocations: 1.812 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.146, allocations: 0.875 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.146, allocations: 1.312 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.146, allocations: 0.6562 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.146, allocations: 6.875 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.146, allocations: 1.922 kB / 305.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.1463, allocations: 263.2 kB / 305.9 MB, free: 16.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.1463, allocations: 23.22 kB / 305.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.1463, allocations: 0.7031 kB / 305.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.1463, allocations: 4.141 kB / 305.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.1464, allocations: 1.453 kB / 305.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1464, allocations: 1.062 kB / 305.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.945e-06/0.1464, allocations: 8.797 kB / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1464, allocations: 0 / 305.9 MB, free: 16.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.1468, allocations: 100.8 kB / 306 MB, free: 16.83 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.000543/0.1473, allocations: 280 kB / 306.3 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.1476, allocations: 288.8 kB / 306.6 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1476, allocations: 1 kB / 306.6 MB, free: 16.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.1477, allocations: 54.94 kB / 306.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.921e-05/0.1478, allocations: 13.11 kB / 306.7 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.1481, allocations: 374 kB / 307 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.1482, allocations: 83.08 kB / 307.1 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.1482, allocations: 35.05 kB / 307.1 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.1483, allocations: 76.47 kB / 307.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1483, allocations: 0 / 307.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of Templates: time 0.006161/0.1544, allocations: 3.391 MB / 310.6 MB, free: 16.04 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 -s gbode -gbm=radauIIA3 -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.0445125340484083]