Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009766, allocations: 93.08 kB / 281.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.16 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.518e-05, allocations: 8.203 kB / 444.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 61.91 MB / 0.4948 GB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5587, allocations: 87.39 MB / 0.5801 GB, free: 9.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.559, allocations: 67.91 kB / 0.5802 GB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/1.676, allocations: 96.8 MB / 0.6747 GB, free: 8.051 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/1.676, allocations: 0 / 0.6747 GB, free: 8.051 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/1.676, allocations: 0 / 0.6747 GB, free: 8.051 MB / 490.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.003628/1.68, allocations: 439.9 kB / 0.6751 GB, free: 7.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.68, allocations: 11.98 kB / 0.6751 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/1.68, allocations: 0 / 0.6751 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/1.68, allocations: 167 kB / 0.6753 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/1.68, allocations: 0 / 0.6753 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/1.68, allocations: 4 kB / 0.6753 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.045e-05/1.68, allocations: 4 kB / 0.6753 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.277e-05/1.68, allocations: 29.69 kB / 0.6753 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/1.68, allocations: 0 / 0.6753 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/1.68, allocations: 4 kB / 0.6753 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.68, allocations: 0 / 0.6753 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/1.68, allocations: 126.2 kB / 0.6755 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/1.681, allocations: 22.47 kB / 0.6755 GB, free: 7.121 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/1.681, allocations: 8.953 kB / 0.6755 GB, free: 7.109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/1.681, allocations: 4 kB / 0.6755 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.681, allocations: 56.27 kB / 0.6755 GB, free: 7.035 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.681, allocations: 0 / 0.6755 GB, free: 7.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001872/1.681, allocations: 33.69 kB / 0.6756 GB, free: 6.996 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.681, allocations: 89.05 kB / 0.6757 GB, free: 6.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.512e-05/1.681, allocations: 85 kB / 0.6757 GB, free: 6.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.681, allocations: 25.7 kB / 0.6758 GB, free: 6.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/1.681, allocations: 84.17 kB / 0.6758 GB, free: 6.684 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/1.681, allocations: 0 / 0.6758 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/1.681, allocations: 0 / 0.6758 GB, free: 6.684 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/1.681, allocations: 310.8 kB / 0.6761 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/1.681, allocations: 8.688 kB / 0.6761 GB, free: 6.363 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-06/1.681, allocations: 0 / 0.6761 GB, free: 6.363 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/1.681, allocations: 3.984 kB / 0.6761 GB, free: 6.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.681, allocations: 0 / 0.6761 GB, free: 6.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.209e-05/1.681, allocations: 33.7 kB / 0.6762 GB, free: 6.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.681, allocations: 37.75 kB / 0.6762 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.681, allocations: 0 / 0.6762 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.681, allocations: 0 / 0.6762 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/1.681, allocations: 3.938 kB / 0.6762 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/1.681, allocations: 4 kB / 0.6762 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/1.681, allocations: 0 / 0.6762 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/1.681, allocations: 7.984 kB / 0.6762 GB, free: 6.262 MB / 490.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.517e-05/1.681, allocations: 128.9 kB / 0.6764 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.057e-05/1.682, allocations: 41.64 kB / 0.6764 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/1.682, allocations: 7.984 kB / 0.6764 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/1.682, allocations: 7.703 kB / 0.6764 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.682, allocations: 3.984 kB / 0.6764 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.682, allocations: 0 / 0.6764 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/1.682, allocations: 0 / 0.6764 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.712e-05/1.682, allocations: 126.2 kB / 0.6765 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.682, allocations: 0 / 0.6765 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/1.682, allocations: 0 / 0.6765 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/1.682, allocations: 0 / 0.6765 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/1.682, allocations: 7.953 kB / 0.6765 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.682, allocations: 4 kB / 0.6765 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.682, allocations: 0 / 0.6765 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/1.682, allocations: 69.11 kB / 0.6766 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/1.682, allocations: 77.11 kB / 0.6767 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/1.682, allocations: 0 / 0.6767 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/1.682, allocations: 7.891 kB / 0.6767 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/1.682, allocations: 7.984 kB / 0.6767 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.682, allocations: 3.938 kB / 0.6767 GB, free: 5.688 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/1.682, allocations: 79.31 kB / 0.6768 GB, free: 5.609 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.682, allocations: 0 / 0.6768 GB, free: 5.609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007678/1.69, allocations: 2.156 MB / 0.6789 GB, free: 3.453 MB / 490.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.01253/1.702, allocations: 2.758 MB / 0.6816 GB, free: 0.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/1.702, allocations: 59.34 kB / 0.6816 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.702, allocations: 0 / 0.6816 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/1.702, allocations: 59.41 kB / 0.6817 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.582e-05/1.703, allocations: 8.078 kB / 0.6817 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/1.707, allocations: 153.5 kB / 0.6818 GB, free: 340 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.708, allocations: 0.6806 MB / 0.6825 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.252e-05/1.708, allocations: 0 / 0.6825 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/1.708, allocations: 7.438 kB / 0.6825 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of SimCode: time 2.284e-06/1.708, allocations: 0 / 0.6825 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.486/2.194, allocations: 125.9 MB / 0.8055 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/2.194, allocations: 170 kB / 0.8056 GB, free: 69.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/17.22, allocations: 0 / 0.8056 GB, free: 69.19 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat