Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008154, allocations: 86.58 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1873/0.1873, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.609e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.5022, allocations: 84.59 MB / 0.5485 GB, free: 9.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.5025, allocations: 63.36 kB / 0.5486 GB, free: 9.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009447/0.5119, allocations: 5.007 MB / 0.5535 GB, free: 5.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.512, allocations: 0 / 0.5535 GB, free: 5.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.512, allocations: 4 kB / 0.5535 GB, free: 5.73 MB / 362.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.0003131/0.5123, allocations: 480.9 kB / 0.554 GB, free: 5.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5123, allocations: 12.03 kB / 0.554 GB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.5124, allocations: 15.81 kB / 0.554 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.932e-05/0.5124, allocations: 177.4 kB / 0.5542 GB, free: 5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.5125, allocations: 0 / 0.5542 GB, free: 5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.5125, allocations: 15.98 kB / 0.5542 GB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.8e-05/0.5126, allocations: 96.23 kB / 0.5543 GB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.5127, allocations: 129.7 kB / 0.5544 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.5127, allocations: 3.938 kB / 0.5544 GB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.5127, allocations: 0.75 kB / 0.5544 GB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5127, allocations: 4 kB / 0.5544 GB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.5128, allocations: 164.2 kB / 0.5545 GB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.5129, allocations: 164 kB / 0.5547 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.513, allocations: 154.4 kB / 0.5549 GB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.513, allocations: 4 kB / 0.5549 GB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.5131, allocations: 161 kB / 0.555 GB, free: 4.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 9.51e-07/0.5132, allocations: 0 / 0.555 GB, free: 4.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.0006848/0.5138, allocations: 0.5804 MB / 0.5556 GB, free: 3.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.5139, allocations: 106 kB / 0.5557 GB, free: 3.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.728e-05/0.5139, allocations: 110.7 kB / 0.5558 GB, free: 3.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.514, allocations: 56.92 kB / 0.5558 GB, free: 3.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.514, allocations: 85.48 kB / 0.5559 GB, free: 3.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.5141, allocations: 127.7 kB / 0.556 GB, free: 3.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.5141, allocations: 0 / 0.556 GB, free: 3.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.5141, allocations: 351.2 kB / 0.5564 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5143, allocations: 157.2 kB / 0.5565 GB, free: 2.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.5146, allocations: 0.5025 MB / 0.557 GB, free: 2.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.5148, allocations: 244.6 kB / 0.5572 GB, free: 2.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5148, allocations: 4 kB / 0.5573 GB, free: 2.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006424/0.5155, allocations: 0.6267 MB / 0.5579 GB, free: 1.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5155, allocations: 12 kB / 0.5579 GB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5155, allocations: 15.98 kB / 0.5579 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.5156, allocations: 16 kB / 0.5579 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.5159, allocations: 118.1 kB / 0.558 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.5159, allocations: 19.94 kB / 0.558 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.5161, allocations: 47.88 kB / 0.5581 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.5161, allocations: 50.05 kB / 0.5581 GB, free: 1.305 MB / 362.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 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.5162, allocations: 200.9 kB / 0.5583 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.5162, allocations: 19.77 kB / 0.5583 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.5163, allocations: 5.969 kB / 0.5583 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.5163, allocations: 0 / 0.5583 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5163, allocations: 1.062 kB / 0.5583 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.5163, allocations: 0 / 0.5583 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.247e-05/0.5163, allocations: 146.4 kB / 0.5585 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5164, allocations: 0 / 0.5585 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-06/0.5164, allocations: 0 / 0.5585 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5164, allocations: 4 kB / 0.5585 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5164, allocations: 7.891 kB / 0.5585 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5164, allocations: 12.75 kB / 0.5585 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5164, allocations: 3.984 kB / 0.5585 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.517, allocations: 0.6023 MB / 0.5591 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.517, allocations: 100.8 kB / 0.5592 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.517, allocations: 0 / 0.5592 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.5171, allocations: 3.953 kB / 0.5592 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.5171, allocations: 0 / 0.5592 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5171, allocations: 8 kB / 0.5592 GB, free: 260 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.538e-06/0.5171, allocations: 79.31 kB / 0.5593 GB, free: 180 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5171, allocations: 0 / 0.5593 GB, free: 180 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.5175, allocations: 91.8 kB / 0.5594 GB, free: 92 kB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004537/0.518, allocations: 278.9 kB / 0.5596 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000435/0.5184, allocations: 421.9 kB / 0.56 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5184, allocations: 0.5625 kB / 0.56 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.5185, allocations: 163.9 kB / 0.5602 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.478e-05/0.5186, allocations: 11.92 kB / 0.5602 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.519, allocations: 332.2 kB / 0.5605 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.5193, allocations: 0.7416 MB / 0.5613 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.869e-05/0.5194, allocations: 39.44 kB / 0.5613 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.5194, allocations: 23.44 kB / 0.5613 GB, free: 14.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5194, allocations: 0 / 0.5613 GB, free: 14.28 MB / 378.7 MB Notification: Performance of Templates: time 0.00529/0.5247, allocations: 3.031 MB / 0.5643 GB, free: 11.27 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches