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.001005/0.001005, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008019/0.000802, allocations: 97.75 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.197/0.197, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.013e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5283, allocations: 89.88 MB / 0.5922 GB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.5286, allocations: 66.03 kB / 0.5923 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.754/1.283, allocations: 71.69 MB / 0.6623 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.724e-06/1.283, allocations: 0 / 0.6623 GB, free: 12.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/1.283, allocations: 0 / 0.6623 GB, free: 12.74 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.003087/1.286, allocations: 474.8 kB / 0.6627 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.286, allocations: 8.031 kB / 0.6628 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/1.286, allocations: 7.953 kB / 0.6628 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/1.286, allocations: 159.1 kB / 0.6629 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.286, allocations: 4 kB / 0.6629 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/1.286, allocations: 4 kB / 0.6629 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.424e-05/1.286, allocations: 0 / 0.6629 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.089e-05/1.286, allocations: 33.64 kB / 0.663 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/1.286, allocations: 0 / 0.663 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/1.286, allocations: 0 / 0.663 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.286, allocations: 3.953 kB / 0.663 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/1.286, allocations: 126.2 kB / 0.6631 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/1.286, allocations: 22.11 kB / 0.6631 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/1.286, allocations: 12.86 kB / 0.6631 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/1.286, allocations: 0.75 kB / 0.6631 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/1.286, allocations: 56.27 kB / 0.6632 GB, free: 11.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.286, allocations: 0 / 0.6632 GB, free: 11.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001848/1.287, allocations: 45.61 kB / 0.6632 GB, free: 11.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.287, allocations: 77.11 kB / 0.6633 GB, free: 11.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.312e-05/1.287, allocations: 85 kB / 0.6634 GB, free: 11.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/1.287, allocations: 29.73 kB / 0.6634 GB, free: 11.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/1.287, allocations: 83.58 kB / 0.6635 GB, free: 11.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/1.287, allocations: 4.562 kB / 0.6635 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/1.287, allocations: 0 / 0.6635 GB, free: 11.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/1.287, allocations: 318.8 kB / 0.6638 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-06/1.287, allocations: 0 / 0.6638 GB, free: 11.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/1.287, allocations: 0 / 0.6638 GB, free: 11.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/1.287, allocations: 0 / 0.6638 GB, free: 11.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.287, allocations: 4 kB / 0.6638 GB, free: 11.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.093e-05/1.287, allocations: 37.75 kB / 0.6638 GB, free: 10.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/1.287, allocations: 33.7 kB / 0.6638 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.287, allocations: 0 / 0.6638 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.287, allocations: 0 / 0.6638 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/1.287, allocations: 3.938 kB / 0.6639 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.287, allocations: 3.984 kB / 0.6639 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/1.287, allocations: 0 / 0.6639 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/1.287, allocations: 0 / 0.6639 GB, free: 10.93 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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.909e-05/1.287, allocations: 137.7 kB / 0.664 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.679e-05/1.287, allocations: 41.72 kB / 0.664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-06/1.287, allocations: 0 / 0.664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.733e-05/1.287, allocations: 11.7 kB / 0.664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/1.287, allocations: 0 / 0.664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.287, allocations: 0 / 0.664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.287, allocations: 0 / 0.664 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.542e-05/1.288, allocations: 130.2 kB / 0.6642 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.288, allocations: 0 / 0.6642 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/1.288, allocations: 0 / 0.6642 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.288, allocations: 0 / 0.6642 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/1.288, allocations: 15.72 kB / 0.6642 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/1.288, allocations: 0 / 0.6642 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.288, allocations: 0 / 0.6642 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.164e-05/1.288, allocations: 68.92 kB / 0.6642 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/1.288, allocations: 81.11 kB / 0.6643 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.288, allocations: 4 kB / 0.6643 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/1.288, allocations: 0 / 0.6643 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/1.288, allocations: 7.312 kB / 0.6643 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/1.288, allocations: 4.031 kB / 0.6643 GB, free: 10.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.567e-05/1.288, allocations: 75.28 kB / 0.6644 GB, free: 10.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.288, allocations: 4 kB / 0.6644 GB, free: 10.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005728/1.294, allocations: 1.533 MB / 0.6659 GB, free: 8.758 MB / 458.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.00997/1.304, allocations: 2.544 MB / 0.6684 GB, free: 6.195 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/1.304, allocations: 55.41 kB / 0.6684 GB, free: 6.129 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.304, allocations: 0 / 0.6684 GB, free: 6.129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/1.304, allocations: 59.41 kB / 0.6685 GB, free: 6.059 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.802e-05/1.304, allocations: 4.062 kB / 0.6685 GB, free: 6.055 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.306, allocations: 192.9 kB / 0.6687 GB, free: 5.832 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/1.306, allocations: 0.6729 MB / 0.6693 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.961e-06/1.306, allocations: 0 / 0.6693 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/1.306, allocations: 11.44 kB / 0.6694 GB, free: 5.121 MB / 458.7 MB Notification: Performance of SimCode: time 1.934e-06/1.306, allocations: 0 / 0.6694 GB, free: 5.121 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/1.724, allocations: 88.85 MB / 0.7561 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.724, allocations: 184.7 kB / 0.7563 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/9.426, allocations: 0 / 0.7563 GB, free: 118.6 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