Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestTruncatedDistributions",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.001515/0.001515, allocations: 177.8 kB / 8.36 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.02/2.02, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001153/0.001153, allocations: 89.7 kB / 262.1 MB, free: 13.87 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.3001/0.3001, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.075e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4079, allocations: 58.86 MB / 477.2 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5721, allocations: 87.73 MB / 0.5517 GB, free: 11.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5724, allocations: 63.97 kB / 0.5517 GB, free: 11.47 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.447/2.019, allocations: 71.58 MB / 0.6216 GB, free: 3.805 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.425e-06/2.019, allocations: 0 / 0.6216 GB, free: 3.805 MB / 459.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/2.019, allocations: 0 / 0.6216 GB, free: 3.805 MB / 459.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.004743/2.024, allocations: 467.9 kB / 0.6221 GB, free: 3.297 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/2.024, allocations: 12.03 kB / 0.6221 GB, free: 3.285 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/2.024, allocations: 3.953 kB / 0.6221 GB, free: 3.281 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/2.024, allocations: 159.1 kB / 0.6223 GB, free: 3.086 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/2.024, allocations: 3.984 kB / 0.6223 GB, free: 3.082 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/2.024, allocations: 3.938 kB / 0.6223 GB, free: 3.078 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.021e-05/2.024, allocations: 4 kB / 0.6223 GB, free: 3.074 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.137e-05/2.025, allocations: 33.64 kB / 0.6223 GB, free: 3.035 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/2.025, allocations: 3.938 kB / 0.6223 GB, free: 3.031 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/2.025, allocations: 3.984 kB / 0.6223 GB, free: 3.027 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/2.025, allocations: 0 / 0.6223 GB, free: 3.027 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/2.025, allocations: 134.2 kB / 0.6224 GB, free: 2.859 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/2.025, allocations: 18.61 kB / 0.6224 GB, free: 2.832 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/2.025, allocations: 4.859 kB / 0.6225 GB, free: 2.824 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/2.025, allocations: 4 kB / 0.6225 GB, free: 2.82 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/2.025, allocations: 60.25 kB / 0.6225 GB, free: 2.746 MB / 459.1 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/2.025, allocations: 4.062 kB / 0.6225 GB, free: 2.742 MB / 459.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002153/2.025, allocations: 33.64 kB / 0.6226 GB, free: 2.703 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/2.025, allocations: 77.11 kB / 0.6226 GB, free: 2.609 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/2.025, allocations: 89 kB / 0.6227 GB, free: 2.516 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/2.025, allocations: 25.7 kB / 0.6227 GB, free: 2.484 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/2.025, allocations: 158.6 kB / 0.6229 GB, free: 2.328 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/2.025, allocations: 0.625 kB / 0.6229 GB, free: 2.328 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/2.025, allocations: 0 / 0.6229 GB, free: 2.328 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/2.026, allocations: 314.8 kB / 0.6232 GB, free: 2.012 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/2.026, allocations: 0 / 0.6232 GB, free: 2.012 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/2.026, allocations: 0 / 0.6232 GB, free: 2.012 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/2.026, allocations: 7.953 kB / 0.6232 GB, free: 2.004 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/2.026, allocations: 0 / 0.6232 GB, free: 2.004 MB / 459.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.184e-05/2.026, allocations: 29.77 kB / 0.6232 GB, free: 1.969 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/2.026, allocations: 37.73 kB / 0.6233 GB, free: 1.926 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/2.026, allocations: 0 / 0.6233 GB, free: 1.926 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/2.026, allocations: 0 / 0.6233 GB, free: 1.926 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-06/2.026, allocations: 7.922 kB / 0.6233 GB, free: 1.918 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/2.026, allocations: 0 / 0.6233 GB, free: 1.918 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/2.026, allocations: 4 kB / 0.6233 GB, free: 1.914 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/2.026, allocations: 4 kB / 0.6233 GB, free: 1.91 MB / 459.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 0.0001101/2.026, allocations: 134.6 kB / 0.6234 GB, free: 1.766 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.81e-05/2.026, allocations: 37.7 kB / 0.6234 GB, free: 1.723 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/2.026, allocations: 7.984 kB / 0.6234 GB, free: 1.715 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/2.026, allocations: 3.75 kB / 0.6234 GB, free: 1.711 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/2.026, allocations: 3.938 kB / 0.6235 GB, free: 1.707 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.026, allocations: 0 / 0.6235 GB, free: 1.707 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/2.026, allocations: 0 / 0.6235 GB, free: 1.707 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.949e-05/2.026, allocations: 126.2 kB / 0.6236 GB, free: 1.547 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/2.026, allocations: 4 kB / 0.6236 GB, free: 1.543 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/2.026, allocations: 0 / 0.6236 GB, free: 1.543 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/2.026, allocations: 0 / 0.6236 GB, free: 1.543 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/2.026, allocations: 0 / 0.6236 GB, free: 1.543 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/2.026, allocations: 8.016 kB / 0.6236 GB, free: 1.535 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.026, allocations: 3.938 kB / 0.6236 GB, free: 1.531 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/2.027, allocations: 72.94 kB / 0.6237 GB, free: 1.441 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/2.027, allocations: 77.11 kB / 0.6237 GB, free: 1.348 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/2.027, allocations: 3.984 kB / 0.6237 GB, free: 1.344 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/2.027, allocations: 0 / 0.6237 GB, free: 1.344 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/2.027, allocations: 0 / 0.6237 GB, free: 1.344 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/2.027, allocations: 8.031 kB / 0.6237 GB, free: 1.336 MB / 459.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/2.027, allocations: 75.28 kB / 0.6238 GB, free: 1.262 MB / 459.1 MB Notification: Performance of sort global known variables: time 3.91e-07/2.027, allocations: 0 / 0.6238 GB, free: 1.262 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01037/2.037, allocations: 1.523 MB / 0.6253 GB, free: 15.73 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.01749/2.055, allocations: 2.537 MB / 0.6278 GB, free: 13.17 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/2.055, allocations: 55.41 kB / 0.6278 GB, free: 13.1 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/2.055, allocations: 0 / 0.6278 GB, free: 13.1 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/2.055, allocations: 59.39 kB / 0.6279 GB, free: 13.03 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/2.055, allocations: 3.094 kB / 0.6279 GB, free: 13.03 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/2.059, allocations: 223 kB / 0.6281 GB, free: 12.77 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/2.06, allocations: 0.6729 MB / 0.6288 GB, free: 12.07 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/2.06, allocations: 11.44 kB / 0.6288 GB, free: 12.06 MB / 475.1 MB Notification: Performance of SimCode: time 1.423e-06/2.06, allocations: 0 / 0.6288 GB, free: 12.06 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.925/11.99, allocations: 86.25 MB / 0.713 GB, free: 91.66 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat