Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.001164/0.001164, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009686/0.0009686, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9739/0.9739, allocations: 158.6 MB / 188.3 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 3.984 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.603e-05, allocations: 6.25 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001784/0.00181, allocations: 1.253 MB / 253.5 MB, free: 5.973 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.002511, allocations: 459.4 kB / 254 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.002548, allocations: 0 / 254 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.002594, allocations: 7.984 kB / 254 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.003076, allocations: 79.64 kB / 254.1 MB, free: 5.438 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.003204, allocations: 67.64 kB / 254.1 MB, free: 5.371 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.003292, allocations: 39.89 kB / 254.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.003331, allocations: 4 kB / 254.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.003375, allocations: 23.97 kB / 254.2 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.003407, allocations: 23.84 kB / 254.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003422, allocations: 8 kB / 254.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.00364, allocations: 147.7 kB / 254.4 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.003683, allocations: 43.84 kB / 254.4 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.00372, allocations: 31.88 kB / 254.4 MB, free: 5.055 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.003962, allocations: 191.3 kB / 254.6 MB, free: 4.867 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003964, allocations: 0 / 254.6 MB, free: 4.867 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003965, allocations: 0 / 254.6 MB, free: 4.867 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003969, allocations: 0 / 254.6 MB, free: 4.867 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004175/0.004386, allocations: 0.5498 MB / 255.2 MB, free: 4.266 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.004422, allocations: 19.97 kB / 255.2 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.004527, allocations: 28.84 kB / 255.2 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.004626, allocations: 128.4 kB / 255.3 MB, free: 4.066 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004639, allocations: 384 / 255.3 MB, free: 4.066 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.004649, allocations: 8.375 kB / 255.4 MB, free: 4.059 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.004843, allocations: 259.8 kB / 255.6 MB, free: 3.777 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.004853, allocations: 192 / 255.6 MB, free: 3.777 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004864, allocations: 4.375 kB / 255.6 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.004876, allocations: 384 / 255.6 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.41e-05/0.004971, allocations: 159.3 kB / 255.8 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.005101, allocations: 132.7 kB / 255.9 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.005248, allocations: 217.5 kB / 256.1 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.005346, allocations: 178.6 kB / 256.3 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-06/0.005351, allocations: 3.984 kB / 256.3 MB, free: 2.996 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.005628, allocations: 454.5 kB / 256.7 MB, free: 2.488 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 7.22e-07/0.005629, allocations: 4 kB / 256.7 MB, free: 2.484 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005354/0.006164, allocations: 0.7273 MB / 257.5 MB, free: 1.711 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.006221, allocations: 156.5 kB / 257.6 MB, free: 1.527 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.006292, allocations: 161.9 kB / 257.8 MB, free: 1.352 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.006302, allocations: 25.7 kB / 257.8 MB, free: 1.32 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.006337, allocations: 135.9 kB / 257.9 MB, free: 1.184 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.006388, allocations: 95.31 kB / 258 MB, free: 1.09 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.00643, allocations: 55.31 kB / 258.1 MB, free: 1.027 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.006554, allocations: 0.5039 MB / 258.6 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.006617, allocations: 123.8 kB / 258.7 MB, free: 388 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.006697, allocations: 167.2 kB / 258.9 MB, free: 200 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.006863, allocations: 317.9 kB / 259.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006865, allocations: 0 / 259.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000252/0.007117, allocations: 400.3 kB / 259.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.00718, allocations: 115.3 kB / 259.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007183, allocations: 0 / 259.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.007191, allocations: 4.094 kB / 259.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.007192, allocations: 0 / 259.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.007197, allocations: 4 kB / 259.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.007231, allocations: 27.72 kB / 259.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.007244, allocations: 8 kB / 259.7 MB, free: 15.26 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001548/0.007398, allocations: 306.4 kB / 260 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.007441, allocations: 43.91 kB / 260.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.007452, allocations: 5.656 kB / 260.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007454, allocations: 0 / 260.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.007456, allocations: 0 / 260.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007458, allocations: 0 / 260.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.007554, allocations: 153 kB / 260.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.007555, allocations: 0 / 260.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.007556, allocations: 0 / 260.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.007557, allocations: 4 kB / 260.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.007573, allocations: 23.97 kB / 260.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007574, allocations: 0 / 260.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007575, allocations: 4 kB / 260.3 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.008077, allocations: 0.7536 MB / 261 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.008093, allocations: 23.8 kB / 261 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.008159, allocations: 59.94 kB / 261.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.008188, allocations: 8 kB / 261.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.008213, allocations: 11.98 kB / 261.1 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.008229, allocations: 19.98 kB / 261.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.00827, allocations: 123.2 kB / 261.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00827, allocations: 7.969 kB / 261.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.008492, allocations: 91.86 kB / 261.3 MB, free: 13.54 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.000421/0.008913, allocations: 318.7 kB / 261.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.009322, allocations: 0.6256 MB / 262.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009323, allocations: 0 / 262.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.009571, allocations: 442.1 kB / 262.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.009722, allocations: 32.23 kB / 262.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.01009, allocations: 400.9 kB / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.01013, allocations: 76.33 kB / 263.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.101e-06/0.01013, allocations: 0 / 263.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.01027, allocations: 150.1 kB / 263.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01027, allocations: 4 kB / 263.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of Templates: time 0.004517/0.01479, allocations: 3.448 MB / 266.8 MB, free: 7.922 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.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: 2.896008803974837]