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.0007688/0.0007689, allocations: 93.94 kB / 17.3 MB, free: 6.391 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.0009493/0.0009493, allocations: 173.7 kB / 18.2 MB, free: 5.551 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.592/1.592, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004847/0.0004849, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00134/0.1151, allocations: 0.9578 MB / 329.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1163, allocations: 452.9 kB / 330.4 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1163, allocations: 4 kB / 330.4 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.1163, allocations: 3.938 kB / 330.4 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.1168, allocations: 55.88 kB / 330.4 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.117, allocations: 63.81 kB / 330.5 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.117, allocations: 35.91 kB / 330.5 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1171, allocations: 4 kB / 330.5 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.1171, allocations: 23.91 kB / 330.5 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.1172, allocations: 19.92 kB / 330.6 MB, free: 2.137 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1172, allocations: 0 / 330.6 MB, free: 2.137 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1174, allocations: 115.8 kB / 330.7 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1175, allocations: 35.86 kB / 330.7 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.1175, allocations: 73.38 kB / 330.8 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1178, allocations: 175.5 kB / 331 MB, free: 1.738 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1178, allocations: 0 / 331 MB, free: 1.738 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1178, allocations: 0 / 331 MB, free: 1.738 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1178, allocations: 0 / 331 MB, free: 1.738 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.0005886/0.1184, allocations: 0.5531 MB / 331.5 MB, free: 1.121 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1185, allocations: 12.03 kB / 331.5 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1186, allocations: 16.75 kB / 331.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.1188, allocations: 184.2 kB / 331.7 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1188, allocations: 384 / 331.7 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1188, allocations: 8.312 kB / 331.7 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1192, allocations: 283.8 kB / 332 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1192, allocations: 192 / 332 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1192, allocations: 3.938 kB / 332 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1192, allocations: 4 kB / 332 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1194, allocations: 147.7 kB / 332.2 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1196, allocations: 198.2 kB / 332.3 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.12, allocations: 497.2 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.1204, allocations: 473.7 kB / 333.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1204, allocations: 3.938 kB / 333.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.1209, allocations: 492.6 kB / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.203e-06/0.1209, allocations: 0 / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008235/0.1217, allocations: 0.7114 MB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.1218, allocations: 156.5 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.1219, allocations: 105.8 kB / 334.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1219, allocations: 25.7 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.122, allocations: 81.14 kB / 334.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.122, allocations: 86.81 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1221, allocations: 33.69 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1222, allocations: 334.9 kB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.1223, allocations: 84.28 kB / 335.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.1224, allocations: 106.4 kB / 335.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.1229, allocations: 417.3 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1229, allocations: 4 kB / 335.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00037/0.1232, allocations: 348.7 kB / 336.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.1233, allocations: 111.3 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1234, allocations: 96 / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1234, allocations: 4 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1234, allocations: 0 / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1234, allocations: 0 / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.1234, allocations: 31.69 kB / 336.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1235, allocations: 11.98 kB / 336.4 MB, free: 11.91 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.0002698/0.1237, allocations: 295.7 kB / 336.7 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1238, allocations: 31.75 kB / 336.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.1238, allocations: 5.562 kB / 336.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1238, allocations: 0 / 336.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1238, allocations: 3.938 kB / 336.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1238, allocations: 7.984 kB / 336.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.124, allocations: 229.3 kB / 337 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.124, allocations: 4 kB / 337 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.124, allocations: 0 / 337 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.124, allocations: 8.266 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.1241, allocations: 11.98 kB / 337 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1241, allocations: 4 kB / 337 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1241, allocations: 0 / 337 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1253, allocations: 1.24 MB / 338.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.1254, allocations: 100.9 kB / 338.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.1255, allocations: 67.89 kB / 338.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.1256, allocations: 8 kB / 338.4 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1256, allocations: 11.98 kB / 338.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1256, allocations: 19.98 kB / 338.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.1257, allocations: 79.28 kB / 338.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1257, allocations: 0 / 338.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.126, allocations: 95.98 kB / 338.6 MB, free: 9.586 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.0005106/0.1265, allocations: 305.2 kB / 338.9 MB, free: 9.293 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.1281, allocations: 2.135 MB / 341 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1281, allocations: 0 / 341 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.1296, allocations: 2.186 MB / 343.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1298, allocations: 20 kB / 343.2 MB, free: 4.902 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.1305, allocations: 419.6 kB / 343.6 MB, free: 4.461 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1308, allocations: 0.7247 MB / 344.4 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.1308, allocations: 0 / 344.4 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.1308, allocations: 7.438 kB / 344.4 MB, free: 3.695 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1308, allocations: 0 / 344.4 MB, free: 3.695 MB / 286.1 MB Notification: Performance of Templates: time 0.006116/0.137, allocations: 2.805 MB / 347.2 MB, free: 0.8867 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