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.001569/0.001569, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.828/1.828, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008197/0.0008196, allocations: 89.56 kB / 267.1 MB, free: 9.27 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.425/0.425, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.378e-05, allocations: 7.984 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 58.83 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5986, allocations: 86.97 MB / 0.5578 GB, free: 16.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5989, allocations: 69.64 kB / 0.5579 GB, free: 16.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/1.654, allocations: 97.15 MB / 0.6528 GB, free: 10.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.654, allocations: 0 / 0.6528 GB, free: 10.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/1.654, allocations: 0 / 0.6528 GB, free: 10.91 MB / 474.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.005343/1.659, allocations: 435.9 kB / 0.6532 GB, free: 10.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.659, allocations: 8.031 kB / 0.6532 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/1.659, allocations: 39.8 kB / 0.6532 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/1.659, allocations: 3.938 kB / 0.6532 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/1.659, allocations: 163.1 kB / 0.6534 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.659, allocations: 0 / 0.6534 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/1.659, allocations: 0 / 0.6534 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/1.659, allocations: 31.08 kB / 0.6534 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.659, allocations: 0 / 0.6534 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/1.659, allocations: 0 / 0.6534 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.66, allocations: 0 / 0.6534 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/1.66, allocations: 11.95 kB / 0.6534 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/1.66, allocations: 240.9 kB / 0.6537 GB, free: 9.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/1.66, allocations: 22.58 kB / 0.6537 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/1.66, allocations: 8.922 kB / 0.6537 GB, free: 9.805 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/1.66, allocations: 0 / 0.6537 GB, free: 9.805 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/1.66, allocations: 64.25 kB / 0.6537 GB, free: 9.727 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.66, allocations: 4 kB / 0.6537 GB, free: 9.723 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.000228/1.66, allocations: 72.08 kB / 0.6538 GB, free: 9.641 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/1.66, allocations: 77.11 kB / 0.6539 GB, free: 9.547 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/1.66, allocations: 85 kB / 0.654 GB, free: 9.457 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/1.66, allocations: 25.7 kB / 0.654 GB, free: 9.426 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/1.661, allocations: 80.14 kB / 0.6541 GB, free: 9.344 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/1.661, allocations: 9.625 kB / 0.6541 GB, free: 9.336 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/1.661, allocations: 0 / 0.6541 GB, free: 9.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/1.661, allocations: 327.5 kB / 0.6544 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/1.661, allocations: 0 / 0.6544 GB, free: 9.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-06/1.661, allocations: 4 kB / 0.6544 GB, free: 9.004 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/1.661, allocations: 29.7 kB / 0.6544 GB, free: 8.969 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.661, allocations: 0 / 0.6544 GB, free: 8.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.395e-05/1.661, allocations: 63.41 kB / 0.6545 GB, free: 8.895 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/1.661, allocations: 37.62 kB / 0.6545 GB, free: 8.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.661, allocations: 6.344 kB / 0.6545 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.661, allocations: 96 / 0.6545 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-05/1.661, allocations: 4 kB / 0.6545 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.661, allocations: 0 / 0.6545 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/1.661, allocations: 3.953 kB / 0.6545 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.661, allocations: 0 / 0.6545 GB, free: 8.84 MB / 474.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 () * 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 8.722e-05/1.661, allocations: 131.9 kB / 0.6547 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/1.661, allocations: 0 / 0.6547 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/1.661, allocations: 3.125 kB / 0.6547 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/1.661, allocations: 0 / 0.6547 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.661, allocations: 7.984 kB / 0.6547 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.661, allocations: 4 kB / 0.6547 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/1.662, allocations: 292.3 kB / 0.655 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.662, allocations: 0 / 0.655 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-06/1.662, allocations: 7.938 kB / 0.655 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.662, allocations: 4 kB / 0.655 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.662, allocations: 0 / 0.655 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.662, allocations: 0 / 0.655 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.662, allocations: 3.953 kB / 0.655 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/1.662, allocations: 165.3 kB / 0.6551 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.662, allocations: 81.11 kB / 0.6552 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/1.662, allocations: 0 / 0.6552 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/1.662, allocations: 0.6875 kB / 0.6552 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/1.662, allocations: 3.984 kB / 0.6552 GB, free: 8.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/1.662, allocations: 7.953 kB / 0.6552 GB, free: 8.031 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.516e-05/1.662, allocations: 76.59 kB / 0.6553 GB, free: 7.957 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.662, allocations: 0 / 0.6553 GB, free: 7.957 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01071/1.673, allocations: 2.164 MB / 0.6574 GB, free: 5.793 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) * 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.01658/1.689, allocations: 2.864 MB / 0.6602 GB, free: 2.902 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/1.69, allocations: 68.66 kB / 0.6603 GB, free: 2.824 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.69, allocations: 0 / 0.6603 GB, free: 2.824 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/1.69, allocations: 63.39 kB / 0.6603 GB, free: 2.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/1.69, allocations: 0.5469 kB / 0.6603 GB, free: 2.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/1.694, allocations: 162.4 kB / 0.6605 GB, free: 2.555 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.694, allocations: 0.6731 MB / 0.6611 GB, free: 1.855 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.514e-05/1.694, allocations: 4.125 kB / 0.6611 GB, free: 1.852 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/1.694, allocations: 11.44 kB / 0.6612 GB, free: 1.84 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/1.694, allocations: 0 / 0.6612 GB, free: 1.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5404/2.235, allocations: 124.7 MB / 0.7829 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/2.235, allocations: 187.4 kB / 0.7831 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/17.71, allocations: 0 / 0.7831 GB, free: 89.45 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