Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_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.001426/0.001426, allocations: 181.2 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007487/0.0007487, allocations: 85.42 kB / 271.9 MB, free: 8.25 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.298/0.298, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005007, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.296/0.4044, allocations: 85.38 MB / 0.5633 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001479/0.4046, allocations: 63.97 kB / 0.5634 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.4151, allocations: 4.85 MB / 0.5681 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4152, allocations: 4 kB / 0.5681 GB, free: 11.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4152, allocations: 4.75 kB / 0.5681 GB, free: 11.98 MB / 394.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.0004232/0.4156, allocations: 479.9 kB / 0.5686 GB, free: 11.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4157, allocations: 12.03 kB / 0.5686 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.4157, allocations: 18.69 kB / 0.5686 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.4158, allocations: 176.3 kB / 0.5688 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4158, allocations: 12.38 kB / 0.5688 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.4159, allocations: 24.36 kB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.416, allocations: 136.8 kB / 0.5689 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.416, allocations: 3.375 kB / 0.5689 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4161, allocations: 3.938 kB / 0.5689 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4161, allocations: 7.922 kB / 0.5689 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.4162, allocations: 92.41 kB / 0.569 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.4163, allocations: 226.2 kB / 0.5692 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.4165, allocations: 163 kB / 0.5694 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4166, allocations: 149.7 kB / 0.5695 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.4166, allocations: 4 kB / 0.5695 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.4167, allocations: 165.9 kB / 0.5697 GB, free: 10.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 1.142e-06/0.4168, allocations: 0 / 0.5697 GB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.000938/0.4177, allocations: 0.7733 MB / 0.5705 GB, free: 9.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.4178, allocations: 103.8 kB / 0.5706 GB, free: 9.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.528e-05/0.4178, allocations: 117.7 kB / 0.5707 GB, free: 9.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.4179, allocations: 69.67 kB / 0.5707 GB, free: 9.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.4179, allocations: 97.48 kB / 0.5708 GB, free: 9.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.418, allocations: 130.5 kB / 0.571 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.4181, allocations: 20 kB / 0.571 GB, free: 8.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4182, allocations: 342.8 kB / 0.5713 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.4184, allocations: 185.8 kB / 0.5715 GB, free: 8.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.4188, allocations: 0.5292 MB / 0.572 GB, free: 7.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.4196, allocations: 0.7749 MB / 0.5727 GB, free: 6.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4196, allocations: 7.938 kB / 0.5728 GB, free: 6.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008974/0.4205, allocations: 0.7276 MB / 0.5735 GB, free: 5.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4205, allocations: 12 kB / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4206, allocations: 15.94 kB / 0.5735 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4206, allocations: 16 kB / 0.5735 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.4209, allocations: 115.8 kB / 0.5736 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.4209, allocations: 31.61 kB / 0.5737 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.4211, allocations: 67.72 kB / 0.5737 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.4212, allocations: 48 kB / 0.5738 GB, free: 5.652 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.4214, allocations: 241.4 kB / 0.574 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.4214, allocations: 11.81 kB / 0.574 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.4214, allocations: 17.48 kB / 0.574 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4214, allocations: 0 / 0.574 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4215, allocations: 4.75 kB / 0.574 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4215, allocations: 0 / 0.574 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.4216, allocations: 185.8 kB / 0.5742 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4216, allocations: 0 / 0.5742 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-06/0.4216, allocations: 0 / 0.5742 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4216, allocations: 0 / 0.5742 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4216, allocations: 7.938 kB / 0.5742 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4216, allocations: 0 / 0.5742 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4216, allocations: 4.75 kB / 0.5742 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.4224, allocations: 0.607 MB / 0.5748 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.4224, allocations: 100.7 kB / 0.5749 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.4225, allocations: 7.938 kB / 0.5749 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.4225, allocations: 4 kB / 0.5749 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.4225, allocations: 3.984 kB / 0.5749 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4225, allocations: 0 / 0.5749 GB, free: 4.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.116e-05/0.4225, allocations: 79.75 kB / 0.575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4225, allocations: 3.938 kB / 0.575 GB, free: 4.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004946/0.423, allocations: 111.9 kB / 0.5751 GB, free: 4.188 MB / 394.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 (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.000514/0.4236, allocations: 264.1 kB / 0.5754 GB, free: 3.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.4241, allocations: 469.6 kB / 0.5758 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4241, allocations: 4.062 kB / 0.5758 GB, free: 3.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4242, allocations: 160.4 kB / 0.576 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.4244, allocations: 4 kB / 0.576 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.4249, allocations: 490.8 kB / 0.5764 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4251, allocations: 0.7375 MB / 0.5772 GB, free: 2.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.4252, allocations: 19.44 kB / 0.5772 GB, free: 2.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4252, allocations: 4 kB / 0.5772 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Templates: time 0.005389/0.4306, allocations: 3.964 MB / 0.581 GB, free: 14.07 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches