Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002191/0.002197, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 93.09 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3054/0.3054, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.218e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4261, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5889, allocations: 86.31 MB / 0.5503 GB, free: 12.89 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.5893, allocations: 67.97 kB / 0.5503 GB, free: 12.82 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.351/2.94, allocations: 96.73 MB / 0.6448 GB, free: 147 MB / 475.1 MB Notification: Performance of FrontEnd: time 4.299e-06/2.94, allocations: 3.688 kB / 0.6448 GB, free: 147 MB / 475.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/2.94, allocations: 1.641 kB / 0.6448 GB, free: 147 MB / 475.1 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.007647/2.948, allocations: 435.2 kB / 0.6452 GB, free: 146.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/2.948, allocations: 10.02 kB / 0.6452 GB, free: 146.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/2.948, allocations: 0.6875 kB / 0.6452 GB, free: 146.6 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/2.948, allocations: 164.4 kB / 0.6454 GB, free: 146.4 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/2.948, allocations: 1.406 kB / 0.6454 GB, free: 146.4 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/2.948, allocations: 0 / 0.6454 GB, free: 146.4 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.638e-05/2.949, allocations: 4.781 kB / 0.6454 GB, free: 146.4 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.815e-05/2.949, allocations: 36.17 kB / 0.6454 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/2.949, allocations: 1.156 kB / 0.6454 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/2.949, allocations: 0.7031 kB / 0.6454 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/2.949, allocations: 0 / 0.6454 GB, free: 146.3 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/2.949, allocations: 132.5 kB / 0.6456 GB, free: 146.2 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/2.949, allocations: 17.94 kB / 0.6456 GB, free: 146.2 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/2.949, allocations: 9.547 kB / 0.6456 GB, free: 146.1 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/2.949, allocations: 0 / 0.6456 GB, free: 146.1 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/2.949, allocations: 58.09 kB / 0.6456 GB, free: 146.1 MB / 475.1 MB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/2.949, allocations: 1.5 kB / 0.6456 GB, free: 146.1 MB / 475.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002517/2.949, allocations: 37.08 kB / 0.6457 GB, free: 146 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/2.949, allocations: 77.95 kB / 0.6457 GB, free: 145.9 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.218e-05/2.949, allocations: 90.66 kB / 0.6458 GB, free: 145.9 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/2.949, allocations: 29.39 kB / 0.6459 GB, free: 145.8 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/2.95, allocations: 150.6 kB / 0.646 GB, free: 145.7 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/2.95, allocations: 0 / 0.646 GB, free: 145.7 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/2.95, allocations: 1.5 kB / 0.646 GB, free: 145.7 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 7.914e-05/2.95, allocations: 318.8 kB / 0.6463 GB, free: 145.4 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/2.95, allocations: 1.125 kB / 0.6463 GB, free: 145.4 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/2.95, allocations: 1.562 kB / 0.6463 GB, free: 145.4 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/2.95, allocations: 5.828 kB / 0.6463 GB, free: 145.4 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.95, allocations: 0 / 0.6463 GB, free: 145.4 MB / 475.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001276/2.95, allocations: 38.09 kB / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/2.95, allocations: 31.05 kB / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/2.95, allocations: 0.5156 kB / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/2.95, allocations: 2.656 kB / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.055e-06/2.95, allocations: 1.109 kB / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/2.95, allocations: 3.938 kB / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/2.95, allocations: 0 / 0.6464 GB, free: 145.3 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/2.95, allocations: 4.359 kB / 0.6464 GB, free: 145.3 MB / 475.1 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 8.599e-05/2.95, allocations: 134 kB / 0.6465 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001136/2.95, allocations: 45.34 kB / 0.6466 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/2.95, allocations: 3.5 kB / 0.6466 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/2.95, allocations: 4.359 kB / 0.6466 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/2.95, allocations: 0.5625 kB / 0.6466 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/2.95, allocations: 0 / 0.6466 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.951, allocations: 0 / 0.6466 GB, free: 145.1 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.788e-05/2.951, allocations: 127.8 kB / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/2.951, allocations: 3.719 kB / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-06/2.951, allocations: 7.422 kB / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/2.951, allocations: 0 / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/2.951, allocations: 0 / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/2.951, allocations: 0.5156 kB / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.951, allocations: 0 / 0.6467 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/2.951, allocations: 70.58 kB / 0.6468 GB, free: 144.9 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/2.951, allocations: 77.91 kB / 0.6469 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/2.951, allocations: 7.203 kB / 0.6469 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/2.951, allocations: 0 / 0.6469 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/2.951, allocations: 3.984 kB / 0.6469 GB, free: 144.8 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/2.951, allocations: 3.844 kB / 0.6469 GB, free: 144.8 MB / 475.1 MB Notification: Performance of sorting global known variables: time 2.126e-05/2.951, allocations: 75.28 kB / 0.6469 GB, free: 144.7 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.91e-07/2.951, allocations: 0 / 0.6469 GB, free: 144.7 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.021/2.972, allocations: 2.158 MB / 0.649 GB, free: 144.7 MB / 475.1 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.03307/3.005, allocations: 2.772 MB / 0.6518 GB, free: 144 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/3.005, allocations: 56.25 kB / 0.6518 GB, free: 143.9 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/3.005, allocations: 0 / 0.6518 GB, free: 143.9 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/3.006, allocations: 58.97 kB / 0.6519 GB, free: 143.9 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/3.006, allocations: 11.78 kB / 0.6519 GB, free: 143.9 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006738/3.012, allocations: 185.6 kB / 0.6521 GB, free: 143.7 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/3.013, allocations: 0.677 MB / 0.6527 GB, free: 143 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/3.013, allocations: 9.141 kB / 0.6527 GB, free: 143 MB / 475.1 MB Notification: Performance of SimCode: time 1.102e-06/3.013, allocations: 1.406 kB / 0.6527 GB, free: 143 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 13.38/16.39, allocations: 121.2 MB / 0.7711 GB, free: 37.96 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat