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.001099/0.0011, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008715/0.0008713, allocations: 90.62 kB / 261.8 MB, free: 1.672 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.2388/0.2388, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.96e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5999, allocations: 86.3 MB / 0.5503 GB, free: 8.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.6002, allocations: 69.5 kB / 0.5504 GB, free: 8.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113/1.713, allocations: 96.73 MB / 0.6448 GB, free: 1.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.713, allocations: 3.828 kB / 0.6448 GB, free: 1.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/1.713, allocations: 3.938 kB / 0.6448 GB, free: 1.016 MB / 442.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.004468/1.717, allocations: 436 kB / 0.6453 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.717, allocations: 8.031 kB / 0.6453 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/1.717, allocations: 7.938 kB / 0.6453 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.718, allocations: 159.1 kB / 0.6454 GB, free: 336 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.718, allocations: 0 / 0.6454 GB, free: 336 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1.718, allocations: 4 kB / 0.6454 GB, free: 332 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.363e-05/1.718, allocations: 3.938 kB / 0.6454 GB, free: 328 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.173e-05/1.718, allocations: 25.7 kB / 0.6455 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.718, allocations: 4.734 kB / 0.6455 GB, free: 292 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/1.718, allocations: 4 kB / 0.6455 GB, free: 288 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.718, allocations: 4 kB / 0.6455 GB, free: 284 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/1.718, allocations: 138.2 kB / 0.6456 GB, free: 108 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.639e-05/1.718, allocations: 14.58 kB / 0.6456 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/1.718, allocations: 4.859 kB / 0.6456 GB, free: 76 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/1.718, allocations: 4.094 kB / 0.6456 GB, free: 72 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.718, allocations: 56.38 kB / 0.6457 GB, free: 16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/1.718, allocations: 11.88 kB / 0.6457 GB, free: 15.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002135/1.718, allocations: 29.7 kB / 0.6457 GB, free: 15.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.718, allocations: 85.11 kB / 0.6458 GB, free: 15.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.844e-05/1.718, allocations: 88.98 kB / 0.6459 GB, free: 15.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/1.718, allocations: 25.7 kB / 0.6459 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/1.718, allocations: 80.14 kB / 0.646 GB, free: 15.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/1.718, allocations: 0 / 0.646 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/1.719, allocations: 0 / 0.646 GB, free: 15.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/1.719, allocations: 315.6 kB / 0.6463 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/1.719, allocations: 0 / 0.6463 GB, free: 15.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/1.719, allocations: 7.828 kB / 0.6463 GB, free: 15.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/1.719, allocations: 3.953 kB / 0.6463 GB, free: 15.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.719, allocations: 0 / 0.6463 GB, free: 15.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.533e-05/1.719, allocations: 37.64 kB / 0.6463 GB, free: 15.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.719, allocations: 33.69 kB / 0.6464 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.719, allocations: 0 / 0.6464 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.719, allocations: 0 / 0.6464 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/1.719, allocations: 4.094 kB / 0.6464 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.719, allocations: 4 kB / 0.6464 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/1.719, allocations: 4 kB / 0.6464 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.719, allocations: 0 / 0.6464 GB, free: 15.22 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 8.459e-05/1.719, allocations: 134.6 kB / 0.6465 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.141e-05/1.719, allocations: 41.69 kB / 0.6465 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/1.719, allocations: 0 / 0.6465 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/1.719, allocations: 3.75 kB / 0.6465 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.719, allocations: 0 / 0.6465 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.719, allocations: 4.031 kB / 0.6465 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/1.719, allocations: 0 / 0.6465 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.453e-05/1.719, allocations: 134.2 kB / 0.6467 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/1.719, allocations: 0 / 0.6467 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/1.719, allocations: 0 / 0.6467 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.719, allocations: 0 / 0.6467 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/1.719, allocations: 0 / 0.6467 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.719, allocations: 0 / 0.6467 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.719, allocations: 3.938 kB / 0.6467 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/1.719, allocations: 73.08 kB / 0.6467 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/1.719, allocations: 77.11 kB / 0.6468 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/1.719, allocations: 0 / 0.6468 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/1.719, allocations: 0 / 0.6468 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/1.719, allocations: 4 kB / 0.6468 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.719, allocations: 0 / 0.6468 GB, free: 14.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.684e-05/1.72, allocations: 75.28 kB / 0.6469 GB, free: 14.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.72, allocations: 3.938 kB / 0.6469 GB, free: 14.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008366/1.728, allocations: 2.164 MB / 0.649 GB, free: 12.42 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.01479/1.743, allocations: 2.765 MB / 0.6517 GB, free: 9.625 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/1.743, allocations: 59.39 kB / 0.6518 GB, free: 9.555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/1.743, allocations: 0 / 0.6518 GB, free: 9.555 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/1.743, allocations: 59.41 kB / 0.6518 GB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/1.743, allocations: 0 / 0.6518 GB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/1.747, allocations: 157.4 kB / 0.652 GB, free: 9.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/1.747, allocations: 0.6768 MB / 0.6526 GB, free: 8.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.953e-06/1.747, allocations: 4.125 kB / 0.6526 GB, free: 8.586 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/1.747, allocations: 7.438 kB / 0.6527 GB, free: 8.578 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/1.747, allocations: 0 / 0.6527 GB, free: 8.578 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5485/2.296, allocations: 125.9 MB / 0.7756 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/2.296, allocations: 164.5 kB / 0.7758 GB, free: 104 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/17.44, allocations: 4.844 kB / 0.7758 GB, free: 104 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