Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009912/0.0009912, allocations: 195.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008341/0.0008342, allocations: 87.14 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.605e-05, allocations: 6.406 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09055, allocations: 63.25 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.44, allocations: 90.54 MB / 0.5999 GB, free: 3.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4403, allocations: 65.34 kB / 0.5999 GB, free: 3.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6863/1.127, allocations: 71.97 MB / 0.6702 GB, free: 2.309 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/1.127, allocations: 0 / 0.6702 GB, free: 2.309 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/1.127, allocations: 0 / 0.6702 GB, free: 2.309 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.002224/1.129, allocations: 480.1 kB / 0.6707 GB, free: 1.797 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.129, allocations: 15.95 kB / 0.6707 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/1.129, allocations: 34.56 kB / 0.6707 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/1.129, allocations: 3.953 kB / 0.6707 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/1.129, allocations: 159.1 kB / 0.6709 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.129, allocations: 0 / 0.6709 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/1.129, allocations: 0 / 0.6709 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/1.129, allocations: 41.08 kB / 0.6709 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.129, allocations: 0 / 0.6709 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/1.129, allocations: 0 / 0.6709 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.129, allocations: 4 kB / 0.6709 GB, free: 1.492 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/1.129, allocations: 7.938 kB / 0.6709 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/1.13, allocations: 224.2 kB / 0.6711 GB, free: 1.215 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/1.13, allocations: 26.55 kB / 0.6712 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/1.13, allocations: 15.66 kB / 0.6712 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/1.13, allocations: 4 kB / 0.6712 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/1.13, allocations: 56.27 kB / 0.6712 GB, free: 1.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.13, allocations: 0 / 0.6712 GB, free: 1.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001633/1.13, allocations: 67.42 kB / 0.6713 GB, free: 1.016 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/1.13, allocations: 81.11 kB / 0.6714 GB, free: 0.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.662e-05/1.13, allocations: 89.03 kB / 0.6715 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.13, allocations: 25.7 kB / 0.6715 GB, free: 0.793 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/1.13, allocations: 84.12 kB / 0.6716 GB, free: 0.707 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/1.13, allocations: 3.906 kB / 0.6716 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/1.13, allocations: 0 / 0.6716 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/1.13, allocations: 321.7 kB / 0.6719 GB, free: 392 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/1.13, allocations: 7.938 kB / 0.6719 GB, free: 384 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/1.13, allocations: 0 / 0.6719 GB, free: 384 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/1.13, allocations: 33.77 kB / 0.6719 GB, free: 344 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.13, allocations: 0 / 0.6719 GB, free: 344 kB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.786e-05/1.13, allocations: 70.7 kB / 0.672 GB, free: 264 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.13, allocations: 31.11 kB / 0.672 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.13, allocations: 0 / 0.672 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.13, allocations: 0 / 0.672 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.391e-05/1.13, allocations: 3.938 kB / 0.672 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.13, allocations: 3.953 kB / 0.672 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/1.13, allocations: 4 kB / 0.672 GB, free: 220 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/1.13, allocations: 0 / 0.672 GB, free: 220 kB / 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 () * 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 7.257e-05/1.131, allocations: 132.1 kB / 0.6722 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/1.131, allocations: 7.062 kB / 0.6722 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/1.131, allocations: 15.06 kB / 0.6722 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.131, allocations: 0 / 0.6722 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.131, allocations: 0 / 0.6722 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.131, allocations: 7.891 kB / 0.6722 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/1.131, allocations: 291.7 kB / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.131, allocations: 0 / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/1.131, allocations: 32 / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.131, allocations: 4 kB / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.131, allocations: 0 / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.131, allocations: 0 / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.131, allocations: 3.953 kB / 0.6725 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/1.131, allocations: 175.1 kB / 0.6726 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/1.131, allocations: 77.11 kB / 0.6727 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/1.131, allocations: 0 / 0.6727 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/1.131, allocations: 12.02 kB / 0.6727 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/1.131, allocations: 3.953 kB / 0.6727 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.131, allocations: 0 / 0.6727 GB, free: 15.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.681e-05/1.131, allocations: 75.28 kB / 0.6728 GB, free: 15.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 0.6728 GB, free: 15.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004585/1.136, allocations: 1.537 MB / 0.6743 GB, free: 13.8 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.007707/1.144, allocations: 2.647 MB / 0.6769 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.069e-05/1.144, allocations: 59.41 kB / 0.6769 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/1.144, allocations: 0 / 0.6769 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.281e-05/1.144, allocations: 67.34 kB / 0.677 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.496e-05/1.144, allocations: 4 kB / 0.677 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/1.145, allocations: 197.6 kB / 0.6772 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/1.146, allocations: 0.677 MB / 0.6779 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.128e-06/1.146, allocations: 7.844 kB / 0.6779 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/1.146, allocations: 8.75 kB / 0.6779 GB, free: 10.04 MB / 474.7 MB Notification: Performance of SimCode: time 3.41e-07/1.146, allocations: 0 / 0.6779 GB, free: 10.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3714/1.517, allocations: 88.29 MB / 0.7641 GB, free: 115 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/1.517, allocations: 205.1 kB / 0.7643 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/8.341, allocations: 0 / 0.7643 GB, free: 114.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu > ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat