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.001255/0.001256, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001396/0.001396, allocations: 190 kB / 18.07 MB, free: 5.414 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.512/1.512, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001253/0.001253, allocations: 47.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002405/0.1059, allocations: 1.293 MB / 327.9 MB, free: 3.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.1069, allocations: 472.8 kB / 328.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.1069, allocations: 0 / 328.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.107, allocations: 0 / 328.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1074, allocations: 63.8 kB / 328.4 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.1075, allocations: 59.83 kB / 328.5 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.1076, allocations: 31.91 kB / 328.5 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.1076, allocations: 11.92 kB / 328.5 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.1077, allocations: 15.98 kB / 328.5 MB, free: 2.949 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.1077, allocations: 19.91 kB / 328.5 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1077, allocations: 0 / 328.5 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.1079, allocations: 119.8 kB / 328.7 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.108, allocations: 39.86 kB / 328.7 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.1081, allocations: 43.67 kB / 328.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1083, allocations: 179.4 kB / 328.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1083, allocations: 0 / 328.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1083, allocations: 0 / 328.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1083, allocations: 0 / 328.9 MB, free: 2.555 MB / 270.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.0006309/0.109, allocations: 0.5571 MB / 329.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.109, allocations: 8.031 kB / 329.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1092, allocations: 28.73 kB / 329.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1094, allocations: 176.3 kB / 329.7 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1094, allocations: 4.375 kB / 329.7 MB, free: 1.684 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1094, allocations: 4.375 kB / 329.7 MB, free: 1.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.1098, allocations: 283.6 kB / 330 MB, free: 1.391 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1098, allocations: 4.172 kB / 330 MB, free: 1.387 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1098, allocations: 7.938 kB / 330 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1098, allocations: 0 / 330 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.11, allocations: 147.7 kB / 330.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1102, allocations: 202.3 kB / 330.3 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.1107, allocations: 493.1 kB / 330.8 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.111, allocations: 473.7 kB / 331.3 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.111, allocations: 0 / 331.3 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.1116, allocations: 492.5 kB / 331.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 8.31e-07/0.1116, allocations: 0 / 331.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008937/0.1125, allocations: 0.7114 MB / 332.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.1127, allocations: 160.5 kB / 332.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1128, allocations: 101.8 kB / 332.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1128, allocations: 29.7 kB / 332.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.1128, allocations: 81.2 kB / 332.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.1129, allocations: 90.81 kB / 332.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.113, allocations: 37.7 kB / 332.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1132, allocations: 326.8 kB / 333.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/0.1133, allocations: 84.34 kB / 333.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/0.1134, allocations: 110.4 kB / 333.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.1138, allocations: 421.3 kB / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1138, allocations: 32 / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003922/0.1142, allocations: 348.8 kB / 334.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.1143, allocations: 115.3 kB / 334.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1143, allocations: 4 kB / 334.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1143, allocations: 3.938 kB / 334.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1143, allocations: 3.938 kB / 334.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1143, allocations: 3.984 kB / 334.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.1144, allocations: 31.69 kB / 334.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1144, allocations: 8 kB / 334.4 MB, free: 12.71 MB / 286.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.0002486/0.1147, allocations: 295.8 kB / 334.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1147, allocations: 31.75 kB / 334.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.1148, allocations: 5.562 kB / 334.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1148, allocations: 0 / 334.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1148, allocations: 4 kB / 334.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1148, allocations: 0 / 334.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.115, allocations: 233.3 kB / 334.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.115, allocations: 0 / 334.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.115, allocations: 3.984 kB / 334.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.115, allocations: 3.938 kB / 334.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.115, allocations: 16.33 kB / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.115, allocations: 4 kB / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.115, allocations: 0 / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.1162, allocations: 1.236 MB / 336.2 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1163, allocations: 96.84 kB / 336.3 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.1164, allocations: 71.88 kB / 336.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.1165, allocations: 8 kB / 336.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1165, allocations: 11.98 kB / 336.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.1166, allocations: 19.98 kB / 336.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.1166, allocations: 83.27 kB / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1166, allocations: 32 / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.117, allocations: 96 kB / 336.6 MB, free: 10.38 MB / 286.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.0006118/0.1176, allocations: 302.7 kB / 336.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.1195, allocations: 2.127 MB / 339 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1195, allocations: 0 / 339 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.1211, allocations: 2.186 MB / 341.2 MB, free: 5.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1213, allocations: 16.25 kB / 341.2 MB, free: 5.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.122, allocations: 417.9 kB / 341.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1223, allocations: 0.7247 MB / 342.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.303e-05/0.1223, allocations: 0 / 342.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.1224, allocations: 7.438 kB / 342.3 MB, free: 4.512 MB / 286.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1224, allocations: 0 / 342.3 MB, free: 4.512 MB / 286.1 MB Notification: Performance of Templates: time 0.005806/0.1282, allocations: 2.816 MB / 345.2 MB, free: 1.691 MB / 286.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","../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches