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.001159/0.001159, allocations: 183 kB / 16.63 MB, free: 5.137 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.272/1.272, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009577/0.0009577, allocations: 105.7 kB / 269.9 MB, free: 8.43 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.3294/0.3294, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1149, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001785/0.1167, allocations: 0.6124 MB / 487.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1178, allocations: 0.6001 MB / 488.2 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1179, allocations: 3.938 kB / 488.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.94e-05/0.1179, allocations: 0 / 488.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.118, allocations: 3.938 kB / 488.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.1186, allocations: 179.5 kB / 488.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.1187, allocations: 27.97 kB / 488.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.1188, allocations: 7.984 kB / 488.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.1188, allocations: 7.938 kB / 488.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1188, allocations: 20.48 kB / 488.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1189, allocations: 4 kB / 488.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.1192, allocations: 163.8 kB / 488.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.1193, allocations: 52.45 kB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.1193, allocations: 55.61 kB / 488.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1196, allocations: 203.4 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1197, allocations: 8 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1197, allocations: 0 / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1197, allocations: 0 / 488.9 MB, free: 10.61 MB / 378.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.0005842/0.1203, allocations: 488.7 kB / 489.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1203, allocations: 12.03 kB / 489.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.1204, allocations: 24.69 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1206, allocations: 176.2 kB / 489.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1206, allocations: 12.38 kB / 489.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1206, allocations: 24.31 kB / 489.7 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1208, allocations: 140.4 kB / 489.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1208, allocations: 0 / 489.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1208, allocations: 0 / 489.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1208, allocations: 0 / 489.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.1209, allocations: 92.41 kB / 489.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1211, allocations: 230.2 kB / 490.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1213, allocations: 167 kB / 490.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1214, allocations: 153.7 kB / 490.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-06/0.1214, allocations: 4 kB / 490.4 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1216, allocations: 165.9 kB / 490.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 1.363e-06/0.1216, allocations: 0 / 490.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.0009864/0.1226, allocations: 0.7733 MB / 491.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.1227, allocations: 107.7 kB / 491.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.1228, allocations: 117.7 kB / 491.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.1228, allocations: 73.7 kB / 491.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.1229, allocations: 93.45 kB / 491.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.123, allocations: 134.5 kB / 491.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1232, allocations: 162.7 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1234, allocations: 342.8 kB / 492.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.1236, allocations: 185.9 kB / 492.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.1242, allocations: 0.5369 MB / 493.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008822/0.1251, allocations: 0.7827 MB / 493.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.1251, allocations: 0 / 493.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001006/0.1261, allocations: 0.7431 MB / 494.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1261, allocations: 12 kB / 494.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.1261, allocations: 12 kB / 494.6 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1262, allocations: 16 kB / 494.7 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1265, allocations: 111.7 kB / 494.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.1265, allocations: 28.48 kB / 494.8 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.1267, allocations: 71.34 kB / 494.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.1268, allocations: 36 kB / 494.9 MB, free: 4.086 MB / 378.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.0002371/0.127, allocations: 249.4 kB / 495.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.1271, allocations: 23.69 kB / 495.2 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.1271, allocations: 5.875 kB / 495.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1271, allocations: 0 / 495.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1271, allocations: 0 / 495.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1271, allocations: 4 kB / 495.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1273, allocations: 197.8 kB / 495.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1273, allocations: 0 / 495.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.1273, allocations: 3.938 kB / 495.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1273, allocations: 0 / 495.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1273, allocations: 4 kB / 495.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1273, allocations: 0 / 495.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1273, allocations: 4 kB / 495.4 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1285, allocations: 1.301 MB / 496.7 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1286, allocations: 100.8 kB / 496.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1286, allocations: 0 / 496.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.1286, allocations: 4.031 kB / 496.8 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.1287, allocations: 3.984 kB / 496.8 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1287, allocations: 4 kB / 496.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.1287, allocations: 79.22 kB / 496.9 MB, free: 1.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1287, allocations: 0 / 496.9 MB, free: 1.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.1293, allocations: 99.94 kB / 497 MB, free: 1.879 MB / 378.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.0005333/0.1299, allocations: 263.3 kB / 497.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.1305, allocations: 472.5 kB / 497.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1305, allocations: 0 / 497.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1306, allocations: 160.3 kB / 497.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1308, allocations: 8 kB / 497.9 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.1316, allocations: 0.7338 MB / 498.6 MB, free: 244 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.132, allocations: 0.7415 MB / 499.3 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.278e-05/0.1321, allocations: 43.58 kB / 499.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1321, allocations: 23.44 kB / 499.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1321, allocations: 0 / 499.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of Templates: time 0.007011/0.1391, allocations: 2.93 MB / 0.4905 GB, free: 12.47 MB / 394.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@2/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