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.0009805/0.0009807, allocations: 98.95 kB / 16.95 MB, free: 6.453 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.001213/0.001213, allocations: 182.8 kB / 17.84 MB, free: 6.004 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.631/1.631, allocations: 205.4 MB / 224 MB, free: 13.14 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.0008253/0.0008256, allocations: 16.72 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1169, allocations: 47.57 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001459/0.1184, allocations: 0.9539 MB / 329.3 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1195, allocations: 421.1 kB / 329.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.1196, allocations: 7.938 kB / 329.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.1196, allocations: 0 / 329.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.1201, allocations: 51.88 kB / 329.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1203, allocations: 51.88 kB / 329.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.1204, allocations: 39.84 kB / 329.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.1205, allocations: 4 kB / 329.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.1205, allocations: 19.97 kB / 329.9 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.1206, allocations: 15.92 kB / 329.9 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1206, allocations: 7.984 kB / 329.9 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1208, allocations: 107.8 kB / 330 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.1209, allocations: 27.92 kB / 330 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1209, allocations: 45.64 kB / 330.1 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1211, allocations: 123.7 kB / 330.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1211, allocations: 3.938 kB / 330.2 MB, free: 2.199 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1212, allocations: 0 / 330.2 MB, free: 2.199 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1212, allocations: 0 / 330.2 MB, free: 2.199 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.0005463/0.1217, allocations: 0.5569 MB / 330.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1218, allocations: 12.03 kB / 330.8 MB, free: 1.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1219, allocations: 15.81 kB / 330.8 MB, free: 1.555 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1221, allocations: 178.9 kB / 331 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1221, allocations: 4 kB / 331 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1221, allocations: 4 kB / 331 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.1224, allocations: 283.2 kB / 331.2 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1224, allocations: 7.938 kB / 331.3 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1225, allocations: 0 / 331.3 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1225, allocations: 0 / 331.3 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1226, allocations: 151.7 kB / 331.4 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.1228, allocations: 198.3 kB / 331.6 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.1232, allocations: 493.1 kB / 332.1 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.1236, allocations: 473.8 kB / 332.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1236, allocations: 0 / 332.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.124, allocations: 476.8 kB / 333 MB, free: 15.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.052e-06/0.124, allocations: 0 / 333 MB, free: 15.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008127/0.1249, allocations: 0.7114 MB / 333.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.125, allocations: 164.6 kB / 333.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.125, allocations: 101.8 kB / 334 MB, free: 14.13 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1251, allocations: 25.7 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.1251, allocations: 89.14 kB / 334.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.1252, allocations: 82.81 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.1252, allocations: 3.938 kB / 334.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1253, allocations: 334.8 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.1254, allocations: 80.34 kB / 334.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.1255, allocations: 114.4 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1257, allocations: 204.3 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1257, allocations: 0 / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003545/0.1261, allocations: 340.7 kB / 335.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.1262, allocations: 115.3 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1262, allocations: 0 / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1262, allocations: 0 / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-06/0.1262, allocations: 4 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1262, allocations: 0 / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.1263, allocations: 27.78 kB / 335.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1263, allocations: 12 kB / 335.4 MB, free: 12.66 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.0002632/0.1266, allocations: 299.7 kB / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.1266, allocations: 23.81 kB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.1267, allocations: 9.516 kB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1267, allocations: 4.328 kB / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1267, allocations: 0 / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1267, allocations: 0 / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1269, allocations: 237.3 kB / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1269, allocations: 4 kB / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.1269, allocations: 0 / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1269, allocations: 0 / 335.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.1269, allocations: 19.98 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1269, allocations: 7.953 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1269, allocations: 3.938 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1282, allocations: 1.224 MB / 337.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1282, allocations: 104.8 kB / 337.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.1284, allocations: 63.95 kB / 337.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.1284, allocations: 8 kB / 337.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.1285, allocations: 19.97 kB / 337.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1285, allocations: 19.98 kB / 337.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.1285, allocations: 79.28 kB / 337.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1285, allocations: 0 / 337.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.1289, allocations: 91.98 kB / 337.6 MB, free: 10.34 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.0005153/0.1294, allocations: 305.6 kB / 337.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.1311, allocations: 2.127 MB / 340 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1312, allocations: 4.125 kB / 340 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.1328, allocations: 2.182 MB / 342.2 MB, free: 5.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1331, allocations: 16 kB / 342.2 MB, free: 5.664 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.1337, allocations: 403.5 kB / 342.6 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1341, allocations: 0.7247 MB / 343.3 MB, free: 4.48 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.047e-05/0.1341, allocations: 3.938 kB / 343.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.1341, allocations: 11.44 kB / 343.3 MB, free: 4.465 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1341, allocations: 0 / 343.3 MB, free: 4.465 MB / 286.1 MB Notification: Performance of Templates: time 0.006005/0.1401, allocations: 2.761 MB / 346.1 MB, free: 1.699 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