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.0009126/0.0009126, allocations: 91.22 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.0009839/0.0009839, allocations: 165 kB / 23.8 MB, free: 0.7734 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.8892/0.8892, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1549/0.1549, allocations: 32.37 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.773e-06/1.773e-06, allocations: 3.938 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.999e-05, allocations: 10.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.004479/0.004509, allocations: 0.5579 MB / 348.2 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.005469, allocations: 0.6086 MB / 348.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.005502, allocations: 3.938 kB / 348.8 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.007e-05/0.005582, allocations: 7.938 kB / 348.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.005586, allocations: 0 / 348.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.006286, allocations: 207.3 kB / 349.1 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.006351, allocations: 31.91 kB / 349.1 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.006388, allocations: 0 / 349.1 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.006423, allocations: 19.97 kB / 349.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.006461, allocations: 12.2 kB / 349.1 MB, free: 8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.006475, allocations: 0 / 349.1 MB, free: 8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.006771, allocations: 203.5 kB / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.006842, allocations: 56.16 kB / 349.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.006887, allocations: 39.84 kB / 349.4 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.007134, allocations: 219.3 kB / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007137, allocations: 0 / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007138, allocations: 0 / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007143, allocations: 3.938 kB / 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.002411/0.009554, allocations: 0.5051 MB / 350.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.009597, allocations: 8.031 kB / 350.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.00965, allocations: 20.8 kB / 350.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.332e-05/0.009703, allocations: 120.4 kB / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.009721, allocations: 16.38 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.009746, allocations: 20.38 kB / 350.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.009856, allocations: 74.25 kB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.009867, allocations: 192 / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.009877, allocations: 8.062 kB / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.009884, allocations: 0 / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.009916, allocations: 36.94 kB / 350.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.01003, allocations: 161.4 kB / 350.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.01009, allocations: 63.56 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.01012, allocations: 44.7 kB / 350.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-06/0.01012, allocations: 0 / 350.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.01023, allocations: 113 kB / 350.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 1.012e-06/0.01024, allocations: 3.938 kB / 350.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.0004991/0.01073, allocations: 498.5 kB / 351.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.01079, allocations: 99.81 kB / 351.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.813e-05/0.01082, allocations: 178.1 kB / 351.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.01086, allocations: 61.69 kB / 351.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.01088, allocations: 140.2 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/0.01097, allocations: 151 kB / 351.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.01109, allocations: 168.3 kB / 352.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.01115, allocations: 0.5274 MB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.01129, allocations: 89.88 kB / 352.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.01157, allocations: 0.6084 MB / 353.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/0.01417, allocations: 0.7562 MB / 354.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.01418, allocations: 0 / 354.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007303/0.01491, allocations: 0.6024 MB / 354.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.01493, allocations: 12.94 kB / 354.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.01495, allocations: 12 kB / 354.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.01499, allocations: 16 kB / 354.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.01746, allocations: 199.6 kB / 354.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.01747, allocations: 23.92 kB / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.01767, allocations: 63.56 kB / 355 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.0177, allocations: 44 kB / 355 MB, free: 1.434 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 0.0001544/0.01785, allocations: 280.1 kB / 355.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.01787, allocations: 11.86 kB / 355.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.0179, allocations: 9.812 kB / 355.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0179, allocations: 0 / 355.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01791, allocations: 7.875 kB / 355.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01791, allocations: 0 / 355.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.018, allocations: 136.9 kB / 355.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.018, allocations: 0 / 355.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/0.018, allocations: 0 / 355.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.018, allocations: 8 kB / 355.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01801, allocations: 4 kB / 355.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01801, allocations: 0 / 355.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01801, allocations: 0 / 355.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.01839, allocations: 403.2 kB / 355.9 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.0184, allocations: 27.73 kB / 355.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.01841, allocations: 0 / 355.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.01843, allocations: 0 / 355.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.01845, allocations: 7.938 kB / 355.9 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.01846, allocations: 4 kB / 355.9 MB, free: 496 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.292e-05/0.01847, allocations: 119.2 kB / 356 MB, free: 376 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01847, allocations: 4.031 kB / 356 MB, free: 372 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004763/0.01895, allocations: 95.86 kB / 356.1 MB, free: 276 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.003528/0.02247, allocations: 269.5 kB / 356.4 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.02296, allocations: 332.3 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02297, allocations: 0 / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.02304, allocations: 85.16 kB / 356.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.02319, allocations: 4 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.0004965/0.02368, allocations: 379.4 kB / 357.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.02374, allocations: 85.31 kB / 357.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.02381, allocations: 35.64 kB / 357.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.02385, allocations: 24.5 kB / 357.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02385, allocations: 0 / 357.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Templates: time 0.01231/0.03616, allocations: 3.1 MB / 360.4 MB, free: 11.99 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.259019371122122]