Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.001706/0.001706, allocations: 82.72 kB / 21.99 MB, free: 4.754 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.001813/0.001813, allocations: 153.4 kB / 25.25 MB, free: 2.742 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.358/1.358, allocations: 158.6 MB / 187 MB, free: 6.355 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 59.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2581, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002403/0.2605, allocations: 1.227 MB / 349.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2615, allocations: 442.5 kB / 350.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.2615, allocations: 0 / 350.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.2616, allocations: 3.938 kB / 350.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.262, allocations: 79.72 kB / 350.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.2622, allocations: 71.73 kB / 350.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.2623, allocations: 39.91 kB / 350.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.2623, allocations: 4 kB / 350.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.2624, allocations: 23.97 kB / 350.4 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.2624, allocations: 27.84 kB / 350.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2624, allocations: 4 kB / 350.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.2627, allocations: 143.7 kB / 350.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.2628, allocations: 43.83 kB / 350.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.2629, allocations: 35.75 kB / 350.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.2631, allocations: 177.6 kB / 350.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2631, allocations: 0 / 350.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2631, allocations: 4 kB / 350.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2632, allocations: 0 / 350.8 MB, free: 13.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006203/0.2638, allocations: 496.7 kB / 351.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2638, allocations: 11.98 kB / 351.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.2639, allocations: 24.84 kB / 351.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2641, allocations: 118.4 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2641, allocations: 4.375 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2641, allocations: 4.375 kB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.2646, allocations: 399.1 kB / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2646, allocations: 192 / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2646, allocations: 3.938 kB / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2646, allocations: 0 / 351.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.2649, allocations: 267.3 kB / 352.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.265, allocations: 130 kB / 352.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.2653, allocations: 296.5 kB / 352.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.2656, allocations: 270.7 kB / 352.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.2656, allocations: 3.984 kB / 352.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/0.2662, allocations: 0.5744 MB / 353.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.102e-06/0.2662, allocations: 0 / 353.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001142/0.2674, allocations: 0.981 MB / 354.3 MB, free: 9.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.2675, allocations: 156.5 kB / 354.5 MB, free: 9.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.2676, allocations: 109.9 kB / 354.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2676, allocations: 29.7 kB / 354.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.2677, allocations: 81.14 kB / 354.7 MB, free: 8.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.2677, allocations: 95.22 kB / 354.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.2678, allocations: 49.62 kB / 354.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.268, allocations: 322.8 kB / 355.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2682, allocations: 199.7 kB / 355.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.2684, allocations: 233.5 kB / 355.6 MB, free: 8.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.2688, allocations: 472.2 kB / 356.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2688, allocations: 0 / 356.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005384/0.2694, allocations: 492.2 kB / 356.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.2695, allocations: 107.4 kB / 356.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2695, allocations: 4 kB / 356.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2695, allocations: 7.922 kB / 356.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-06/0.2695, allocations: 3.938 kB / 356.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2695, allocations: 0 / 356.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.2696, allocations: 23.84 kB / 356.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.2696, allocations: 8 kB / 356.7 MB, free: 6.887 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0002887/0.2699, allocations: 271.8 kB / 357 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.2699, allocations: 35.84 kB / 357 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.27, allocations: 13.59 kB / 357 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.27, allocations: 0 / 357 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.27, allocations: 0 / 357 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.27, allocations: 3.938 kB / 357 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2701, allocations: 149.2 kB / 357.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2701, allocations: 4 kB / 357.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.2701, allocations: 0 / 357.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2701, allocations: 4 kB / 357.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.2702, allocations: 15.98 kB / 357.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2702, allocations: 7.938 kB / 357.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2702, allocations: 4 kB / 357.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.2713, allocations: 0.9116 MB / 358.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.2713, allocations: 19.84 kB / 358.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2714, allocations: 67.94 kB / 358.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.2715, allocations: 11.94 kB / 358.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2715, allocations: 12.03 kB / 358.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.2716, allocations: 15.98 kB / 358.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.2716, allocations: 83.28 kB / 358.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2716, allocations: 0 / 358.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.272, allocations: 91.86 kB / 358.4 MB, free: 5.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0006944/0.2727, allocations: 311.9 kB / 358.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2737, allocations: 0.8641 MB / 359.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2737, allocations: 3.938 kB / 359.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.2743, allocations: 0.5372 MB / 360.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.2745, allocations: 20 kB / 360.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.2753, allocations: 0.5148 MB / 360.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.2754, allocations: 106.1 kB / 360.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.2755, allocations: 3.984 kB / 360.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.2755, allocations: 8.625 kB / 360.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2755, allocations: 4 kB / 360.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of Templates: time 0.006779/0.2823, allocations: 3.132 MB / 363.9 MB, free: 15.41 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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: 4.317875009030104]