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.001402/0.001402, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008952, allocations: 84.02 kB / 292.1 MB, free: 10.7 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.3891/0.3891, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002994, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3477, allocations: 61.9 MB / 0.5096 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4704, allocations: 88.12 MB / 0.5957 GB, free: 6.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4706, allocations: 71.94 kB / 0.5958 GB, free: 6.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34/1.811, allocations: 97.23 MB / 0.6907 GB, free: 131.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.811, allocations: 0 / 0.6907 GB, free: 131.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/1.811, allocations: 0 / 0.6907 GB, free: 131.7 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.003979/1.815, allocations: 440 kB / 0.6911 GB, free: 131.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.815, allocations: 8.688 kB / 0.6911 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/1.815, allocations: 37.47 kB / 0.6912 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/1.815, allocations: 0 / 0.6912 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.987e-05/1.815, allocations: 167.5 kB / 0.6913 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/1.815, allocations: 4 kB / 0.6913 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/1.815, allocations: 10.92 kB / 0.6914 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/1.815, allocations: 28.52 kB / 0.6914 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/1.815, allocations: 0 / 0.6914 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/1.815, allocations: 0 / 0.6914 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/1.815, allocations: 0 / 0.6914 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/1.815, allocations: 8.297 kB / 0.6914 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/1.815, allocations: 228.6 kB / 0.6916 GB, free: 130.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/1.815, allocations: 29.61 kB / 0.6916 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/1.815, allocations: 0 / 0.6916 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.815, allocations: 60.23 kB / 0.6917 GB, free: 130.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/1.815, allocations: 0 / 0.6917 GB, free: 130.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001899/1.816, allocations: 71.83 kB / 0.6918 GB, free: 130.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/1.816, allocations: 81.05 kB / 0.6918 GB, free: 130.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.237e-05/1.816, allocations: 89.12 kB / 0.6919 GB, free: 130.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/1.816, allocations: 32.55 kB / 0.692 GB, free: 130.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.518e-05/1.816, allocations: 80.14 kB / 0.692 GB, free: 130.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/1.816, allocations: 3.906 kB / 0.692 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/1.816, allocations: 0 / 0.692 GB, free: 130.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/1.816, allocations: 310.8 kB / 0.6923 GB, free: 130 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/1.816, allocations: 6.266 kB / 0.6923 GB, free: 130 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/1.816, allocations: 7 kB / 0.6923 GB, free: 130 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/1.816, allocations: 29.77 kB / 0.6924 GB, free: 129.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.816, allocations: 6.906 kB / 0.6924 GB, free: 129.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.645e-05/1.816, allocations: 64.36 kB / 0.6924 GB, free: 129.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.816, allocations: 35.38 kB / 0.6925 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.816, allocations: 0 / 0.6925 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.816, allocations: 0 / 0.6925 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.548e-05/1.816, allocations: 0 / 0.6925 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.816, allocations: 0 / 0.6925 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/1.816, allocations: 3.938 kB / 0.6925 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/1.816, allocations: 2.875 kB / 0.6925 GB, free: 129.8 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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Number of clocked 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 6.624e-05/1.816, allocations: 147.1 kB / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/1.816, allocations: 3.953 kB / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/1.816, allocations: 10.52 kB / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.816, allocations: 0 / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.816, allocations: 0 / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.816, allocations: 3.094 kB / 0.6926 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/1.816, allocations: 289.8 kB / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.817, allocations: 4.828 kB / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/1.817, allocations: 0 / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.817, allocations: 4.031 kB / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/1.817, allocations: 0 / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.817, allocations: 0 / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.817, allocations: 9.438 kB / 0.6929 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.822e-05/1.817, allocations: 166.3 kB / 0.6931 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/1.817, allocations: 84.39 kB / 0.6932 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/1.817, allocations: 2.656 kB / 0.6932 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/1.817, allocations: 4.031 kB / 0.6932 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/1.817, allocations: 3 kB / 0.6932 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/1.817, allocations: 0 / 0.6932 GB, free: 129 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.708e-05/1.817, allocations: 75.28 kB / 0.6933 GB, free: 129 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.817, allocations: 0 / 0.6933 GB, free: 129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007552/1.824, allocations: 2.162 MB / 0.6954 GB, free: 128.9 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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * 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.0129/1.837, allocations: 2.884 MB / 0.6982 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/1.837, allocations: 60.12 kB / 0.6982 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.838, allocations: 2.906 kB / 0.6982 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/1.838, allocations: 58.09 kB / 0.6983 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/1.838, allocations: 7.188 kB / 0.6983 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/1.841, allocations: 386.1 kB / 0.6987 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/1.841, allocations: 0.6755 MB / 0.6993 GB, free: 127 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.314e-05/1.841, allocations: 96 / 0.6993 GB, free: 127 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/1.841, allocations: 14.31 kB / 0.6993 GB, free: 127 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/1.841, allocations: 0 / 0.6993 GB, free: 127 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1902/2.031, allocations: 124.7 MB / 0.8211 GB, free: 25.05 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/2.032, allocations: 221 kB / 0.8213 GB, free: 24.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/16.59, allocations: 0 / 0.8213 GB, free: 24.8 MB / 490.7 MB (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