Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.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.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",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.001314/0.001314, allocations: 185.2 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.639/1.639, 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.000884/0.0008842, allocations: 86.88 kB / 270.2 MB, free: 13.37 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.235/0.235, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003772, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5519, allocations: 87.05 MB / 0.5639 GB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5522, allocations: 68.53 kB / 0.5639 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048/1.601, allocations: 97.17 MB / 0.6588 GB, free: 4.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.601, allocations: 0 / 0.6588 GB, free: 4.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/1.601, allocations: 0 / 0.6588 GB, free: 4.07 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004477/1.605, allocations: 448.8 kB / 0.6593 GB, free: 3.578 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/1.605, allocations: 12.03 kB / 0.6593 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/1.605, allocations: 30.56 kB / 0.6593 GB, free: 3.527 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/1.605, allocations: 3.953 kB / 0.6593 GB, free: 3.523 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.605, allocations: 163 kB / 0.6595 GB, free: 3.324 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.605, allocations: 4 kB / 0.6595 GB, free: 3.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/1.605, allocations: 4 kB / 0.6595 GB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.938e-05/1.605, allocations: 33.67 kB / 0.6595 GB, free: 3.277 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.605, allocations: 4 kB / 0.6595 GB, free: 3.273 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/1.606, allocations: 0 / 0.6595 GB, free: 3.273 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.606, allocations: 0 / 0.6595 GB, free: 3.273 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/1.606, allocations: 3.953 kB / 0.6595 GB, free: 3.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/1.606, allocations: 229 kB / 0.6597 GB, free: 2.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/1.606, allocations: 30.55 kB / 0.6597 GB, free: 2.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/1.606, allocations: 0 / 0.6597 GB, free: 2.957 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.606, allocations: 60.33 kB / 0.6598 GB, free: 2.883 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/1.606, allocations: 0 / 0.6598 GB, free: 2.883 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001981/1.606, allocations: 75.33 kB / 0.6599 GB, free: 2.797 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.606, allocations: 85 kB / 0.66 GB, free: 2.695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.222e-05/1.606, allocations: 89.12 kB / 0.66 GB, free: 2.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/1.606, allocations: 25.7 kB / 0.6601 GB, free: 2.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/1.606, allocations: 80.14 kB / 0.6601 GB, free: 2.488 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/1.606, allocations: 4.531 kB / 0.6601 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/1.606, allocations: 0 / 0.6601 GB, free: 2.484 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/1.606, allocations: 314.8 kB / 0.6604 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/1.606, allocations: 7.984 kB / 0.6605 GB, free: 2.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/1.606, allocations: 4 kB / 0.6605 GB, free: 2.156 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/1.607, allocations: 29.77 kB / 0.6605 GB, free: 2.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.607, allocations: 0 / 0.6605 GB, free: 2.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.773e-05/1.607, allocations: 67.41 kB / 0.6606 GB, free: 2.043 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.607, allocations: 37.62 kB / 0.6606 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.607, allocations: 4 kB / 0.6606 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.607, allocations: 0 / 0.6606 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-05/1.607, allocations: 0 / 0.6606 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.607, allocations: 3.938 kB / 0.6606 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/1.607, allocations: 7.953 kB / 0.6606 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/1.607, allocations: 0 / 0.6606 GB, free: 1.984 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 9.275e-05/1.607, allocations: 140.3 kB / 0.6607 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/1.607, allocations: 4 kB / 0.6607 GB, free: 1.828 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/1.607, allocations: 3.125 kB / 0.6607 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/1.607, allocations: 0 / 0.6607 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.607, allocations: 0 / 0.6607 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.607, allocations: 0 / 0.6607 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/1.607, allocations: 304.3 kB / 0.661 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.607, allocations: 0 / 0.661 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/1.607, allocations: 4.031 kB / 0.661 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.607, allocations: 0 / 0.661 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/1.607, allocations: 0 / 0.661 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/1.607, allocations: 3.938 kB / 0.661 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.607, allocations: 0 / 0.661 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/1.607, allocations: 169.2 kB / 0.6612 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/1.607, allocations: 77.11 kB / 0.6613 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/1.607, allocations: 0 / 0.6613 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/1.607, allocations: 4.031 kB / 0.6613 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/1.607, allocations: 4 kB / 0.6613 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/1.608, allocations: 3.984 kB / 0.6613 GB, free: 1.164 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/1.608, allocations: 83.23 kB / 0.6614 GB, free: 1.082 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.608, allocations: 0 / 0.6614 GB, free: 1.082 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00843/1.616, allocations: 2.156 MB / 0.6635 GB, free: 14.92 MB / 474.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * 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: 1 * 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.01421/1.63, allocations: 2.875 MB / 0.6663 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/1.63, allocations: 67.39 kB / 0.6663 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.63, allocations: 0 / 0.6663 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/1.63, allocations: 59.5 kB / 0.6664 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/1.631, allocations: 4 kB / 0.6664 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/1.635, allocations: 384.8 kB / 0.6668 GB, free: 11.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.635, allocations: 0.6771 MB / 0.6674 GB, free: 10.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.595e-05/1.635, allocations: 0 / 0.6674 GB, free: 10.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/1.635, allocations: 15.53 kB / 0.6674 GB, free: 10.73 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/1.635, allocations: 0 / 0.6674 GB, free: 10.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5345/2.169, allocations: 124.7 MB / 0.7892 GB, free: 96.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/2.17, allocations: 229.5 kB / 0.7894 GB, free: 95.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/16.09, allocations: 0 / 0.7894 GB, free: 95.76 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat