Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_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.001971/0.00197, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009473/0.0009472, allocations: 86.58 kB / 267.1 MB, free: 9.285 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.4388/0.4388, allocations: 43.46 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.903e-05, allocations: 7.984 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4337/0.5531, allocations: 88.39 MB / 0.5592 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.5533, allocations: 69.28 kB / 0.5593 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7328/1.286, allocations: 71.88 MB / 0.6295 GB, free: 304 kB / 442.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.286, allocations: 0 / 0.6295 GB, free: 304 kB / 442.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/1.286, allocations: 0 / 0.6295 GB, free: 304 kB / 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.00497/1.291, allocations: 462.4 kB / 0.6299 GB, free: 15.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/1.291, allocations: 8.031 kB / 0.6299 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/1.291, allocations: 44.16 kB / 0.63 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/1.291, allocations: 0.5625 kB / 0.63 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/1.291, allocations: 163.1 kB / 0.6301 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.292, allocations: 4 kB / 0.6301 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/1.292, allocations: 0 / 0.6301 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/1.292, allocations: 34.52 kB / 0.6302 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/1.292, allocations: 0 / 0.6302 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.292, allocations: 3.984 kB / 0.6302 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.292, allocations: 5.062 kB / 0.6302 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/1.292, allocations: 3.953 kB / 0.6302 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/1.292, allocations: 232.4 kB / 0.6304 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/1.292, allocations: 22.61 kB / 0.6304 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/1.292, allocations: 12.3 kB / 0.6304 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/1.292, allocations: 4 kB / 0.6304 GB, free: 15.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.292, allocations: 56.27 kB / 0.6305 GB, free: 15.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.292, allocations: 0 / 0.6305 GB, free: 15.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.000181/1.292, allocations: 75.22 kB / 0.6306 GB, free: 15.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/1.292, allocations: 85.14 kB / 0.6306 GB, free: 14.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.798e-05/1.292, allocations: 85 kB / 0.6307 GB, free: 14.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/1.292, allocations: 25.7 kB / 0.6307 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/1.292, allocations: 80.14 kB / 0.6308 GB, free: 14.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/1.292, allocations: 3.906 kB / 0.6308 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/1.292, allocations: 0 / 0.6308 GB, free: 14.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/1.293, allocations: 310.8 kB / 0.6311 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/1.293, allocations: 7.562 kB / 0.6311 GB, free: 14.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/1.293, allocations: 7.984 kB / 0.6311 GB, free: 14.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/1.293, allocations: 31.95 kB / 0.6312 GB, free: 14.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.293, allocations: 0 / 0.6312 GB, free: 14.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.785e-05/1.293, allocations: 63.41 kB / 0.6312 GB, free: 14.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/1.293, allocations: 34.11 kB / 0.6313 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.293, allocations: 3.984 kB / 0.6313 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.293, allocations: 3.938 kB / 0.6313 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/1.293, allocations: 0 / 0.6313 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.293, allocations: 0 / 0.6313 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/1.293, allocations: 9.047 kB / 0.6313 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.293, allocations: 4 kB / 0.6313 GB, free: 14.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: 2 (result,$outputAlias_result) * Number of discrete 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 8.099e-05/1.293, allocations: 132.4 kB / 0.6314 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/1.293, allocations: 4 kB / 0.6314 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/1.293, allocations: 3.125 kB / 0.6314 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/1.293, allocations: 0 / 0.6314 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.293, allocations: 0 / 0.6314 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/1.293, allocations: 0 / 0.6314 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/1.293, allocations: 307.9 kB / 0.6317 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.293, allocations: 7.969 kB / 0.6317 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-06/1.293, allocations: 3.938 kB / 0.6317 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/1.293, allocations: 0 / 0.6317 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/1.293, allocations: 0 / 0.6317 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/1.293, allocations: 0 / 0.6317 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.293, allocations: 3.953 kB / 0.6317 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/1.293, allocations: 164.4 kB / 0.6319 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/1.293, allocations: 78.55 kB / 0.632 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/1.294, allocations: 4 kB / 0.632 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/1.294, allocations: 4 kB / 0.632 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/1.294, allocations: 0 / 0.632 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/1.294, allocations: 3.953 kB / 0.632 GB, free: 13.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.502e-05/1.294, allocations: 75.28 kB / 0.632 GB, free: 13.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 0 / 0.632 GB, free: 13.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006473/1.3, allocations: 1.537 MB / 0.6335 GB, free: 11.82 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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * 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.01236/1.312, allocations: 2.626 MB / 0.6361 GB, free: 9.184 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/1.313, allocations: 66.66 kB / 0.6362 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.313, allocations: 4.094 kB / 0.6362 GB, free: 9.105 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/1.313, allocations: 55.41 kB / 0.6362 GB, free: 9.039 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/1.313, allocations: 5.094 kB / 0.6362 GB, free: 9.035 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/1.316, allocations: 197.6 kB / 0.6364 GB, free: 8.809 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/1.316, allocations: 0.677 MB / 0.6371 GB, free: 8.105 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.312e-05/1.317, allocations: 0 / 0.6371 GB, free: 8.105 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/1.317, allocations: 7.438 kB / 0.6371 GB, free: 8.098 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/1.317, allocations: 3.938 kB / 0.6371 GB, free: 8.094 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4858/1.802, allocations: 88.19 MB / 0.7232 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/1.803, allocations: 205 kB / 0.7234 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/10.03, allocations: 3.219 kB / 0.7234 GB, free: 96.63 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat