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.001162/0.001162, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.00131/0.00131, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 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 0.8815/0.8815, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.1633/0.1633, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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=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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.206e-05, allocations: 14.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0007948/0.0008069, allocations: 0.557 MB / 348.2 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.001444, allocations: 0.6047 MB / 348.8 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.001467, allocations: 0 / 348.8 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.965e-05/0.001557, allocations: 3.938 kB / 348.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.001561, allocations: 7.938 kB / 348.9 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.002146, allocations: 203.3 kB / 349.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.002204, allocations: 27.95 kB / 349.1 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.00224, allocations: 4 kB / 349.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/0.002271, allocations: 23.95 kB / 349.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.002304, allocations: 8.219 kB / 349.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.002316, allocations: 4 kB / 349.1 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.002528, allocations: 203.5 kB / 349.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.002586, allocations: 60.14 kB / 349.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.002619, allocations: 31.84 kB / 349.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.002794, allocations: 219.3 kB / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002796, allocations: 0 / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002796, allocations: 0 / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.002799, allocations: 0 / 349.6 MB, free: 7.488 MB / 282.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.0003079/0.003107, allocations: 0.5051 MB / 350.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.003138, allocations: 16.02 kB / 350.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.003177, allocations: 20.8 kB / 350.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.69e-05/0.003224, allocations: 124.4 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.003238, allocations: 16.38 kB / 350.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.003253, allocations: 20.38 kB / 350.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.003338, allocations: 74.25 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.003344, allocations: 4.125 kB / 350.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.003352, allocations: 4.125 kB / 350.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.003358, allocations: 0 / 350.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.003381, allocations: 33 kB / 350.4 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.109e-05/0.003473, allocations: 161.4 kB / 350.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.003526, allocations: 63.5 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.003551, allocations: 44.72 kB / 350.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-06/0.003555, allocations: 0 / 350.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.845e-05/0.003633, allocations: 117 kB / 350.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 1.102e-06/0.003634, allocations: 4 kB / 350.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0004103/0.004044, allocations: 494.4 kB / 351.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.004088, allocations: 107.8 kB / 351.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.004122, allocations: 170.1 kB / 351.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.004152, allocations: 73.67 kB / 351.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.004171, allocations: 136.2 kB / 351.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.00424, allocations: 147 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/0.004338, allocations: 176.3 kB / 352.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.004402, allocations: 0.5235 MB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.004496, allocations: 85.94 kB / 352.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.004747, allocations: 0.6083 MB / 353.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.005146, allocations: 0.7523 MB / 354.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.00515, allocations: 4 kB / 354.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0004616/0.005611, allocations: 0.6063 MB / 354.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.005621, allocations: 8 kB / 354.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.005628, allocations: 12.88 kB / 354.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.005641, allocations: 20 kB / 354.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.005935, allocations: 195.6 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.005947, allocations: 27.92 kB / 354.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.006049, allocations: 67.56 kB / 355 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.006069, allocations: 36 kB / 355 MB, free: 1.422 MB / 282.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 9.588e-05/0.006165, allocations: 272.2 kB / 355.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.006174, allocations: 15.86 kB / 355.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.474e-05/0.006189, allocations: 9.812 kB / 355.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.006189, allocations: 3.938 kB / 355.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.006192, allocations: 3.938 kB / 355.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.006194, allocations: 4 kB / 355.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.537e-05/0.00625, allocations: 132.9 kB / 355.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006251, allocations: 0 / 355.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.006253, allocations: 0 / 355.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006254, allocations: 8 kB / 355.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.006258, allocations: 0 / 355.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006258, allocations: 0 / 355.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006259, allocations: 0 / 355.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.006522, allocations: 411.2 kB / 355.9 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.006529, allocations: 23.73 kB / 355.9 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.006536, allocations: 3.984 kB / 355.9 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.006544, allocations: 4 kB / 355.9 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.006559, allocations: 3.938 kB / 355.9 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.006562, allocations: 0 / 355.9 MB, free: 488 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.253e-05/0.006575, allocations: 119.2 kB / 356 MB, free: 368 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006575, allocations: 4.031 kB / 356 MB, free: 364 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.006832, allocations: 95.86 kB / 356.1 MB, free: 268 kB / 282.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.0003242/0.007157, allocations: 269.7 kB / 356.4 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.00748, allocations: 339.8 kB / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.007481, allocations: 0.5 kB / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.007527, allocations: 73.17 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.443e-05/0.007611, allocations: 8 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.007933, allocations: 387.3 kB / 357.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.007977, allocations: 85.36 kB / 357.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.311e-05/0.00802, allocations: 31.66 kB / 357.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.008044, allocations: 24.5 kB / 357.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.008045, allocations: 0 / 357.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.004429/0.01247, allocations: 3.376 MB / 360.7 MB, free: 11.7 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.217690022662282]