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.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.001464/0.001464, allocations: 83.34 kB / 20.52 MB, free: 1.266 MB / 14.72 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.001603/0.001603, allocations: 168.3 kB / 23.77 MB, free: 4.465 MB / 14.72 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 1.526/1.526, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] 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.2051/0.2051, allocations: 32.37 MB / 270.1 MB, free: 2.715 MB / 254.1 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.TestRandomIntegers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6001,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=6001,variableFilter="time|y|cnt.1.|cnt.2.|cnt.3.|avg|lowBound|highBound|samples",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 67.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1298, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.001848/0.1317, allocations: 0.5455 MB / 469.3 MB, free: 7.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1327, allocations: 437.3 kB / 469.8 MB, free: 7.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.1327, allocations: 0 / 469.8 MB, free: 7.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.749e-05/0.1328, allocations: 3.938 kB / 469.8 MB, free: 7.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1329, allocations: 3.984 kB / 469.8 MB, free: 7.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.1334, allocations: 175.5 kB / 470 MB, free: 7.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1336, allocations: 79.86 kB / 470 MB, free: 7.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1336, allocations: 7.984 kB / 470 MB, free: 7.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.1337, allocations: 39.91 kB / 470.1 MB, free: 7.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.137, allocations: 467.9 kB / 470.5 MB, free: 6.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.137, allocations: 0 / 470.5 MB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.1371, allocations: 23.98 kB / 470.6 MB, free: 6.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.1372, allocations: 23.91 kB / 470.6 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.1373, allocations: 27.89 kB / 470.6 MB, free: 6.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1374, allocations: 63.84 kB / 470.7 MB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1375, allocations: 3.938 kB / 470.7 MB, free: 6.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1375, allocations: 0 / 470.7 MB, free: 6.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1375, allocations: 0 / 470.7 MB, free: 6.449 MB / 446.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.0005994/0.1381, allocations: 315.9 kB / 471 MB, free: 6.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1381, allocations: 8.031 kB / 471 MB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.1381, allocations: 8.875 kB / 471 MB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1383, allocations: 130.5 kB / 471.1 MB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1384, allocations: 8.359 kB / 471.1 MB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1384, allocations: 4.375 kB / 471.1 MB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1386, allocations: 86.2 kB / 471.2 MB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1386, allocations: 192 / 471.2 MB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1386, allocations: 3.938 kB / 471.2 MB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1386, allocations: 0 / 471.2 MB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.1387, allocations: 23.97 kB / 471.3 MB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1389, allocations: 117.3 kB / 471.4 MB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.139, allocations: 42.5 kB / 471.4 MB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.139, allocations: 16.92 kB / 471.4 MB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1391, allocations: 8 kB / 471.4 MB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.1394, allocations: 135.4 kB / 471.6 MB, free: 5.438 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1394, allocations: 0 / 471.6 MB, free: 5.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003038/0.1397, allocations: 125.6 kB / 471.7 MB, free: 5.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1397, allocations: 63.33 kB / 471.8 MB, free: 5.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.1398, allocations: 93.86 kB / 471.8 MB, free: 5.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1398, allocations: 37.7 kB / 471.9 MB, free: 5.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.1399, allocations: 84.09 kB / 472 MB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.1399, allocations: 27.78 kB / 472 MB, free: 4.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.14, allocations: 33.7 kB / 472 MB, free: 4.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1402, allocations: 314.8 kB / 472.3 MB, free: 4.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.1402, allocations: 57.67 kB / 472.4 MB, free: 4.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1404, allocations: 96.56 kB / 472.5 MB, free: 4.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1406, allocations: 152.4 kB / 472.6 MB, free: 4.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1406, allocations: 288 / 472.6 MB, free: 4.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002714/0.1409, allocations: 188.8 kB / 472.8 MB, free: 4.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.1409, allocations: 33.7 kB / 472.8 MB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1409, allocations: 8.094 kB / 472.9 MB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.141, allocations: 8 kB / 472.9 MB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1411, allocations: 15.98 kB / 472.9 MB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1411, allocations: 7.938 kB / 472.9 MB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.1411, allocations: 8 kB / 472.9 MB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1411, allocations: 4 kB / 472.9 MB, free: 3.961 MB / 446.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.00017/0.1413, allocations: 126.1 kB / 473 MB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1413, allocations: 7.953 kB / 473 MB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.1414, allocations: 8.062 kB / 473 MB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1414, allocations: 7.984 kB / 473 MB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1414, allocations: 4 kB / 473 MB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1414, allocations: 0 / 473 MB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1415, allocations: 125.2 kB / 473.2 MB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1415, allocations: 0 / 473.2 MB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.1416, allocations: 7.938 kB / 473.2 MB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1416, allocations: 0 / 473.2 MB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1416, allocations: 0 / 473.2 MB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1416, allocations: 7.938 kB / 473.2 MB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1416, allocations: 0 / 473.2 MB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1418, allocations: 133 kB / 473.3 MB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.1418, allocations: 4 kB / 473.3 MB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1419, allocations: 7.984 kB / 473.3 MB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1421, allocations: 23.97 kB / 473.3 MB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.1421, allocations: 7.938 kB / 473.4 MB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1421, allocations: 11.98 kB / 473.4 MB, free: 3.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.1422, allocations: 79.28 kB / 473.4 MB, free: 3.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1422, allocations: 0 / 473.4 MB, free: 3.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1424, allocations: 23.94 kB / 473.5 MB, free: 3.332 MB / 446.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.0003198/0.1427, allocations: 127.4 kB / 473.6 MB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.143, allocations: 152.9 kB / 473.7 MB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.143, allocations: 0 / 473.7 MB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.1431, allocations: 27.98 kB / 473.8 MB, free: 3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.1432, allocations: 11.98 kB / 473.8 MB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.1436, allocations: 140.7 kB / 473.9 MB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.01e-05/0.1437, allocations: 75.72 kB / 474 MB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.1438, allocations: 20.66 kB / 474 MB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1438, allocations: 12.5 kB / 474 MB, free: 2.695 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1438, allocations: 3.938 kB / 474 MB, free: 2.691 MB / 446.1 MB Notification: Performance of Templates: time 0.00485/0.1487, allocations: 1.547 MB / 475.6 MB, free: 1.141 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.159883369924501] Failed to read output from testmodel.py, exit status != 0: ['time', 'y', 'cnt[1]', 'cnt[2]', 'cnt[3]', 'avg', 'lowBound', 'highBound', 'samples'] 0.34010397002566606 0.35212939699999996 0.21215556199999996 Calling exit ...