Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.756/1.756, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009919/0.000992, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2132/0.2132, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.5852, allocations: 85.35 MB / 0.5622 GB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5855, allocations: 62.05 kB / 0.5623 GB, free: 14.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.6011, allocations: 5.026 MB / 0.5672 GB, free: 9.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6012, allocations: 0 / 0.5672 GB, free: 9.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.6012, allocations: 4 kB / 0.5672 GB, free: 9.969 MB / 378.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.0007432/0.6019, allocations: 486.2 kB / 0.5676 GB, free: 9.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.602, allocations: 8.031 kB / 0.5676 GB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.6023, allocations: 149.2 kB / 0.5678 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.6024, allocations: 35.53 kB / 0.5678 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.6026, allocations: 186.8 kB / 0.568 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.6026, allocations: 30.06 kB / 0.568 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.6027, allocations: 42.73 kB / 0.5681 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.6033, allocations: 295 kB / 0.5684 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6033, allocations: 11.98 kB / 0.5684 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.6033, allocations: 7.312 kB / 0.5684 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.6034, allocations: 4 kB / 0.5684 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.6037, allocations: 207.7 kB / 0.5686 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.605, allocations: 0.6419 MB / 0.5692 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.6053, allocations: 195.7 kB / 0.5694 GB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.6053, allocations: 4 kB / 0.5694 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.6056, allocations: 182 kB / 0.5696 GB, free: 7.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.174e-06/0.6056, allocations: 0 / 0.5696 GB, free: 7.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001824/0.6075, allocations: 0.9414 MB / 0.5705 GB, free: 6.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6076, allocations: 106.8 kB / 0.5706 GB, free: 6.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.6077, allocations: 113.3 kB / 0.5707 GB, free: 6.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/0.6078, allocations: 72.42 kB / 0.5708 GB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.6079, allocations: 145.7 kB / 0.5709 GB, free: 6.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.6082, allocations: 208.6 kB / 0.5711 GB, free: 6.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.6082, allocations: 26.75 kB / 0.5711 GB, free: 6.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6084, allocations: 345.5 kB / 0.5715 GB, free: 6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.609, allocations: 310.2 kB / 0.5718 GB, free: 5.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/0.61, allocations: 0.6512 MB / 0.5724 GB, free: 5.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/0.6152, allocations: 5.73 MB / 0.578 GB, free: 14.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.6152, allocations: 4 kB / 0.578 GB, free: 14.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00141/0.6166, allocations: 0.7593 MB / 0.5787 GB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.6167, allocations: 15.44 kB / 0.5787 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.6167, allocations: 12.91 kB / 0.5788 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/0.6168, allocations: 20 kB / 0.5788 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.6171, allocations: 127.6 kB / 0.5789 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/0.6171, allocations: 23.88 kB / 0.5789 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.6174, allocations: 70.91 kB / 0.579 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.6175, allocations: 43.75 kB / 0.579 GB, free: 13.45 MB / 394.7 MB Warning: The initial conditions are over specified. The following 47 initial equations are redundant, so they are removed from the initialization sytem: $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]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 108 ($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],$whenCondition1,result,$PRE.$outputAlias_result,$outputAlias_result,$PRE.$outputAlias_r2,$outputAlias_r2,$PRE.$outputAlias_r4a,$outputAlias_r4a,$PRE.$outputAlias_r4b,$outputAlias_r4b,$PRE.$outputAlias_r4c,$outputAlias_r4c,$PRE.$outputAlias_r33,$outputAlias_r33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0005966/0.6181, allocations: 0.4916 MB / 0.5795 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.6181, allocations: 15.81 kB / 0.5795 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.6181, allocations: 9.562 kB / 0.5795 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6182, allocations: 0 / 0.5795 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6182, allocations: 0 / 0.5795 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6182, allocations: 0 / 0.5795 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.6194, allocations: 0.989 MB / 0.5805 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6195, allocations: 0 / 0.5805 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.6195, allocations: 11.98 kB / 0.5805 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6195, allocations: 4 kB / 0.5805 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.6195, allocations: 7.812 kB / 0.5805 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6195, allocations: 3.938 kB / 0.5805 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6196, allocations: 160 / 0.5805 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.6205, allocations: 0.745 MB / 0.5813 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.6205, allocations: 100.8 kB / 0.5813 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.6206, allocations: 6.984 kB / 0.5814 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.6206, allocations: 0 / 0.5814 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.6206, allocations: 11.94 kB / 0.5814 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.6207, allocations: 0 / 0.5814 GB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.6207, allocations: 75.28 kB / 0.5814 GB, free: 11.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6207, allocations: 4 kB / 0.5814 GB, free: 11.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006708/0.6214, allocations: 167.9 kB / 0.5816 GB, free: 11.08 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: 55 ($whenCondition1,result,$outputAlias_result,$outputAlias_r2,$outputAlias_r4a,$outputAlias_r4b,$outputAlias_r4c,$outputAlias_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 (8): * Single equations (assignments): 7 * 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.001943/0.6233, allocations: 1.658 MB / 0.5832 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.6244, allocations: 0.5573 MB / 0.5838 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6244, allocations: 2 kB / 0.5838 GB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.6245, allocations: 177 kB / 0.5839 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.6247, allocations: 0 / 0.5839 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/0.631, allocations: 10.22 MB / 0.5939 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.6314, allocations: 0.7779 MB / 0.5947 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.6316, allocations: 52.33 kB / 0.5947 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.6317, allocations: 97.16 kB / 0.5948 GB, free: 13.96 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6317, allocations: 0 / 0.5948 GB, free: 13.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.6535, allocations: 6.22 MB / 0.6009 GB, free: 7.773 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6537, allocations: 209.6 kB / 0.6011 GB, free: 7.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.612, allocations: 0 / 0.6011 GB, free: 7.535 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat