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.00182/0.00182, allocations: 181.9 kB / 15.76 MB, free: 6.363 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.715/1.715, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009331/0.0009332, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2423/0.2423, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 11.98 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 58.85 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.5221, allocations: 88.5 MB / 0.5653 GB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.5223, allocations: 66.22 kB / 0.5653 GB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7221/1.244, allocations: 71.91 MB / 0.6356 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.978e-06/1.244, allocations: 4 kB / 0.6356 GB, free: 10.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/1.244, allocations: 0 / 0.6356 GB, free: 10.23 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.004628/1.249, allocations: 468.4 kB / 0.636 GB, free: 9.719 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.249, allocations: 12.02 kB / 0.636 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.855e-05/1.249, allocations: 30.56 kB / 0.6361 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/1.249, allocations: 3.953 kB / 0.6361 GB, free: 9.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.249, allocations: 159.1 kB / 0.6362 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.249, allocations: 4 kB / 0.6362 GB, free: 9.465 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/1.249, allocations: 0 / 0.6362 GB, free: 9.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.25, allocations: 40.94 kB / 0.6363 GB, free: 9.422 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/1.25, allocations: 3.938 kB / 0.6363 GB, free: 9.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.25, allocations: 0 / 0.6363 GB, free: 9.418 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.25, allocations: 3.938 kB / 0.6363 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/1.25, allocations: 7.953 kB / 0.6363 GB, free: 9.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/1.25, allocations: 220.3 kB / 0.6365 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/1.25, allocations: 26.59 kB / 0.6365 GB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/1.25, allocations: 4 kB / 0.6365 GB, free: 9.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/1.25, allocations: 64.14 kB / 0.6366 GB, free: 9.031 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.25, allocations: 0 / 0.6366 GB, free: 9.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002285/1.25, allocations: 68.08 kB / 0.6366 GB, free: 8.953 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/1.25, allocations: 84.88 kB / 0.6367 GB, free: 8.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.949e-05/1.25, allocations: 85 kB / 0.6368 GB, free: 8.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/1.251, allocations: 25.7 kB / 0.6368 GB, free: 8.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/1.251, allocations: 88.2 kB / 0.6369 GB, free: 8.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/1.251, allocations: 7.906 kB / 0.6369 GB, free: 8.637 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.251, allocations: 0 / 0.6369 GB, free: 8.637 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.251, allocations: 310.8 kB / 0.6372 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/1.251, allocations: 0 / 0.6372 GB, free: 8.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/1.251, allocations: 6.938 kB / 0.6372 GB, free: 8.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/1.251, allocations: 37.62 kB / 0.6373 GB, free: 8.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.251, allocations: 0 / 0.6373 GB, free: 8.277 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.194e-05/1.251, allocations: 66.91 kB / 0.6373 GB, free: 8.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/1.251, allocations: 29.7 kB / 0.6373 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.251, allocations: 0 / 0.6373 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.251, allocations: 4 kB / 0.6373 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-05/1.251, allocations: 0 / 0.6373 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.251, allocations: 0 / 0.6373 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/1.251, allocations: 7.938 kB / 0.6374 GB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/1.251, allocations: 0 / 0.6374 GB, free: 8.156 MB / 442.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 0.0001012/1.251, allocations: 139.5 kB / 0.6375 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/1.251, allocations: 3 kB / 0.6375 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/1.251, allocations: 7.156 kB / 0.6375 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.251, allocations: 0 / 0.6375 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.251, allocations: 4 kB / 0.6375 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.251, allocations: 0 / 0.6375 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.252, allocations: 299.4 kB / 0.6378 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.252, allocations: 0 / 0.6378 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/1.252, allocations: 3.984 kB / 0.6378 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.252, allocations: 3.938 kB / 0.6378 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/1.252, allocations: 7.812 kB / 0.6378 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.252, allocations: 4.031 kB / 0.6378 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.252, allocations: 0 / 0.6378 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/1.252, allocations: 172.8 kB / 0.638 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/1.252, allocations: 85.11 kB / 0.6381 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/1.252, allocations: 0 / 0.6381 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/1.252, allocations: 0 / 0.6381 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/1.252, allocations: 0 / 0.6381 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/1.252, allocations: 8.031 kB / 0.6381 GB, free: 7.328 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.78e-05/1.252, allocations: 79.23 kB / 0.6381 GB, free: 7.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.252, allocations: 0 / 0.6381 GB, free: 7.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007187/1.259, allocations: 1.528 MB / 0.6396 GB, free: 5.73 MB / 442.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.01542/1.275, allocations: 2.637 MB / 0.6422 GB, free: 3.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/1.275, allocations: 63.34 kB / 0.6423 GB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.275, allocations: 0 / 0.6423 GB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/1.275, allocations: 62.58 kB / 0.6423 GB, free: 2.934 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/1.275, allocations: 4 kB / 0.6423 GB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/1.28, allocations: 403.6 kB / 0.6427 GB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.28, allocations: 0.6731 MB / 0.6434 GB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.125e-05/1.28, allocations: 7.906 kB / 0.6434 GB, free: 1.785 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/1.28, allocations: 7.438 kB / 0.6434 GB, free: 1.777 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.28, allocations: 0 / 0.6434 GB, free: 1.777 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4772/1.757, allocations: 88.18 MB / 0.7295 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.758, allocations: 231.3 kB / 0.7297 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/9.777, allocations: 3.812 kB / 0.7297 GB, free: 110.3 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