Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0146/0.0146, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.022/2.022, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002119/0.002118, allocations: 116.6 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2739/0.2739, allocations: 40.02 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006521, allocations: 12 kB / 406.3 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1054, allocations: 54.87 MB / 461.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.2533, allocations: 80.51 MB / 0.529 GB, free: 2.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.2536, allocations: 59.97 kB / 0.529 GB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3219/0.5755, allocations: 5.021 MB / 0.5339 GB, free: 80.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5755, allocations: 0 / 0.5339 GB, free: 80.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.5755, allocations: 7.719 kB / 0.5339 GB, free: 80.67 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.0006057/0.5762, allocations: 476.6 kB / 0.5344 GB, free: 80.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5762, allocations: 8.719 kB / 0.5344 GB, free: 80.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.5764, allocations: 144.4 kB / 0.5345 GB, free: 80.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.5765, allocations: 44.23 kB / 0.5346 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5766, allocations: 191.4 kB / 0.5347 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.5767, allocations: 31.25 kB / 0.5348 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.5767, allocations: 38.81 kB / 0.5348 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.5774, allocations: 299.4 kB / 0.5351 GB, free: 79.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5774, allocations: 1.031 kB / 0.5351 GB, free: 79.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5774, allocations: 5.328 kB / 0.5351 GB, free: 79.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.5775, allocations: 13.52 kB / 0.5351 GB, free: 79.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.5779, allocations: 211 kB / 0.5353 GB, free: 79.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.5792, allocations: 0.6426 MB / 0.5359 GB, free: 79.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.5795, allocations: 192.9 kB / 0.5361 GB, free: 79.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5796, allocations: 9 kB / 0.5361 GB, free: 79.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.5798, allocations: 173.1 kB / 0.5363 GB, free: 79.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/0.5799, allocations: 0 / 0.5363 GB, free: 79.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001839/0.5817, allocations: 0.9443 MB / 0.5372 GB, free: 79.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5819, allocations: 106.8 kB / 0.5373 GB, free: 79.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.582, allocations: 112.3 kB / 0.5374 GB, free: 79.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5821, allocations: 71.72 kB / 0.5375 GB, free: 79.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.5822, allocations: 149.4 kB / 0.5376 GB, free: 79.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.5824, allocations: 212.8 kB / 0.5379 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.5825, allocations: 25.84 kB / 0.5379 GB, free: 78.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5826, allocations: 347.5 kB / 0.5382 GB, free: 78.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007738/0.5834, allocations: 302.1 kB / 0.5385 GB, free: 78.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.5845, allocations: 0.649 MB / 0.5391 GB, free: 78.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/0.5885, allocations: 5.732 MB / 0.5447 GB, free: 72.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/0.5886, allocations: 3.594 kB / 0.5447 GB, free: 72.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00199/0.5906, allocations: 0.7603 MB / 0.5455 GB, free: 72.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.5907, allocations: 11.16 kB / 0.5455 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.5907, allocations: 12.78 kB / 0.5455 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.028e-05/0.5908, allocations: 19.36 kB / 0.5455 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.5915, allocations: 131.9 kB / 0.5456 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/0.5915, allocations: 24.25 kB / 0.5457 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.5919, allocations: 69.75 kB / 0.5457 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.592, allocations: 46.84 kB / 0.5458 GB, free: 71.95 MB / 378.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.0007543/0.5927, allocations: 484 kB / 0.5462 GB, free: 71.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.5928, allocations: 15.69 kB / 0.5463 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.5928, allocations: 10.41 kB / 0.5463 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5928, allocations: 1.797 kB / 0.5463 GB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5928, allocations: 3.953 kB / 0.5463 GB, free: 71.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5929, allocations: 0.7031 kB / 0.5463 GB, free: 71.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.5945, allocations: 0.9915 MB / 0.5472 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5946, allocations: 0 / 0.5472 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.5946, allocations: 10.8 kB / 0.5472 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.5947, allocations: 6.391 kB / 0.5473 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5947, allocations: 1.688 kB / 0.5473 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.5947, allocations: 4.656 kB / 0.5473 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5947, allocations: 0 / 0.5473 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.5961, allocations: 0.7479 MB / 0.548 GB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.5961, allocations: 107.9 kB / 0.5481 GB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.5962, allocations: 1.031 kB / 0.5481 GB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.5962, allocations: 1.219 kB / 0.5481 GB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5963, allocations: 11.27 kB / 0.5481 GB, free: 71.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5963, allocations: 6.406 kB / 0.5481 GB, free: 71.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.006e-05/0.5963, allocations: 75.28 kB / 0.5482 GB, free: 71.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5964, allocations: 0 / 0.5482 GB, free: 71.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001147/0.5975, allocations: 162 kB / 0.5483 GB, free: 71 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: 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.002575/0.6001, allocations: 1.653 MB / 0.55 GB, free: 70.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.6021, allocations: 0.562 MB / 0.5505 GB, free: 70.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6022, allocations: 0 / 0.5505 GB, free: 70.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.6025, allocations: 180.4 kB / 0.5507 GB, free: 70.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.6027, allocations: 7.016 kB / 0.5507 GB, free: 70.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.6087, allocations: 10.23 MB / 0.5607 GB, free: 60.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.6091, allocations: 0.7851 MB / 0.5614 GB, free: 60.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.6094, allocations: 52.8 kB / 0.5615 GB, free: 60.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6096, allocations: 99.17 kB / 0.5616 GB, free: 60.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6096, allocations: 0 / 0.5616 GB, free: 60.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.642, allocations: 6.216 MB / 0.5676 GB, free: 55.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.6423, allocations: 209.8 kB / 0.5678 GB, free: 55.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.274, allocations: 4 kB / 0.5679 GB, free: 55.24 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat