Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 116.1 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2216/0.2216, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 83.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3474, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001847/0.3493, allocations: 0.5408 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3506, allocations: 0.6192 MB / 0.5623 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.3507, allocations: 0 / 0.5623 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3508, allocations: 3.938 kB / 0.5623 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.3508, allocations: 3.938 kB / 0.5623 GB, free: 3.875 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0008147/0.3516, allocations: 191.5 kB / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.3517, allocations: 27.97 kB / 0.5626 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.3517, allocations: 4 kB / 0.5626 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.3518, allocations: 23.91 kB / 0.5626 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.3519, allocations: 12.2 kB / 0.5626 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3519, allocations: 4 kB / 0.5626 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.3522, allocations: 183.7 kB / 0.5628 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3523, allocations: 56.17 kB / 0.5628 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.3524, allocations: 51.61 kB / 0.5629 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.3527, allocations: 209.9 kB / 0.5631 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3527, allocations: 3.938 kB / 0.5631 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.305e-05/0.3528, allocations: 3.984 kB / 0.5631 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3528, allocations: 0 / 0.5631 GB, free: 3.117 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.000689/0.3534, allocations: 0.4921 MB / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3535, allocations: 8.031 kB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.3535, allocations: 16.84 kB / 0.5636 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3537, allocations: 180.1 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3537, allocations: 16.38 kB / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3538, allocations: 24.38 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.354, allocations: 124.8 kB / 0.5639 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.354, allocations: 8.109 kB / 0.5639 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.354, allocations: 7.938 kB / 0.5639 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.354, allocations: 0 / 0.5639 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.769e-05/0.3541, allocations: 100.3 kB / 0.564 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.3543, allocations: 226.2 kB / 0.5642 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3544, allocations: 111 kB / 0.5644 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3546, allocations: 105.7 kB / 0.5645 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.3546, allocations: 0 / 0.5645 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.3549, allocations: 165.9 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=54): time 1.432e-06/0.3549, allocations: 0 / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.001656/0.3565, allocations: 0.7773 MB / 0.5654 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3566, allocations: 103.8 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3567, allocations: 121.8 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.3568, allocations: 69.67 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.3569, allocations: 93.44 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3571, allocations: 139 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.3574, allocations: 162.7 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.3576, allocations: 346.8 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.358, allocations: 181.8 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007884/0.3588, allocations: 0.5409 MB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3601, allocations: 0.771 MB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3601, allocations: 4 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001525/0.3616, allocations: 0.7475 MB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.3616, allocations: 12 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.3616, allocations: 12 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.242e-05/0.3617, allocations: 19.94 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.3622, allocations: 119.7 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.926e-05/0.3622, allocations: 27.86 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.3626, allocations: 67.52 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.3626, allocations: 44 kB / 0.5688 GB, free: 12.67 MB / 414.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.0003442/0.363, allocations: 241.7 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.363, allocations: 7.906 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.363, allocations: 17.75 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.363, allocations: 3.938 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.363, allocations: 4 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.3631, allocations: 92.95 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3631, allocations: 0 / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.3632, allocations: 4 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3632, allocations: 7.984 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001253/0.3644, allocations: 0.617 MB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00129/0.3657, allocations: 0.737 MB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00013/0.3659, allocations: 92.41 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.3659, allocations: 83.22 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Backend: time 8.32e-07/0.3659, allocations: 0 / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3677, allocations: 0.5406 MB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 0.000962/0.3686, allocations: 0.8219 MB / 0.572 GB, free: 9.324 MB / 414.1 MB Notification: Performance of Templates: time 0.007118/0.3758, allocations: 3.207 MB / 0.5752 GB, free: 6.113 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestRandomNumbers.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.9466443201527]