Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 111.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 207.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3174, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001809/0.3192, allocations: 0.5384 MB / 0.5322 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3204, allocations: 0.5952 MB / 0.5328 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.3204, allocations: 1.156 kB / 0.5328 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.126e-05/0.3205, allocations: 11.94 kB / 0.5328 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.488e-06/0.3206, allocations: 0 / 0.5328 GB, free: 12.71 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.3214, allocations: 204 kB / 0.533 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.3215, allocations: 33.3 kB / 0.533 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3215, allocations: 2.75 kB / 0.533 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.3215, allocations: 14.86 kB / 0.533 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.3216, allocations: 13.7 kB / 0.533 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3216, allocations: 1.375 kB / 0.533 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.3219, allocations: 167.5 kB / 0.5332 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.322, allocations: 64.97 kB / 0.5333 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3221, allocations: 60.11 kB / 0.5333 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.3224, allocations: 197.4 kB / 0.5335 GB, free: 12.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3225, allocations: 0 / 0.5335 GB, free: 12.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3225, allocations: 5.25 kB / 0.5335 GB, free: 12.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3225, allocations: 0 / 0.5335 GB, free: 12.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005542/0.323, allocations: 489.2 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3231, allocations: 13.02 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.3232, allocations: 18 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/0.3233, allocations: 182.8 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3233, allocations: 16.06 kB / 0.5342 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.3233, allocations: 22.75 kB / 0.5342 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3235, allocations: 129.9 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3235, allocations: 0 / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3235, allocations: 5.047 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3236, allocations: 0 / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.3237, allocations: 95.75 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.3239, allocations: 225.3 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.3241, allocations: 167.4 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3242, allocations: 152.6 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.3242, allocations: 0 / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.3245, allocations: 169.3 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=54): time 2.856e-06/0.3245, allocations: 3.938 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.001261/0.3257, allocations: 0.7808 MB / 0.5359 GB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.3258, allocations: 100.2 kB / 0.536 GB, free: 10.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.3259, allocations: 126.3 kB / 0.5361 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/0.326, allocations: 69.86 kB / 0.5362 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3261, allocations: 93.08 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3262, allocations: 133.4 kB / 0.5364 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.3264, allocations: 160.8 kB / 0.5365 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3266, allocations: 340.9 kB / 0.5369 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.3269, allocations: 188.7 kB / 0.537 GB, free: 9.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.3275, allocations: 0.5343 MB / 0.5376 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3285, allocations: 0.78 MB / 0.5383 GB, free: 8.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.3285, allocations: 7.625 kB / 0.5383 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001206/0.3298, allocations: 0.7381 MB / 0.5391 GB, free: 8.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.3298, allocations: 17.61 kB / 0.5391 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.3298, allocations: 12.41 kB / 0.5391 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.3299, allocations: 16.97 kB / 0.5391 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.3302, allocations: 114.3 kB / 0.5392 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/0.3303, allocations: 29.28 kB / 0.5392 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.3305, allocations: 67.97 kB / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.3306, allocations: 41.95 kB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],r33,$PRE.r33,r4c,$PRE.r4c,r4b,$PRE.r4b,r4a,$PRE.r4a,r2,$PRE.r2,result,$PRE.result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0002499/0.3308, allocations: 244.4 kB / 0.5396 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.3309, allocations: 14.03 kB / 0.5396 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.3309, allocations: 11.03 kB / 0.5396 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3309, allocations: 0 / 0.5396 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3309, allocations: 5.062 kB / 0.5396 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.331, allocations: 102.3 kB / 0.5397 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.331, allocations: 0 / 0.5397 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.331, allocations: 1.281 kB / 0.5397 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.3311, allocations: 5.125 kB / 0.5397 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009252/0.332, allocations: 0.6245 MB / 0.5403 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009665/0.333, allocations: 0.7339 MB / 0.541 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001353/0.3331, allocations: 147.5 kB / 0.5412 GB, free: 6.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.3331, allocations: 76.44 kB / 0.5413 GB, free: 6.898 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3332, allocations: 0 / 0.5413 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.3344, allocations: 0.5573 MB / 0.5418 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007017/0.3351, allocations: 0.8097 MB / 0.5426 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Templates: time 0.00661/0.3418, allocations: 3.125 MB / 0.5456 GB, free: 2.793 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches