Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") translateModel(ModelicaTest.Math.Random.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2265/0.2265, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.89 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001725/0.1218, allocations: 0.5339 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.1228, allocations: 438.3 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.1229, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.858e-05/0.123, allocations: 7.875 kB / 0.4888 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1231, allocations: 15.92 kB / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.1237, allocations: 175.5 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1239, allocations: 75.92 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.124, allocations: 0 / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.124, allocations: 43.89 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.1263, allocations: 387.6 kB / 0.4895 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.1264, allocations: 4 kB / 0.4895 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.1265, allocations: 8 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.1265, allocations: 23.95 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.1266, allocations: 27.84 kB / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1268, allocations: 71.83 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1268, allocations: 0 / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1268, allocations: 0 / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1268, allocations: 4 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005978/0.1274, allocations: 393.1 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1275, allocations: 8.031 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.1275, allocations: 8.844 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1277, allocations: 184.3 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1278, allocations: 4.375 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1278, allocations: 4.375 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.128, allocations: 94.12 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.128, allocations: 4.188 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1281, allocations: 7.938 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1281, allocations: 0 / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.1282, allocations: 27.97 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.1284, allocations: 165.7 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.096e-05/0.1285, allocations: 38.56 kB / 0.4905 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1285, allocations: 32.89 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1286, allocations: 0 / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.1288, allocations: 131.4 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1288, allocations: 4 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002916/0.1291, allocations: 129.4 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1292, allocations: 59.39 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.1293, allocations: 101.9 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1293, allocations: 29.7 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1294, allocations: 84.12 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1294, allocations: 27.66 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.1294, allocations: 33.7 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1296, allocations: 314.8 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.1296, allocations: 27.92 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.1297, allocations: 78.8 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1299, allocations: 144.5 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.1299, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002078/0.1301, allocations: 159.1 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.1302, allocations: 33.64 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1302, allocations: 8.219 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1302, allocations: 0 / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1303, allocations: 23.92 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1303, allocations: 0 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1304, allocations: 8 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1304, allocations: 8 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: y:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (id,cnt[3],$PRE.cnt[3],cnt[2],$PRE.cnt[2],cnt[1],$PRE.cnt[1],$PRE.y,y,$whenCondition2,$whenCondition1,samples,$PRE.samples) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001337/0.1305, allocations: 137.9 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1306, allocations: 7.844 kB / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.1306, allocations: 11.97 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1306, allocations: 0 / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1307, allocations: 0 / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1307, allocations: 3.984 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1308, allocations: 177.6 kB / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1308, allocations: 0 / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.1309, allocations: 12.05 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1309, allocations: 3.938 kB / 0.4922 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.1309, allocations: 0 / 0.4922 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1309, allocations: 0 / 0.4922 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1309, allocations: 8 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1311, allocations: 137.3 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1312, allocations: 85.03 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1312, allocations: 4 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1314, allocations: 19.97 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1314, allocations: 7.984 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1315, allocations: 4 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.1315, allocations: 83.28 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1315, allocations: 0 / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1318, allocations: 23.98 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,y,cnt[1],cnt[2],cnt[3],samples) * Number of discrete states: 4 (cnt[1],cnt[2],cnt[3],samples) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003203/0.1321, allocations: 119.2 kB / 0.4927 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1323, allocations: 123.6 kB / 0.4928 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1323, allocations: 4.125 kB / 0.4928 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.1324, allocations: 35.92 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.1325, allocations: 11.98 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.1329, allocations: 144.8 kB / 0.493 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1332, allocations: 0.6846 MB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.1332, allocations: 16.66 kB / 0.4937 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1333, allocations: 15.44 kB / 0.4937 GB, free: 5.395 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1333, allocations: 0 / 0.4937 GB, free: 5.395 MB / 382.1 MB Notification: Performance of Templates: time 0.004066/0.1374, allocations: 1.459 MB / 0.4951 GB, free: 3.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1)