Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.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.001621/0.001621, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001869/0.001869, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.241/0.241, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 71.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3336, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002356/0.3359, allocations: 0.5305 MB / 0.5623 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3376, allocations: 0.5886 MB / 0.5629 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.3376, allocations: 0 / 0.5629 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.793e-05/0.3377, allocations: 7.922 kB / 0.5629 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.025e-06/0.3377, allocations: 0 / 0.5629 GB, free: 3.043 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.001026/0.3388, allocations: 214.8 kB / 0.5631 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.3388, allocations: 19.98 kB / 0.5632 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.3389, allocations: 15.92 kB / 0.5632 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.3389, allocations: 12 kB / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.339, allocations: 16.19 kB / 0.5632 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.339, allocations: 4 kB / 0.5632 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.3395, allocations: 215.6 kB / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3397, allocations: 64.09 kB / 0.5635 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.3397, allocations: 39.75 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.3402, allocations: 205.6 kB / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3402, allocations: 0 / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3402, allocations: 0 / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3402, allocations: 0 / 0.5637 GB, free: 2.258 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.0007107/0.3409, allocations: 430.7 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.341, allocations: 8.031 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.341, allocations: 20.84 kB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3412, allocations: 122.3 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.3412, allocations: 16.38 kB / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.3412, allocations: 24.31 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3415, allocations: 136.4 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3415, allocations: 0 / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3415, allocations: 0 / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3415, allocations: 0 / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3416, allocations: 100.3 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.3418, allocations: 153.9 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3419, allocations: 111 kB / 0.5648 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.342, allocations: 101.7 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.342, allocations: 0 / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.3423, allocations: 165.9 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=54): time 1.312e-06/0.3423, allocations: 0 / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.0008333/0.3431, allocations: 0.6023 MB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.3432, allocations: 103.8 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.3433, allocations: 121.8 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.171e-05/0.3434, allocations: 73.67 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.3434, allocations: 93.45 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.3436, allocations: 139 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.3438, allocations: 162.7 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.344, allocations: 342.8 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3443, allocations: 185.9 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.345, allocations: 0.5331 MB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.346, allocations: 0.7788 MB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.3461, allocations: 12 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001324/0.3474, allocations: 0.7396 MB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.3474, allocations: 12 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.3475, allocations: 15.94 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.3475, allocations: 16 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.3479, allocations: 119.7 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-05/0.348, allocations: 23.92 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3483, allocations: 71.45 kB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.3483, allocations: 44.38 kB / 0.5691 GB, free: 12.23 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.000323/0.3486, allocations: 245.4 kB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3487, allocations: 7.906 kB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.3487, allocations: 13.75 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3487, allocations: 3.984 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3487, allocations: 7.984 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3487, allocations: 19.78 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3488, allocations: 0 / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.3488, allocations: 0 / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3488, allocations: 7.938 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006103/0.3494, allocations: 455.8 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006298/0.35, allocations: 0.5573 MB / 0.5704 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001082/0.3502, allocations: 96.39 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.3502, allocations: 79.28 kB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.3502, allocations: 4 kB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3517, allocations: 0.5433 MB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007953/0.3525, allocations: 0.8122 MB / 0.5719 GB, free: 9.355 MB / 414.1 MB Notification: Performance of Templates: time 0.007829/0.3603, allocations: 3.334 MB / 0.5751 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.299596713994106]