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.001279/0.001279, allocations: 176.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 86.62 kB / 261.8 MB, free: 1.684 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.2506/0.2506, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.232e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.156, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.6243, allocations: 84.59 MB / 0.5486 GB, free: 8.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6246, allocations: 65.98 kB / 0.5487 GB, free: 8.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.6404, allocations: 5.007 MB / 0.5536 GB, free: 5.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6405, allocations: 0 / 0.5536 GB, free: 5.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.6405, allocations: 4 kB / 0.5536 GB, free: 5.348 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005833/0.6411, allocations: 473.6 kB / 0.554 GB, free: 4.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.6412, allocations: 16.02 kB / 0.5541 GB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.6413, allocations: 15.81 kB / 0.5541 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.6414, allocations: 178.8 kB / 0.5542 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6414, allocations: 0 / 0.5542 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.6414, allocations: 19.98 kB / 0.5543 GB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001516/0.6416, allocations: 99.28 kB / 0.5544 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.6418, allocations: 123.7 kB / 0.5545 GB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6418, allocations: 0 / 0.5545 GB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6418, allocations: 0 / 0.5545 GB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6418, allocations: 4 kB / 0.5545 GB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.642, allocations: 167 kB / 0.5546 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.6422, allocations: 168.6 kB / 0.5548 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.6424, allocations: 156.4 kB / 0.555 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.6424, allocations: 0 / 0.555 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.6426, allocations: 162.9 kB / 0.5551 GB, free: 3.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 1.693e-06/0.6426, allocations: 0 / 0.5551 GB, free: 3.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.001165/0.6438, allocations: 0.5724 MB / 0.5557 GB, free: 3.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.6439, allocations: 103.1 kB / 0.5558 GB, free: 3.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.6439, allocations: 118.6 kB / 0.5559 GB, free: 3.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.644, allocations: 56.94 kB / 0.5559 GB, free: 3.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.6441, allocations: 89.39 kB / 0.556 GB, free: 3.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6442, allocations: 134.5 kB / 0.5561 GB, free: 2.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.6442, allocations: 0 / 0.5561 GB, free: 2.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6444, allocations: 345.3 kB / 0.5565 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.6447, allocations: 155.7 kB / 0.5566 GB, free: 2.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.6453, allocations: 0.5032 MB / 0.5571 GB, free: 1.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.6458, allocations: 245.8 kB / 0.5574 GB, free: 1.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.6458, allocations: 4 kB / 0.5574 GB, free: 1.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001438/0.6473, allocations: 0.6321 MB / 0.558 GB, free: 1.172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.6473, allocations: 12 kB / 0.558 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.6474, allocations: 12 kB / 0.558 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.138e-05/0.6475, allocations: 16 kB / 0.558 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.648, allocations: 116.2 kB / 0.5581 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/0.6481, allocations: 27.91 kB / 0.5581 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.6484, allocations: 51.38 kB / 0.5582 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.6485, allocations: 43.75 kB / 0.5582 GB, free: 0.9102 MB / 362.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 () * 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.0002358/0.6488, allocations: 200.1 kB / 0.5584 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001037/0.6498, allocations: 0.5741 MB / 0.559 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.6498, allocations: 11.81 kB / 0.559 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.6499, allocations: 5.969 kB / 0.559 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6499, allocations: 0 / 0.559 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6499, allocations: 0 / 0.559 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6499, allocations: 0 / 0.559 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.6501, allocations: 150.1 kB / 0.5591 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6501, allocations: 3.953 kB / 0.5592 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-06/0.6501, allocations: 3.969 kB / 0.5592 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6501, allocations: 8 kB / 0.5592 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.6501, allocations: 3.938 kB / 0.5592 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6501, allocations: 0 / 0.5592 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6501, allocations: 0 / 0.5592 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.6514, allocations: 0.6121 MB / 0.5598 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.6515, allocations: 104.8 kB / 0.5599 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.6515, allocations: 0 / 0.5599 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.6516, allocations: 0 / 0.5599 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.6516, allocations: 8.016 kB / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.6516, allocations: 4 kB / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.6517, allocations: 75.28 kB / 0.5599 GB, free: 15.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6517, allocations: 0 / 0.5599 GB, free: 15.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008978/0.6526, allocations: 87.69 kB / 0.56 GB, free: 15.24 MB / 378.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 () * 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.002974/0.6556, allocations: 1.498 MB / 0.5615 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008671/0.6565, allocations: 429.7 kB / 0.5619 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6565, allocations: 0 / 0.5619 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.6567, allocations: 153.2 kB / 0.5621 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.6569, allocations: 7.984 kB / 0.5621 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.6583, allocations: 482.3 kB / 0.5625 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.6588, allocations: 0.7416 MB / 0.5632 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.659, allocations: 47.31 kB / 0.5633 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.6591, allocations: 46.8 kB / 0.5633 GB, free: 12.2 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6591, allocations: 0 / 0.5633 GB, free: 12.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.6927, allocations: 4.69 MB / 0.5679 GB, free: 7.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.6931, allocations: 162.8 kB / 0.5681 GB, free: 7.328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.437, allocations: 4 kB / 0.5681 GB, free: 7.324 MB / 378.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