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.002628/0.002628, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002957/0.002957, allocations: 173.6 kB / 23.53 MB, free: 0.8945 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 1.499/1.499, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 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.2316/0.2316, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.416e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomIntegers): time 0.00146/0.001484, allocations: 0.5444 MB / 347.5 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008069/0.002291, allocations: 447.2 kB / 347.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.002324, allocations: 3.938 kB / 347.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.827e-05/0.002422, allocations: 7.938 kB / 347.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.002542, allocations: 7.984 kB / 347.9 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.003059, allocations: 171.4 kB / 348.1 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003194, allocations: 83.84 kB / 348.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.003229, allocations: 0 / 348.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.003302, allocations: 55.88 kB / 348.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003959/0.007261, allocations: 0.647 MB / 348.9 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.007309, allocations: 7.984 kB / 348.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.116e-05/0.007381, allocations: 16 kB / 348.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.007435, allocations: 19.97 kB / 348.9 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.00748, allocations: 19.91 kB / 349 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.007685, allocations: 83.75 kB / 349 MB, free: 7.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.007688, allocations: 4 kB / 349 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007689, allocations: 0 / 349 MB, free: 7.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.007694, allocations: 3.984 kB / 349 MB, free: 7.824 MB / 282.7 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.0004363/0.008131, allocations: 421.8 kB / 349.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.008165, allocations: 8.031 kB / 349.5 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.008228, allocations: 4.938 kB / 349.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.008377, allocations: 128.5 kB / 349.6 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.00839, allocations: 384 / 349.6 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.00841, allocations: 8.375 kB / 349.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.008568, allocations: 74.2 kB / 349.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.008577, allocations: 4.188 kB / 349.7 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.008595, allocations: 4.375 kB / 349.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.0086, allocations: 4.375 kB / 349.7 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.008661, allocations: 23.91 kB / 349.7 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.008801, allocations: 124.5 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.743e-05/0.008879, allocations: 50.98 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.008916, allocations: 23.73 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.008936, allocations: 4 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.009104, allocations: 124.9 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.009105, allocations: 0 / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002559/0.009361, allocations: 113.6 kB / 350.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.009391, allocations: 59.34 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.009446, allocations: 161.9 kB / 350.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.009464, allocations: 37.69 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.009485, allocations: 127 kB / 350.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.00951, allocations: 23.84 kB / 350.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.00955, allocations: 39.36 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.009644, allocations: 0.4884 MB / 351.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.009688, allocations: 49.64 kB / 351.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.417e-05/0.009742, allocations: 127.2 kB / 351.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.009851, allocations: 151.1 kB / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009853, allocations: 0 / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001599/0.01001, allocations: 181 kB / 351.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01004, allocations: 41.69 kB / 351.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01004, allocations: 0 / 351.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01006, allocations: 7.984 kB / 351.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01016, allocations: 23.94 kB / 351.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01017, allocations: 7.922 kB / 351.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.01021, allocations: 7.938 kB / 351.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01022, allocations: 12.22 kB / 351.7 MB, free: 4.883 MB / 282.7 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 9.588e-05/0.01032, allocations: 172.5 kB / 351.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.01035, allocations: 7.984 kB / 351.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.01037, allocations: 8.125 kB / 351.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01037, allocations: 7.938 kB / 351.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01038, allocations: 3.938 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01038, allocations: 0 / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.359e-05/0.01045, allocations: 120.6 kB / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01046, allocations: 0 / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.01049, allocations: 8 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01049, allocations: 0 / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.0105, allocations: 3.984 kB / 352 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0105, allocations: 4 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0105, allocations: 0 / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.01066, allocations: 144.6 kB / 352.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.01067, allocations: 15.94 kB / 352.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01069, allocations: 8 kB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.01084, allocations: 7.984 kB / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.01087, allocations: 7.984 kB / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.01089, allocations: 19.88 kB / 352.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.01091, allocations: 119.2 kB / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.01112, allocations: 31.92 kB / 352.3 MB, free: 4.141 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: 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.0002516/0.01137, allocations: 121.2 kB / 352.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.01154, allocations: 152.6 kB / 352.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01154, allocations: 448 / 352.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.01159, allocations: 35.67 kB / 352.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.01174, allocations: 15.98 kB / 352.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.01203, allocations: 154.1 kB / 352.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.01207, allocations: 71.28 kB / 352.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.01211, allocations: 12.72 kB / 352.9 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.01213, allocations: 12.5 kB / 352.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01213, allocations: 0 / 352.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of Templates: time 0.003904/0.01603, allocations: 1.553 MB / 354.5 MB, free: 1.938 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomIntegers.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.04830101900734]