Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",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.001418/0.001418, allocations: 183 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.872/1.872, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001135/0.001135, allocations: 90.53 kB / 267.1 MB, free: 9.277 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.4598/0.4598, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.886e-05, allocations: 4 kB / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 58.84 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5687, allocations: 86.48 MB / 0.5573 GB, free: 2.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.5689, allocations: 67.97 kB / 0.5574 GB, free: 2.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6752/1.244, allocations: 48.63 MB / 0.6049 GB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.073e-06/1.244, allocations: 0 / 0.6049 GB, free: 1.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/1.244, allocations: 0 / 0.6049 GB, free: 1.766 MB / 426.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.002663/1.247, allocations: 447.9 kB / 0.6053 GB, free: 1.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.247, allocations: 8.031 kB / 0.6053 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.177e-05/1.247, allocations: 31.34 kB / 0.6054 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/1.247, allocations: 7.438 kB / 0.6054 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/1.247, allocations: 167 kB / 0.6055 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/1.247, allocations: 4 kB / 0.6055 GB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/1.247, allocations: 0 / 0.6055 GB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/1.247, allocations: 38.25 kB / 0.6056 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.247, allocations: 0 / 0.6056 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/1.247, allocations: 1.375 kB / 0.6056 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.247, allocations: 0 / 0.6056 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/1.247, allocations: 4 kB / 0.6056 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/1.248, allocations: 232.9 kB / 0.6058 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/1.248, allocations: 26.56 kB / 0.6058 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/1.248, allocations: 8.922 kB / 0.6058 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/1.248, allocations: 0 / 0.6058 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/1.248, allocations: 60.27 kB / 0.6059 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.248, allocations: 4 kB / 0.6059 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002189/1.248, allocations: 69.06 kB / 0.606 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/1.248, allocations: 81.09 kB / 0.606 GB, free: 408 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/1.248, allocations: 85 kB / 0.6061 GB, free: 316 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/1.248, allocations: 29.64 kB / 0.6062 GB, free: 280 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/1.248, allocations: 80.14 kB / 0.6062 GB, free: 196 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/1.248, allocations: 11.91 kB / 0.6062 GB, free: 184 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/1.248, allocations: 0 / 0.6062 GB, free: 184 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/1.249, allocations: 314.8 kB / 0.6065 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/1.249, allocations: 4.031 kB / 0.6065 GB, free: 15.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/1.249, allocations: 4.844 kB / 0.6065 GB, free: 15.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/1.249, allocations: 29.7 kB / 0.6066 GB, free: 15.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.249, allocations: 0 / 0.6066 GB, free: 15.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.953e-05/1.249, allocations: 71.33 kB / 0.6066 GB, free: 15.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/1.249, allocations: 33.7 kB / 0.6067 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.249, allocations: 0 / 0.6067 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.249, allocations: 0 / 0.6067 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.661e-05/1.249, allocations: 0 / 0.6067 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.249, allocations: 4.094 kB / 0.6067 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/1.249, allocations: 0.9375 kB / 0.6067 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/1.249, allocations: 0 / 0.6067 GB, free: 15.7 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 () * 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.0001031/1.249, allocations: 138.6 kB / 0.6068 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/1.249, allocations: 0 / 0.6068 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/1.249, allocations: 7.125 kB / 0.6068 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.249, allocations: 4 kB / 0.6068 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.249, allocations: 0 / 0.6068 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.249, allocations: 0 / 0.6068 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/1.249, allocations: 296.3 kB / 0.6071 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.249, allocations: 3.938 kB / 0.6071 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/1.249, allocations: 7.938 kB / 0.6071 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.249, allocations: 0 / 0.6071 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/1.249, allocations: 0 / 0.6071 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/1.249, allocations: 3.984 kB / 0.6071 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.249, allocations: 0 / 0.6071 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/1.25, allocations: 173.2 kB / 0.6073 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/1.25, allocations: 81.09 kB / 0.6074 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/1.25, allocations: 0 / 0.6074 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/1.25, allocations: 4 kB / 0.6074 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/1.25, allocations: 8 kB / 0.6074 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/1.25, allocations: 0 / 0.6074 GB, free: 14.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.296e-05/1.25, allocations: 79.22 kB / 0.6075 GB, free: 14.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.25, allocations: 0 / 0.6075 GB, free: 14.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005099/1.255, allocations: 1.312 MB / 0.6087 GB, free: 13.48 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) * 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.008136/1.263, allocations: 1.808 MB / 0.6105 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/1.263, allocations: 63.34 kB / 0.6106 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.263, allocations: 0 / 0.6106 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.03e-05/1.263, allocations: 63.39 kB / 0.6106 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/1.263, allocations: 4 kB / 0.6106 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.265, allocations: 170.9 kB / 0.6108 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.266, allocations: 0.6733 MB / 0.6114 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.478e-05/1.266, allocations: 3.984 kB / 0.6114 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/1.266, allocations: 11.44 kB / 0.6115 GB, free: 10.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/1.266, allocations: 0 / 0.6115 GB, free: 10.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.385/1.651, allocations: 68.91 MB / 0.6787 GB, free: 87.94 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/1.651, allocations: 176.4 kB / 0.6789 GB, free: 87.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.396/8.047, allocations: 0 / 0.6789 GB, free: 87.72 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat