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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 77.16 kB / 19.93 MB, free: 1.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 173.5 kB / 23.22 MB, free: 4.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2372/0.2372, allocations: 32.38 MB / 269.6 MB, free: 2.723 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 407.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.406e-05/6.631e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001957/0.002024, allocations: 0.5301 MB / 407.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003365, allocations: 0.5871 MB / 408.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.003391, allocations: 0 / 408.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.889e-05/0.00348, allocations: 7.922 kB / 408.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.068e-05/0.003491, allocations: 3.938 kB / 408.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.004359, allocations: 207.2 kB / 408.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.004436, allocations: 27.95 kB / 408.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.004488, allocations: 4 kB / 408.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.004527, allocations: 11.98 kB / 408.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.004576, allocations: 16.19 kB / 408.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.004596, allocations: 8 kB / 408.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.00496, allocations: 203.5 kB / 409 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.005069, allocations: 60.09 kB / 409 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.641e-05/0.005135, allocations: 31.91 kB / 409.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.005497, allocations: 219.3 kB / 409.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.0055, allocations: 0 / 409.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005501, allocations: 0 / 409.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.005514, allocations: 0 / 409.3 MB, free: 14.9 MB / 350.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.0006706/0.006185, allocations: 426.9 kB / 409.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.006237, allocations: 8.031 kB / 409.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.006294, allocations: 16.84 kB / 409.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.006454, allocations: 125.5 kB / 409.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.006478, allocations: 16.38 kB / 409.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.006518, allocations: 24.31 kB / 409.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.006764, allocations: 129.2 kB / 410 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.006778, allocations: 4.172 kB / 410 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.006792, allocations: 4.125 kB / 410 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.0068, allocations: 0 / 410 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.00692, allocations: 96.47 kB / 410.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.007123, allocations: 154.1 kB / 410.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.007266, allocations: 111 kB / 410.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.007369, allocations: 101.9 kB / 410.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.007374, allocations: 4 kB / 410.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.007607, allocations: 158.4 kB / 410.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.433e-06/0.007609, allocations: 0 / 410.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.0008788/0.008487, allocations: 0.6155 MB / 411.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.008592, allocations: 107.8 kB / 411.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.008674, allocations: 117.8 kB / 411.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/0.008763, allocations: 69.67 kB / 411.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.008827, allocations: 93.45 kB / 411.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.008991, allocations: 139 kB / 411.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.009178, allocations: 158.7 kB / 411.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.009398, allocations: 350.8 kB / 412.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.009703, allocations: 185.9 kB / 412.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.01031, allocations: 0.5294 MB / 413 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.0113, allocations: 0.7788 MB / 413.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.01131, allocations: 4 kB / 413.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001212/0.01252, allocations: 0.7438 MB / 414.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.01254, allocations: 12.06 kB / 414.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.01256, allocations: 12 kB / 414.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.01259, allocations: 24 kB / 414.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.01299, allocations: 115.6 kB / 414.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.01302, allocations: 27.92 kB / 414.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.01324, allocations: 71.5 kB / 414.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.01328, allocations: 36 kB / 414.8 MB, free: 8.883 MB / 350.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.0002935/0.01358, allocations: 245.4 kB / 415 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.01361, allocations: 15.86 kB / 415 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.01364, allocations: 9.812 kB / 415 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01364, allocations: 0 / 415 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.01365, allocations: 7.875 kB / 415.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.01366, allocations: 3.984 kB / 415.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.0138, allocations: 117.7 kB / 415.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0138, allocations: 0 / 415.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-06/0.0138, allocations: 4 kB / 415.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01381, allocations: 0 / 415.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01381, allocations: 0 / 415.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01381, allocations: 3.938 kB / 415.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01381, allocations: 0 / 415.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.01446, allocations: 455.9 kB / 415.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.01449, allocations: 27.73 kB / 415.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.0145, allocations: 0 / 415.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.49e-05/0.01452, allocations: 3.984 kB / 415.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.01455, allocations: 15.95 kB / 415.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-06/0.01456, allocations: 0 / 415.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.01461, allocations: 79.28 kB / 415.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01461, allocations: 0 / 415.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.01515, allocations: 95.86 kB / 415.8 MB, free: 7.758 MB / 350.1 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.0007852/0.01594, allocations: 278.6 kB / 416.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.01667, allocations: 461.5 kB / 416.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01667, allocations: 0 / 416.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.01683, allocations: 100.5 kB / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.017, allocations: 6.656 kB / 416.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.01775, allocations: 448.7 kB / 417.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.01788, allocations: 124.8 kB / 417.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.01796, allocations: 43.59 kB / 417.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.01801, allocations: 32.44 kB / 417.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01801, allocations: 0 / 417.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Templates: time 0.008061/0.02607, allocations: 3.072 MB / 420.4 MB, free: 3.207 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.411992691457272]