Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001148/0.001149, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001084/0.001084, allocations: 190 kB / 17.54 MB, free: 6.066 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.511/1.511, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001214/0.001214, allocations: 43.94 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 46.64 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002434/0.106, allocations: 1.294 MB / 327.4 MB, free: 3.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.1068, allocations: 459.1 kB / 327.9 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.1068, allocations: 3.938 kB / 327.9 MB, free: 3.043 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.1069, allocations: 4 kB / 327.9 MB, free: 3.039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1073, allocations: 59.86 kB / 327.9 MB, free: 2.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1074, allocations: 55.83 kB / 328 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.1075, allocations: 39.97 kB / 328 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1075, allocations: 7.984 kB / 328 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.1076, allocations: 19.94 kB / 328.1 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.1076, allocations: 27.84 kB / 328.1 MB, free: 2.832 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1076, allocations: 0 / 328.1 MB, free: 2.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1078, allocations: 119.9 kB / 328.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.1079, allocations: 39.78 kB / 328.2 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.108, allocations: 47.67 kB / 328.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1082, allocations: 171.5 kB / 328.5 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1082, allocations: 0 / 328.5 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1082, allocations: 0 / 328.5 MB, free: 2.461 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1082, allocations: 0 / 328.5 MB, free: 2.461 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.0006226/0.1089, allocations: 0.5726 MB / 329 MB, free: 1.824 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1089, allocations: 12.03 kB / 329 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.109, allocations: 20.75 kB / 329.1 MB, free: 1.793 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1092, allocations: 176.2 kB / 329.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1092, allocations: 384 / 329.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1092, allocations: 4.375 kB / 329.2 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1095, allocations: 283.7 kB / 329.5 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1096, allocations: 4.188 kB / 329.5 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1096, allocations: 7.938 kB / 329.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.1096, allocations: 0 / 329.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.1097, allocations: 147.7 kB / 329.7 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.1099, allocations: 198.3 kB / 329.9 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.1104, allocations: 493.1 kB / 330.3 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.1107, allocations: 485.7 kB / 330.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-06/0.1107, allocations: 3.938 kB / 330.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.1112, allocations: 480.5 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.272e-06/0.1112, allocations: 0 / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007789/0.112, allocations: 0.7153 MB / 332 MB, free: 14.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.1121, allocations: 160.6 kB / 332.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.1122, allocations: 105.8 kB / 332.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1122, allocations: 25.7 kB / 332.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.1122, allocations: 81.14 kB / 332.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.1123, allocations: 82.81 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1124, allocations: 45.69 kB / 332.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1125, allocations: 326.8 kB / 332.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1126, allocations: 80.34 kB / 332.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1128, allocations: 114.4 kB / 333 MB, free: 13.58 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.1131, allocations: 417.3 kB / 333.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1131, allocations: 0 / 333.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003352/0.1135, allocations: 345.1 kB / 333.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.1136, allocations: 111.3 kB / 333.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1136, allocations: 0 / 333.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1136, allocations: 0 / 333.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/0.1136, allocations: 3.984 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1136, allocations: 7.938 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.1137, allocations: 31.77 kB / 333.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1137, allocations: 8 kB / 333.9 MB, free: 12.62 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.0002547/0.114, allocations: 299.7 kB / 334.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.114, allocations: 27.75 kB / 334.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.114, allocations: 5.562 kB / 334.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1141, allocations: 7.938 kB / 334.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1141, allocations: 3.984 kB / 334.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1141, allocations: 0 / 334.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1142, allocations: 233.3 kB / 334.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1143, allocations: 4 kB / 334.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1143, allocations: 0 / 334.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1143, allocations: 3.938 kB / 334.5 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1143, allocations: 19.98 kB / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1143, allocations: 0 / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1143, allocations: 0 / 334.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.1156, allocations: 1.232 MB / 335.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1157, allocations: 96.84 kB / 335.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1158, allocations: 67.89 kB / 335.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.1159, allocations: 12 kB / 335.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1159, allocations: 16.02 kB / 335.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.1159, allocations: 23.98 kB / 336 MB, free: 10.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.617e-05/0.116, allocations: 79.22 kB / 336 MB, free: 10.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.116, allocations: 0 / 336 MB, free: 10.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1163, allocations: 91.98 kB / 336.1 MB, free: 10.29 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.0006082/0.1169, allocations: 290.7 kB / 336.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.1186, allocations: 2.142 MB / 338.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1186, allocations: 0 / 338.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.1201, allocations: 2.186 MB / 340.7 MB, free: 5.629 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1203, allocations: 20 kB / 340.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.121, allocations: 408.5 kB / 341.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1213, allocations: 0.7245 MB / 341.9 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.086e-05/0.1213, allocations: 3.984 kB / 341.9 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.1213, allocations: 11.44 kB / 341.9 MB, free: 4.41 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1213, allocations: 0 / 341.9 MB, free: 4.41 MB / 286.1 MB Notification: Performance of Templates: time 0.005812/0.1271, allocations: 2.996 MB / 344.9 MB, free: 1.41 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)