Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.48 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5644/0.5644, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004706, allocations: 16 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5783, allocations: 85.35 MB / 0.5621 GB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5786, allocations: 63.97 kB / 0.5621 GB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.5971, allocations: 5.021 MB / 0.567 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5971, allocations: 0 / 0.567 GB, free: 12.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.5971, allocations: 8 kB / 0.567 GB, free: 12.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006607/0.5978, allocations: 479.7 kB / 0.5675 GB, free: 11.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5979, allocations: 8.031 kB / 0.5675 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.5979, allocations: 19.25 kB / 0.5675 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.5981, allocations: 181.3 kB / 0.5677 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.5981, allocations: 16 kB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.5982, allocations: 24 kB / 0.5677 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.5984, allocations: 125.9 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5984, allocations: 0 / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5985, allocations: 7.938 kB / 0.5679 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5985, allocations: 0 / 0.5679 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.5986, allocations: 93.44 kB / 0.568 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.5989, allocations: 230.2 kB / 0.5682 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.5991, allocations: 166.5 kB / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.5991, allocations: 0 / 0.5683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.5994, allocations: 170 kB / 0.5685 GB, free: 10.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 1.693e-06/0.5994, allocations: 0 / 0.5685 GB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.001744/0.6012, allocations: 0.8646 MB / 0.5693 GB, free: 9.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.6013, allocations: 107.8 kB / 0.5694 GB, free: 9.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.6014, allocations: 108.8 kB / 0.5696 GB, free: 9.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.6016, allocations: 73.67 kB / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.6016, allocations: 159.9 kB / 0.5698 GB, free: 9.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.6018, allocations: 134.5 kB / 0.5699 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.6019, allocations: 16 kB / 0.5699 GB, free: 9.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6021, allocations: 346.8 kB / 0.5702 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.6026, allocations: 181.8 kB / 0.5704 GB, free: 8.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.6033, allocations: 0.5291 MB / 0.5709 GB, free: 7.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.604, allocations: 267.8 kB / 0.5712 GB, free: 7.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.6041, allocations: 3.953 kB / 0.5712 GB, free: 7.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001715/0.6058, allocations: 0.7358 MB / 0.5719 GB, free: 6.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.6058, allocations: 12 kB / 0.5719 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.6059, allocations: 12 kB / 0.5719 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.136e-05/0.6059, allocations: 20 kB / 0.572 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.6066, allocations: 117.4 kB / 0.5721 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-05/0.6066, allocations: 28.48 kB / 0.5721 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.607, allocations: 67.28 kB / 0.5722 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.607, allocations: 44 kB / 0.5722 GB, free: 6.527 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0003534/0.6074, allocations: 249.6 kB / 0.5724 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.6074, allocations: 15.7 kB / 0.5725 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.6075, allocations: 9.875 kB / 0.5725 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6075, allocations: 4 kB / 0.5725 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6075, allocations: 0 / 0.5725 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6075, allocations: 0 / 0.5725 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.6077, allocations: 189.8 kB / 0.5726 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6078, allocations: 0 / 0.5726 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.6078, allocations: 7.953 kB / 0.5727 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6078, allocations: 3.938 kB / 0.5727 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.6078, allocations: 0 / 0.5727 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6078, allocations: 3.25 kB / 0.5727 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6078, allocations: 0 / 0.5727 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.6091, allocations: 0.6156 MB / 0.5733 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.6092, allocations: 96.86 kB / 0.5734 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.6092, allocations: 3.953 kB / 0.5734 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.6092, allocations: 0 / 0.5734 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.6092, allocations: 0 / 0.5734 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.6093, allocations: 4 kB / 0.5734 GB, free: 5.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.6093, allocations: 79.66 kB / 0.5734 GB, free: 5.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6093, allocations: 0 / 0.5734 GB, free: 5.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007663/0.6101, allocations: 119.9 kB / 0.5736 GB, free: 5.047 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007824/0.6109, allocations: 278.9 kB / 0.5738 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.612, allocations: 465.6 kB / 0.5743 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.612, allocations: 0 / 0.5743 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.6122, allocations: 160.4 kB / 0.5744 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.6124, allocations: 8.125 kB / 0.5744 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008296/0.6132, allocations: 482.7 kB / 0.5749 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.6136, allocations: 0.7375 MB / 0.5756 GB, free: 2.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.6137, allocations: 19.44 kB / 0.5756 GB, free: 2.914 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6137, allocations: 0 / 0.5756 GB, free: 2.914 MB / 394.7 MB Notification: Performance of Templates: time 0.009777/0.6235, allocations: 4.018 MB / 0.5795 GB, free: 14.89 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches