Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 199.3 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.96/2.96, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 95.22 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 4 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.5811, allocations: 51.28 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.8019, allocations: 77.05 MB / 485.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.8024, allocations: 59.97 kB / 485.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.8143, allocations: 2.983 MB / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.8143, allocations: 0 / 488.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.8143, allocations: 0 / 488.7 MB, free: 11.54 MB / 362.7 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.001007/0.8154, allocations: 0.5567 MB / 489.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.8154, allocations: 8.719 kB / 489.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.8157, allocations: 24.83 kB / 489.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.816, allocations: 176.2 kB / 489.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.816, allocations: 4.375 kB / 489.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.816, allocations: 8.375 kB / 489.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.8166, allocations: 271.8 kB / 489.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.8166, allocations: 192 / 489.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.8167, allocations: 11.88 kB / 489.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8167, allocations: 0 / 489.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.8169, allocations: 143.9 kB / 489.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.8174, allocations: 214.3 kB / 490.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.818, allocations: 493.1 kB / 490.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/0.8186, allocations: 478.4 kB / 491.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.8186, allocations: 0 / 491.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.8194, allocations: 476.8 kB / 491.6 MB, free: 8.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 6.052e-06/0.8194, allocations: 0 / 491.6 MB, free: 8.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001385/0.8208, allocations: 0.7386 MB / 492.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.8209, allocations: 156.4 kB / 492.4 MB, free: 7.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.8211, allocations: 105.8 kB / 492.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.8211, allocations: 25.7 kB / 492.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.8212, allocations: 89.2 kB / 492.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.8214, allocations: 86.75 kB / 492.7 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.8214, allocations: 4 kB / 492.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.8216, allocations: 326.8 kB / 493.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.8218, allocations: 80.34 kB / 493.2 MB, free: 6.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.8219, allocations: 114.2 kB / 493.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.8225, allocations: 409.4 kB / 493.7 MB, free: 6.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.8225, allocations: 4.031 kB / 493.7 MB, free: 6.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005563/0.8231, allocations: 348.7 kB / 494 MB, free: 5.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.8233, allocations: 111.3 kB / 494.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8233, allocations: 4 kB / 494.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.8233, allocations: 0 / 494.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.8233, allocations: 0 / 494.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.8233, allocations: 3.938 kB / 494.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.8235, allocations: 23.75 kB / 494.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.8235, allocations: 8 kB / 494.2 MB, free: 5.742 MB / 362.7 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.0004925/0.824, allocations: 291.8 kB / 494.4 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.8241, allocations: 35.73 kB / 494.5 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.8241, allocations: 9.5 kB / 494.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8242, allocations: 0 / 494.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8242, allocations: 7.938 kB / 494.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.8242, allocations: 0 / 494.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.8246, allocations: 245.4 kB / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8246, allocations: 0 / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.8246, allocations: 0 / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.8246, allocations: 7.938 kB / 494.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.8247, allocations: 19.98 kB / 494.8 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8247, allocations: 0 / 494.8 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.8247, allocations: 3.984 kB / 494.8 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/0.831, allocations: 1.232 MB / 496 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.8312, allocations: 96.86 kB / 496.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.8314, allocations: 75.84 kB / 496.2 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.8316, allocations: 8 kB / 496.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.8316, allocations: 15.92 kB / 496.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.8317, allocations: 27.98 kB / 496.2 MB, free: 3.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.8319, allocations: 79.28 kB / 496.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8319, allocations: 32 / 496.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007214/0.8326, allocations: 119.9 kB / 496.4 MB, free: 3.363 MB / 362.7 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.00112/0.8337, allocations: 309.8 kB / 496.7 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.8364, allocations: 2.123 MB / 498.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8365, allocations: 0 / 498.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.839, allocations: 2.182 MB / 0.4893 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.8393, allocations: 22.66 kB / 0.4893 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.8404, allocations: 448.9 kB / 0.4897 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.8408, allocations: 0.7247 MB / 0.4904 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.8409, allocations: 7.438 kB / 0.4904 GB, free: 13.47 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8409, allocations: 0 / 0.4904 GB, free: 13.47 MB / 378.7 MB Notification: Performance of Templates: time 0.0092/0.8501, allocations: 3.281 MB / 0.4936 GB, free: 10.19 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","../files/Modelica_trunk_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches