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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001107/0.001107, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9307/0.9307, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1636/0.1636, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.7 MB " [Timeout remaining time 180] 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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.705e-05, allocations: 4.281 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001388/0.001415, allocations: 0.5344 MB / 380.5 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.004277, allocations: 0.6033 MB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.004306, allocations: 4 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.623e-05/0.004392, allocations: 11.88 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.004396, allocations: 0 / 381.2 MB, free: 21.6 MB / 314.7 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.0005927/0.004989, allocations: 207.3 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.00504, allocations: 23.97 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.005075, allocations: 7.984 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.005105, allocations: 15.92 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.005141, allocations: 12.25 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.005152, allocations: 4 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.005409, allocations: 203.5 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.005471, allocations: 64.08 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.005502, allocations: 35.91 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.005706, allocations: 219.3 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005708, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005708, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005712, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 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.0003112/0.006023, allocations: 0.5167 MB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.006051, allocations: 8.031 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.006086, allocations: 24.8 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.053e-05/0.006127, allocations: 124.4 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.006141, allocations: 12.38 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.006157, allocations: 20.38 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.279e-05/0.00622, allocations: 66.25 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.006226, allocations: 192 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-06/0.006231, allocations: 384 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.006235, allocations: 384 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.006256, allocations: 29.44 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.633e-05/0.006342, allocations: 154 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.0094, allocations: 55.5 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.009452, allocations: 40.7 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.009457, allocations: 4 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.009585, allocations: 109 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 2.034e-06/0.009587, allocations: 0 / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=54): time 0.0005429/0.01013, allocations: 466.5 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.01018, allocations: 103.8 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.01023, allocations: 186 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.01028, allocations: 65.67 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.01031, allocations: 136.2 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.01042, allocations: 151 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.01056, allocations: 180.2 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.01064, allocations: 0.5312 MB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.01074, allocations: 65.94 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.01105, allocations: 0.5887 MB / 385.5 MB, free: 16.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.01155, allocations: 0.7249 MB / 386.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.01155, allocations: 4 kB / 386.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006472/0.0122, allocations: 0.5594 MB / 386.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01222, allocations: 12.94 kB / 386.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.01223, allocations: 12 kB / 386.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01225, allocations: 16 kB / 386.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.01273, allocations: 195.7 kB / 387.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.01274, allocations: 27.86 kB / 387.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.01295, allocations: 63.62 kB / 387.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.01298, allocations: 35.94 kB / 387.2 MB, free: 14.93 MB / 314.7 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.0001426/0.01312, allocations: 276.2 kB / 387.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.01314, allocations: 11.91 kB / 387.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.01316, allocations: 5.812 kB / 387.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01316, allocations: 0 / 387.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.01316, allocations: 4 kB / 387.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01316, allocations: 0 / 387.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.018e-05/0.01324, allocations: 133.4 kB / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01325, allocations: 0 / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.01325, allocations: 0 / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01325, allocations: 4 kB / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.01326, allocations: 0 / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01326, allocations: 0 / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01326, allocations: 0 / 387.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.01364, allocations: 391.2 kB / 388 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.01365, allocations: 23.78 kB / 388 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.01366, allocations: 0 / 388 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.01367, allocations: 0 / 388 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.01369, allocations: 4 kB / 388 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.01369, allocations: 3.938 kB / 388 MB, free: 14.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.173e-05/0.01371, allocations: 119.2 kB / 388.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01371, allocations: 4.031 kB / 388.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.01422, allocations: 95.86 kB / 388.2 MB, free: 13.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004771/0.01469, allocations: 288.7 kB / 388.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.01502, allocations: 308.2 kB / 388.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01502, allocations: 0 / 388.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.01507, allocations: 73.12 kB / 388.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.01522, allocations: 7.938 kB / 388.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.01554, allocations: 370.2 kB / 389.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.01558, allocations: 89.17 kB / 389.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.01565, allocations: 35.77 kB / 389.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.0157, allocations: 94.2 kB / 389.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0157, allocations: 4 kB / 389.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of Templates: time 0.005541/0.02124, allocations: 3.509 MB / 393 MB, free: 9.105 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.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: 3.4711481761187315]