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.001091/0.001091, allocations: 101.4 kB / 16.94 MB, free: 6.445 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.001051/0.001051, allocations: 184.8 kB / 17.83 MB, free: 6.012 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.727/1.727, allocations: 205.4 MB / 224 MB, free: 13.18 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.0006796/0.0006797, allocations: 12 kB / 280.7 MB, free: 3.777 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1123, allocations: 47.59 MB / 328.3 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001247/0.1136, allocations: 0.954 MB / 329.3 MB, free: 3.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.1144, allocations: 434 kB / 329.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.1145, allocations: 0 / 329.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.1146, allocations: 3.938 kB / 329.7 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.115, allocations: 51.81 kB / 329.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.1151, allocations: 55.81 kB / 329.8 MB, free: 2.621 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.1152, allocations: 23.97 kB / 329.8 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.1153, allocations: 7.984 kB / 329.8 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.1153, allocations: 15.92 kB / 329.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.1154, allocations: 19.92 kB / 329.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1154, allocations: 4 kB / 329.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1156, allocations: 87.84 kB / 330 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.1156, allocations: 31.92 kB / 330 MB, free: 2.434 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.1157, allocations: 45.58 kB / 330 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1159, allocations: 119.8 kB / 330.2 MB, free: 2.266 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1159, allocations: 0 / 330.2 MB, free: 2.266 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1159, allocations: 0 / 330.2 MB, free: 2.266 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1159, allocations: 0 / 330.2 MB, free: 2.266 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.0005803/0.1165, allocations: 0.5529 MB / 330.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1165, allocations: 12.03 kB / 330.7 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1166, allocations: 19.81 kB / 330.7 MB, free: 1.621 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1168, allocations: 174.9 kB / 330.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1168, allocations: 4 kB / 330.9 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1168, allocations: 4 kB / 330.9 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1171, allocations: 279.2 kB / 331.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1171, allocations: 0 / 331.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1172, allocations: 4 kB / 331.2 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1172, allocations: 3.938 kB / 331.2 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1173, allocations: 155.7 kB / 331.3 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1175, allocations: 194.3 kB / 331.5 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.1179, allocations: 497.1 kB / 332 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.1179, allocations: 0 / 332 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.1183, allocations: 488.8 kB / 332.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.042e-06/0.1184, allocations: 0 / 332.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009779/0.1193, allocations: 0.8738 MB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.1195, allocations: 160.5 kB / 333.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.1196, allocations: 106 kB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1196, allocations: 29.7 kB / 333.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.1196, allocations: 89.14 kB / 333.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.1197, allocations: 86.75 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.1197, allocations: 0 / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1199, allocations: 326.8 kB / 334.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.1199, allocations: 80.34 kB / 334.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.1201, allocations: 110.4 kB / 334.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1202, allocations: 204.3 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1202, allocations: 0 / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003492/0.1206, allocations: 348.8 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/0.1207, allocations: 111.3 kB / 335 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1207, allocations: 3.953 kB / 335 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1208, allocations: 4 kB / 335 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.1208, allocations: 0 / 335 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1208, allocations: 0 / 335 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.1209, allocations: 27.69 kB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1209, allocations: 8 kB / 335 MB, free: 12.99 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 ($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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.1212, allocations: 295.8 kB / 335.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.1212, allocations: 23.81 kB / 335.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.1213, allocations: 13.56 kB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1213, allocations: 3.953 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1213, allocations: 0 / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1213, allocations: 4 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1216, allocations: 229.3 kB / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1216, allocations: 0 / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.1216, allocations: 7.922 kB / 335.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1216, allocations: 0 / 335.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.1217, allocations: 16 kB / 335.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1217, allocations: 0 / 335.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.1217, allocations: 7.953 kB / 335.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.1231, allocations: 1.246 MB / 336.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1232, allocations: 92.86 kB / 337 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.1233, allocations: 67.94 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.75e-05/0.1233, allocations: 15.89 kB / 337 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1234, allocations: 11.98 kB / 337.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.1234, allocations: 19.98 kB / 337.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.345e-05/0.1235, allocations: 83.27 kB / 337.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1235, allocations: 4.031 kB / 337.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.1239, allocations: 88 kB / 337.2 MB, free: 10.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007596/0.1247, allocations: 297.1 kB / 337.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.1267, allocations: 2.119 MB / 339.7 MB, free: 8.223 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1267, allocations: 0 / 339.7 MB, free: 8.223 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.1283, allocations: 2.182 MB / 341.8 MB, free: 6.016 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.1285, allocations: 16.25 kB / 341.8 MB, free: 6 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.1292, allocations: 415.2 kB / 342.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1297, allocations: 0.7286 MB / 343 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.1297, allocations: 0 / 343 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.1297, allocations: 11.44 kB / 343 MB, free: 4.789 MB / 286.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1297, allocations: 0 / 343 MB, free: 4.789 MB / 286.1 MB Notification: Performance of Templates: time 0.006668/0.1364, allocations: 2.753 MB / 345.7 MB, free: 2.031 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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