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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001398, allocations: 109.4 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 185.2 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.0867, allocations: 46.62 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.003114/0.08985, allocations: 1.229 MB / 377 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.09108, allocations: 463.9 kB / 377.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.09115, allocations: 4 kB / 377.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.09124, allocations: 0 / 377.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005874/0.09183, allocations: 75.73 kB / 377.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.09206, allocations: 59.75 kB / 377.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.0922, allocations: 47.89 kB / 377.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.09226, allocations: 4 kB / 377.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.09231, allocations: 23.92 kB / 377.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.09236, allocations: 27.84 kB / 377.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.09238, allocations: 0 / 377.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.09269, allocations: 119.8 kB / 377.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.09276, allocations: 35.91 kB / 377.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.09284, allocations: 51.61 kB / 377.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.09315, allocations: 171.5 kB / 378.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.09317, allocations: 4 kB / 378.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09317, allocations: 0 / 378.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.09319, allocations: 0 / 378.1 MB, free: 2.246 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.0006111/0.09381, allocations: 0.5684 MB / 378.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.09385, allocations: 8.031 kB / 378.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.09401, allocations: 20.83 kB / 378.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.09415, allocations: 180.1 kB / 378.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.09418, allocations: 4.375 kB / 378.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.0942, allocations: 4.375 kB / 378.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.0945, allocations: 275.8 kB / 379.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.09452, allocations: 4.188 kB / 379.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.09454, allocations: 7.938 kB / 379.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.09455, allocations: 0 / 379.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.09469, allocations: 147.9 kB / 379.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.09487, allocations: 202.3 kB / 379.5 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.09521, allocations: 485.2 kB / 380 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1787/0.2739, allocations: 469.5 kB / 380.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.274, allocations: 2.844 kB / 380.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006505/0.2746, allocations: 484.8 kB / 380.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 2.555e-06/0.2746, allocations: 0 / 380.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009756/0.2756, allocations: 0.7143 MB / 381.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.2757, allocations: 162.5 kB / 381.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.2758, allocations: 105.6 kB / 381.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2759, allocations: 27.45 kB / 381.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.2759, allocations: 86.2 kB / 382 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.276, allocations: 83.89 kB / 382.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/0.2761, allocations: 38.88 kB / 382.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.2762, allocations: 330.2 kB / 382.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.2763, allocations: 82.98 kB / 382.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.2764, allocations: 106.4 kB / 382.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.2769, allocations: 416 kB / 383 MB, free: 11.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2769, allocations: 0 / 383 MB, free: 11.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003756/0.2773, allocations: 355.3 kB / 383.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.2774, allocations: 112.5 kB / 383.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2774, allocations: 0 / 383.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2774, allocations: 1.406 kB / 383.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.2774, allocations: 2.203 kB / 383.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2774, allocations: 3.531 kB / 383.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.2775, allocations: 27.66 kB / 383.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2775, allocations: 9.703 kB / 383.5 MB, free: 11.61 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.0002581/0.2778, allocations: 300.3 kB / 383.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.2778, allocations: 25.69 kB / 383.9 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/0.2779, allocations: 11.5 kB / 383.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2779, allocations: 1.031 kB / 383.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2779, allocations: 1.188 kB / 383.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2779, allocations: 0 / 383.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2781, allocations: 234 kB / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2781, allocations: 5.328 kB / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/0.2781, allocations: 1.125 kB / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2781, allocations: 0 / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.2781, allocations: 14.3 kB / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2781, allocations: 2.938 kB / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2781, allocations: 4.969 kB / 384.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2794, allocations: 1.237 MB / 385.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.2795, allocations: 94.5 kB / 385.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2796, allocations: 66.95 kB / 385.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.2797, allocations: 8.688 kB / 385.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.2797, allocations: 18.97 kB / 385.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.2797, allocations: 17.98 kB / 385.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.992e-05/0.2798, allocations: 80.23 kB / 385.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2798, allocations: 0 / 385.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.2801, allocations: 89.33 kB / 385.7 MB, free: 10.61 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.0006102/0.2808, allocations: 315.8 kB / 386 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.2825, allocations: 2.13 MB / 388.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2825, allocations: 0 / 388.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.2842, allocations: 2.185 MB / 390.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2844, allocations: 26.84 kB / 390.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.2851, allocations: 424.6 kB / 390.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.2853, allocations: 0.726 MB / 391.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.2853, allocations: 9.031 kB / 391.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2853, allocations: 4 kB / 391.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Templates: time 0.007297/0.2926, allocations: 2.874 MB / 394.4 MB, free: 6.684 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) 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) Reference file matches