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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 108.4 kB / 17.09 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 191.3 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2063/0.2063, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 71.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001627/0.1169, allocations: 0.534 MB / 0.4891 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1181, allocations: 0.5874 MB / 0.4897 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.1181, allocations: 0 / 0.4897 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.441e-05/0.1182, allocations: 11.92 kB / 0.4897 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.058e-06/0.1182, allocations: 3.938 kB / 0.4897 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.1189, allocations: 203.5 kB / 0.4899 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.957e-05/0.119, allocations: 23.98 kB / 0.4899 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.119, allocations: 0 / 0.4899 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.1191, allocations: 19.91 kB / 0.4899 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.1191, allocations: 16.2 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1191, allocations: 4 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.1194, allocations: 163.7 kB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.1195, allocations: 56.17 kB / 0.4901 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.1196, allocations: 51.61 kB / 0.4902 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1199, allocations: 207.2 kB / 0.4904 GB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1199, allocations: 4 kB / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1199, allocations: 0 / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1199, allocations: 3.938 kB / 0.4904 GB, free: 9.93 MB / 382.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.000519/0.1204, allocations: 499.9 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1205, allocations: 15.83 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1205, allocations: 16.84 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1206, allocations: 176.2 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1206, allocations: 16.38 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1207, allocations: 16.38 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1208, allocations: 140.4 kB / 0.4912 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1209, allocations: 0 / 0.4912 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1209, allocations: 0 / 0.4912 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1209, allocations: 0 / 0.4912 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.121, allocations: 100.3 kB / 0.4913 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1212, allocations: 226.2 kB / 0.4915 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1213, allocations: 171 kB / 0.4917 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1214, allocations: 149.7 kB / 0.4918 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.1215, allocations: 8 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1217, allocations: 161.9 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=54): time 4.168e-06/0.1217, allocations: 3.984 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.001074/0.1227, allocations: 0.7734 MB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.1228, allocations: 107.8 kB / 0.4929 GB, free: 7.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.1229, allocations: 113.8 kB / 0.493 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.123, allocations: 77.7 kB / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.123, allocations: 93.45 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1232, allocations: 139 kB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1233, allocations: 158.7 kB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1235, allocations: 338.8 kB / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.1238, allocations: 189.8 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.1243, allocations: 0.5447 MB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.1253, allocations: 0.7788 MB / 0.4952 GB, free: 4.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.1253, allocations: 4 kB / 0.4952 GB, free: 4.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001088/0.1264, allocations: 0.7393 MB / 0.4959 GB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.1264, allocations: 15.94 kB / 0.496 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.1265, allocations: 12 kB / 0.496 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.1265, allocations: 16 kB / 0.496 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.1269, allocations: 115.7 kB / 0.4961 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.1269, allocations: 32.5 kB / 0.4961 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1271, allocations: 75.45 kB / 0.4962 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.1271, allocations: 40 kB / 0.4962 GB, free: 3.379 MB / 382.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.0002211/0.1274, allocations: 249.3 kB / 0.4965 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1274, allocations: 15.84 kB / 0.4965 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1274, allocations: 9.875 kB / 0.4965 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1274, allocations: 0 / 0.4965 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1275, allocations: 0 / 0.4965 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1275, allocations: 100.9 kB / 0.4966 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1275, allocations: 3.984 kB / 0.4966 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.1275, allocations: 0 / 0.4966 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.1276, allocations: 0 / 0.4966 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008507/0.1284, allocations: 0.6248 MB / 0.4972 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009084/0.1293, allocations: 0.7332 MB / 0.4979 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001576/0.1295, allocations: 148.3 kB / 0.4981 GB, free: 1.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.1296, allocations: 75.28 kB / 0.4981 GB, free: 1.371 MB / 382.1 MB Notification: Performance of Backend: time 6.51e-07/0.1296, allocations: 0 / 0.4981 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.1309, allocations: 0.5627 MB / 0.4987 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006863/0.1316, allocations: 0.8203 MB / 0.4995 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.006828/0.1384, allocations: 3.09 MB / 0.5025 GB, free: 12.87 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches