Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions",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.00268/0.00268, allocations: 179.7 kB / 14.15 MB, free: 1.176 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.635/1.635, allocations: 221.4 MB / 236 MB, free: 2.953 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.0009035/0.0009036, allocations: 91.98 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-05/5.308e-05, allocations: 4.219 kB / 451.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.6098, allocations: 89.46 MB / 0.5892 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.6101, allocations: 71.95 kB / 0.5892 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7243/1.334, allocations: 71.93 MB / 0.6595 GB, free: 7.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.334, allocations: 0 / 0.6595 GB, free: 7.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/1.334, allocations: 0 / 0.6595 GB, free: 7.648 MB / 474.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.004599/1.339, allocations: 475.7 kB / 0.6599 GB, free: 7.133 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.339, allocations: 8.031 kB / 0.6599 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/1.339, allocations: 34.56 kB / 0.66 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/1.339, allocations: 0 / 0.66 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.339, allocations: 167 kB / 0.6601 GB, free: 6.879 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.339, allocations: 7.938 kB / 0.6601 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/1.339, allocations: 0 / 0.6601 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/1.34, allocations: 33.7 kB / 0.6602 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.34, allocations: 0 / 0.6602 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/1.34, allocations: 0 / 0.6602 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.34, allocations: 0 / 0.6602 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/1.34, allocations: 4 kB / 0.6602 GB, free: 6.828 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/1.34, allocations: 240.9 kB / 0.6604 GB, free: 6.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/1.34, allocations: 18.58 kB / 0.6604 GB, free: 6.516 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/1.34, allocations: 8.922 kB / 0.6604 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/1.34, allocations: 0 / 0.6604 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.34, allocations: 64.27 kB / 0.6605 GB, free: 6.426 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/1.34, allocations: 0 / 0.6605 GB, free: 6.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002005/1.34, allocations: 71.33 kB / 0.6606 GB, free: 6.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/1.34, allocations: 77.11 kB / 0.6606 GB, free: 6.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/1.34, allocations: 85 kB / 0.6607 GB, free: 6.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.34, allocations: 25.7 kB / 0.6607 GB, free: 6.129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/1.34, allocations: 80.14 kB / 0.6608 GB, free: 6.047 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/1.34, allocations: 11.91 kB / 0.6608 GB, free: 6.035 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/1.34, allocations: 0 / 0.6608 GB, free: 6.035 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/1.341, allocations: 318.8 kB / 0.6611 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/1.341, allocations: 0 / 0.6611 GB, free: 5.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/1.341, allocations: 4 kB / 0.6611 GB, free: 5.711 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/1.341, allocations: 33.69 kB / 0.6612 GB, free: 5.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.341, allocations: 0 / 0.6612 GB, free: 5.672 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.345e-05/1.341, allocations: 63.41 kB / 0.6612 GB, free: 5.598 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.341, allocations: 33.64 kB / 0.6613 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.341, allocations: 7.938 kB / 0.6613 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.341, allocations: 8.078 kB / 0.6613 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.45e-05/1.341, allocations: 0 / 0.6613 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.341, allocations: 0 / 0.6613 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/1.341, allocations: 0 / 0.6613 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/1.341, allocations: 0 / 0.6613 GB, free: 5.543 MB / 474.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.618e-05/1.341, allocations: 134.6 kB / 0.6614 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/1.341, allocations: 0 / 0.6614 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/1.341, allocations: 7.125 kB / 0.6614 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.341, allocations: 0 / 0.6614 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.341, allocations: 4 kB / 0.6614 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.341, allocations: 4 kB / 0.6614 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/1.341, allocations: 300.3 kB / 0.6617 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.341, allocations: 0 / 0.6617 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-06/1.341, allocations: 3.938 kB / 0.6617 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.341, allocations: 11.92 kB / 0.6617 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/1.341, allocations: 0 / 0.6617 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.341, allocations: 0 / 0.6617 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.341, allocations: 0 / 0.6617 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/1.342, allocations: 177.2 kB / 0.6619 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/1.342, allocations: 77.11 kB / 0.662 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/1.342, allocations: 0 / 0.662 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/1.342, allocations: 0 / 0.662 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/1.342, allocations: 4 kB / 0.662 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/1.342, allocations: 0 / 0.662 GB, free: 4.715 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.136e-05/1.342, allocations: 75.28 kB / 0.662 GB, free: 4.641 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.342, allocations: 0 / 0.662 GB, free: 4.641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006925/1.349, allocations: 1.531 MB / 0.6635 GB, free: 3.109 MB / 474.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.01484/1.364, allocations: 2.647 MB / 0.6661 GB, free: 452 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/1.364, allocations: 67.34 kB / 0.6662 GB, free: 372 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.364, allocations: 0 / 0.6662 GB, free: 372 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/1.364, allocations: 55.41 kB / 0.6662 GB, free: 304 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.364, allocations: 3.938 kB / 0.6662 GB, free: 300 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/1.368, allocations: 190.8 kB / 0.6664 GB, free: 72 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.368, allocations: 0.6772 MB / 0.6671 GB, free: 15.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.317e-05/1.368, allocations: 4 kB / 0.6671 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/1.368, allocations: 11.44 kB / 0.6671 GB, free: 15.35 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/1.368, allocations: 0 / 0.6671 GB, free: 15.35 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5117/1.88, allocations: 88.19 MB / 0.7532 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.88, allocations: 198.5 kB / 0.7534 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/10.53, allocations: 0 / 0.7534 GB, free: 126.3 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat