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.001172/0.001172, allocations: 103.9 kB / 17.08 MB, free: 6.016 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.001337/0.001337, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.487/1.487, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.204/0.204, allocations: 43.53 MB / 314.8 MB, free: 460 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.001869/0.001869, allocations: 68.36 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001788/0.1119, allocations: 0.5379 MB / 0.4891 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1131, allocations: 0.5913 MB / 0.4897 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.1132, allocations: 3.938 kB / 0.4897 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.98e-05/0.1133, allocations: 7.922 kB / 0.4897 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.1133, allocations: 3.938 kB / 0.4897 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.114, allocations: 203.5 kB / 0.4899 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.1141, allocations: 23.98 kB / 0.4899 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1141, allocations: 7.969 kB / 0.4899 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.1142, allocations: 15.94 kB / 0.4899 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.1142, allocations: 12.2 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1142, allocations: 4 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1145, allocations: 159.8 kB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.1146, allocations: 56.17 kB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.1147, allocations: 55.61 kB / 0.4902 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.115, allocations: 211.4 kB / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.115, allocations: 4 kB / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.115, allocations: 0 / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.115, allocations: 0 / 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.0005041/0.1155, allocations: 492.4 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1155, allocations: 11.89 kB / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1156, allocations: 20.69 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.1157, allocations: 176.2 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1157, allocations: 16.38 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1158, allocations: 20.38 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1159, allocations: 140.3 kB / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.116, allocations: 0 / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.116, allocations: 0 / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.116, allocations: 0 / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.1161, allocations: 96.41 kB / 0.4913 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.1163, allocations: 226.2 kB / 0.4915 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1164, allocations: 167 kB / 0.4917 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1165, allocations: 153.7 kB / 0.4918 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.1165, allocations: 3.984 kB / 0.4918 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1167, allocations: 169.9 kB / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=54): time 1.643e-06/0.1167, allocations: 0 / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.00104/0.1178, allocations: 0.7694 MB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1179, allocations: 107.8 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.1179, allocations: 113.7 kB / 0.493 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.118, allocations: 81.7 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.118, allocations: 85.45 kB / 0.4931 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1181, allocations: 138.5 kB / 0.4933 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1183, allocations: 158.7 kB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1184, allocations: 350.7 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1187, allocations: 185.8 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.1192, allocations: 0.5409 MB / 0.4944 GB, free: 5.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.12, allocations: 0.7788 MB / 0.4952 GB, free: 4.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.12, allocations: 0 / 0.4952 GB, free: 4.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001018/0.1211, allocations: 0.743 MB / 0.4959 GB, free: 3.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.1211, allocations: 15.94 kB / 0.4959 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.1211, allocations: 12 kB / 0.496 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.1212, allocations: 16 kB / 0.496 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1215, allocations: 111.8 kB / 0.4961 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/0.1215, allocations: 32.45 kB / 0.4961 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1217, allocations: 67.38 kB / 0.4962 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.1218, allocations: 40 kB / 0.4962 GB, free: 3.402 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.0002209/0.122, allocations: 249.3 kB / 0.4965 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.122, allocations: 19.69 kB / 0.4965 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.1221, allocations: 5.875 kB / 0.4965 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1221, allocations: 4 kB / 0.4965 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1221, allocations: 0 / 0.4965 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1221, allocations: 100.8 kB / 0.4966 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1221, allocations: 0 / 0.4966 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.1222, allocations: 0 / 0.4966 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.1222, allocations: 4 kB / 0.4966 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000836/0.123, allocations: 0.6209 MB / 0.4972 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008671/0.1239, allocations: 0.7292 MB / 0.4979 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001378/0.124, allocations: 152.4 kB / 0.498 GB, free: 1.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.841e-05/0.1241, allocations: 75.28 kB / 0.4981 GB, free: 1.395 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.1241, allocations: 0 / 0.4981 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1253, allocations: 0.5634 MB / 0.4987 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006931/0.126, allocations: 0.8168 MB / 0.4995 GB, free: 15.99 MB / 398.1 MB Notification: Performance of Templates: time 0.006904/0.1329, allocations: 3.09 MB / 0.5025 GB, free: 12.89 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