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.001809/0.001809, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.001631/0.001631, allocations: 163.9 kB / 25.02 MB, free: 8.941 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.431/1.431, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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 1.533e-06/1.533e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.854e-05, allocations: 6.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002498/0.002527, allocations: 1.238 MB / 251.6 MB, free: 6.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003571, allocations: 447.6 kB / 252 MB, free: 6.141 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.003596, allocations: 3.938 kB / 252 MB, free: 6.137 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.003638, allocations: 3.938 kB / 252 MB, free: 6.133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.004121, allocations: 75.72 kB / 252.1 MB, free: 6.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.004293, allocations: 75.61 kB / 252.2 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.004395, allocations: 43.84 kB / 252.2 MB, free: 5.941 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.004429, allocations: 4 kB / 252.2 MB, free: 5.938 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.004484, allocations: 23.97 kB / 252.3 MB, free: 5.914 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.004528, allocations: 11.97 kB / 252.3 MB, free: 5.902 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.004541, allocations: 7.938 kB / 252.3 MB, free: 5.895 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.00487, allocations: 151.7 kB / 252.4 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.004929, allocations: 31.92 kB / 252.5 MB, free: 5.715 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.004985, allocations: 27.94 kB / 252.5 MB, free: 5.688 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.00529, allocations: 203.3 kB / 252.7 MB, free: 5.488 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005293, allocations: 0 / 252.7 MB, free: 5.488 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005294, allocations: 0 / 252.7 MB, free: 5.488 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005298, allocations: 0 / 252.7 MB, free: 5.488 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.000661/0.005959, allocations: 480.7 kB / 253.2 MB, free: 4.973 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.006003, allocations: 15.98 kB / 253.2 MB, free: 4.957 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.006159, allocations: 28.83 kB / 253.2 MB, free: 4.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.006315, allocations: 125.6 kB / 253.3 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.006338, allocations: 4.375 kB / 253.3 MB, free: 4.777 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.006355, allocations: 4.375 kB / 253.3 MB, free: 4.773 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.006848, allocations: 391.2 kB / 253.7 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.006856, allocations: 192 / 253.7 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.006879, allocations: 12.36 kB / 253.7 MB, free: 4.352 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006884, allocations: 384 / 253.7 MB, free: 4.352 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.007185, allocations: 267.2 kB / 254 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.007367, allocations: 126.1 kB / 254.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.007728, allocations: 292.5 kB / 254.4 MB, free: 3.605 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.008019, allocations: 265.1 kB / 254.7 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.008029, allocations: 4 kB / 254.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009538/0.008983, allocations: 0.5782 MB / 255.2 MB, free: 2.688 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 8.91e-07/0.008983, allocations: 4 kB / 255.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.001288/0.01027, allocations: 0.9809 MB / 256.2 MB, free: 1.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.0104, allocations: 156.5 kB / 256.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.01052, allocations: 109.8 kB / 256.5 MB, free: 1.359 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01054, allocations: 29.64 kB / 256.5 MB, free: 1.324 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.0106, allocations: 85.14 kB / 256.6 MB, free: 1.234 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.01069, allocations: 91.22 kB / 256.7 MB, free: 1.145 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.01076, allocations: 41.7 kB / 256.7 MB, free: 1.098 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.01095, allocations: 326.8 kB / 257 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.01116, allocations: 199.7 kB / 257.2 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.01141, allocations: 241.5 kB / 257.5 MB, free: 316 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.01193, allocations: 468.3 kB / 257.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01193, allocations: 0 / 257.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000583/0.01251, allocations: 496.1 kB / 258.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.01264, allocations: 107.3 kB / 258.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01265, allocations: 0 / 258.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01266, allocations: 0 / 258.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-06/0.01267, allocations: 4 kB / 258.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.01268, allocations: 7.922 kB / 258.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.01274, allocations: 19.84 kB / 258.6 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01276, allocations: 8.094 kB / 258.6 MB, free: 15.15 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.0002959/0.01306, allocations: 279.7 kB / 258.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.01314, allocations: 43.91 kB / 258.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.01315, allocations: 13.64 kB / 258.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01316, allocations: 4 kB / 258.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.01316, allocations: 4 kB / 258.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01317, allocations: 3.938 kB / 258.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.01335, allocations: 153.1 kB / 259.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01335, allocations: 3.938 kB / 259.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.01335, allocations: 0 / 259.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01335, allocations: 3.938 kB / 259.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.01339, allocations: 19.98 kB / 259.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01339, allocations: 0 / 259.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01339, allocations: 0 / 259.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.01464, allocations: 0.9276 MB / 260 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.01467, allocations: 27.78 kB / 260 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.01479, allocations: 63.94 kB / 260.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.01485, allocations: 12 kB / 260.1 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01489, allocations: 11.98 kB / 260.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.01493, allocations: 23.92 kB / 260.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.01499, allocations: 83.28 kB / 260.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 0 / 260.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00036/0.01535, allocations: 91.86 kB / 260.3 MB, free: 13.3 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.0007471/0.01609, allocations: 315.6 kB / 260.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.01716, allocations: 0.8603 MB / 261.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01716, allocations: 0 / 261.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.01802, allocations: 0.5331 MB / 262 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01823, allocations: 35.94 kB / 262.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.01907, allocations: 0.4967 MB / 262.5 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.0192, allocations: 118 kB / 262.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.153e-05/0.01922, allocations: 7.938 kB / 262.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.01923, allocations: 8.5 kB / 262.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01923, allocations: 0 / 262.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of Templates: time 0.007207/0.02644, allocations: 3.176 MB / 265.9 MB, free: 7.641 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.398211505031213]