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.001617/0.001617, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.002106/0.002106, allocations: 187 kB / 18.66 MB, free: 4.395 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.485/1.485, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001233/0.001233, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.116, allocations: 46.61 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002858/0.119, allocations: 1.229 MB / 376.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.12, allocations: 458.4 kB / 376.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.1201, allocations: 3.938 kB / 376.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.1202, allocations: 0 / 376.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.1208, allocations: 75.73 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.121, allocations: 67.75 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1212, allocations: 47.89 kB / 377 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.1212, allocations: 3.938 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.1213, allocations: 27.91 kB / 377 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.1213, allocations: 15.92 kB / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1214, allocations: 4 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.1217, allocations: 123.8 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.1217, allocations: 27.92 kB / 377.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.1218, allocations: 55.61 kB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1221, allocations: 175.5 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1222, allocations: 4 kB / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1222, allocations: 0 / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1222, allocations: 0 / 377.4 MB, free: 2.262 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.0008155/0.123, allocations: 0.5645 MB / 378 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1231, allocations: 8.031 kB / 378 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1232, allocations: 24.73 kB / 378 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1234, allocations: 172.3 kB / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1235, allocations: 384 / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1235, allocations: 12.31 kB / 378.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1238, allocations: 283.8 kB / 378.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1239, allocations: 192 / 378.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1239, allocations: 7.938 kB / 378.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1239, allocations: 0 / 378.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1241, allocations: 143.9 kB / 378.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.1243, allocations: 202.2 kB / 378.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.1247, allocations: 493.2 kB / 379.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1961/0.3208, allocations: 468 kB / 379.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3208, allocations: 1 kB / 379.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007197/0.3216, allocations: 483.2 kB / 380.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.3216, allocations: 1.219 kB / 380.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001007/0.3226, allocations: 0.7154 MB / 381 MB, free: 12.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.3227, allocations: 160.9 kB / 381.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.3228, allocations: 105.5 kB / 381.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3228, allocations: 29.98 kB / 381.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.3229, allocations: 82.77 kB / 381.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.3229, allocations: 86.22 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.323, allocations: 42.44 kB / 381.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.175e-05/0.3231, allocations: 327.6 kB / 381.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3232, allocations: 82.83 kB / 381.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.3234, allocations: 104.9 kB / 382 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.3238, allocations: 418.4 kB / 382.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3238, allocations: 0 / 382.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003569/0.3242, allocations: 353.7 kB / 382.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.3243, allocations: 110.8 kB / 382.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3243, allocations: 2.656 kB / 382.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.3244, allocations: 2.047 kB / 382.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.327e-06/0.3244, allocations: 0.875 kB / 382.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3244, allocations: 4.688 kB / 382.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.3245, allocations: 25.5 kB / 382.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3245, allocations: 9.641 kB / 382.9 MB, free: 11.65 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.0002996/0.3248, allocations: 299.1 kB / 383.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.3249, allocations: 30.69 kB / 383.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.3249, allocations: 7.906 kB / 383.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3249, allocations: 1.812 kB / 383.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3249, allocations: 2.625 kB / 383.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3249, allocations: 1.594 kB / 383.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3251, allocations: 236.7 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3251, allocations: 2.047 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.3251, allocations: 0 / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3252, allocations: 1.406 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.3252, allocations: 23.77 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3252, allocations: 1.891 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3252, allocations: 0 / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.3267, allocations: 1.231 MB / 384.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.3267, allocations: 91.86 kB / 384.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.3269, allocations: 67.25 kB / 384.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.3269, allocations: 12.09 kB / 384.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.327, allocations: 10.7 kB / 384.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.327, allocations: 18.56 kB / 384.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.3271, allocations: 84.45 kB / 385 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 0 / 385 MB, free: 10.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.3275, allocations: 89.36 kB / 385.1 MB, free: 10.66 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.000817/0.3283, allocations: 309.2 kB / 385.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.3304, allocations: 2.137 MB / 387.5 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3304, allocations: 0 / 387.5 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.3319, allocations: 2.182 MB / 389.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.3321, allocations: 22.94 kB / 389.7 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.3327, allocations: 406.3 kB / 390.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.3329, allocations: 0.726 MB / 390.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.342e-05/0.333, allocations: 1.906 kB / 390.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.333, allocations: 7.438 kB / 390.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.333, allocations: 0 / 390.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of Templates: time 0.006948/0.3399, allocations: 3.009 MB / 393.8 MB, free: 6.746 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins/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