Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001457/0.001457, allocations: 177.8 kB / 8.363 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.228/2.228, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001115/0.001115, allocations: 91.67 kB / 262.1 MB, free: 13.88 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.2936/0.2936, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.397e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.439, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.6141, allocations: 85.83 MB / 0.5498 GB, free: 13.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.6144, allocations: 67.47 kB / 0.5499 GB, free: 13.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.275/1.89, allocations: 48.46 MB / 0.5972 GB, free: 12.8 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.705e-06/1.89, allocations: 3.938 kB / 0.5972 GB, free: 12.8 MB / 443.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/1.89, allocations: 0 / 0.5972 GB, free: 12.8 MB / 443.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.004327/1.894, allocations: 444 kB / 0.5976 GB, free: 12.32 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/1.894, allocations: 8.031 kB / 0.5976 GB, free: 12.31 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/1.894, allocations: 0 / 0.5976 GB, free: 12.31 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.894, allocations: 167 kB / 0.5978 GB, free: 12.11 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.895, allocations: 4 kB / 0.5978 GB, free: 12.1 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/1.895, allocations: 0 / 0.5978 GB, free: 12.1 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.523e-05/1.895, allocations: 3.938 kB / 0.5978 GB, free: 12.1 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/1.895, allocations: 29.7 kB / 0.5978 GB, free: 12.06 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.895, allocations: 3.984 kB / 0.5978 GB, free: 12.06 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.895, allocations: 0 / 0.5978 GB, free: 12.06 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.895, allocations: 0 / 0.5978 GB, free: 12.06 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/1.895, allocations: 126.2 kB / 0.5979 GB, free: 11.9 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/1.895, allocations: 19.14 kB / 0.598 GB, free: 11.87 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/1.895, allocations: 12.95 kB / 0.598 GB, free: 11.86 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/1.895, allocations: 0 / 0.598 GB, free: 11.86 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.122e-05/1.895, allocations: 60.2 kB / 0.598 GB, free: 11.78 MB / 443.1 MB Notification: Performance of pre-optimization done (n=1): time 2.936e-06/1.895, allocations: 0 / 0.598 GB, free: 11.78 MB / 443.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002419/1.896, allocations: 37.69 kB / 0.5981 GB, free: 11.74 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/1.896, allocations: 81.14 kB / 0.5981 GB, free: 11.64 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/1.896, allocations: 85 kB / 0.5982 GB, free: 11.55 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/1.896, allocations: 25.7 kB / 0.5982 GB, free: 11.52 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/1.896, allocations: 150.6 kB / 0.5984 GB, free: 11.37 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/1.896, allocations: 0 / 0.5984 GB, free: 11.37 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/1.896, allocations: 0 / 0.5984 GB, free: 11.37 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/1.896, allocations: 322.8 kB / 0.5987 GB, free: 11.05 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/1.896, allocations: 0 / 0.5987 GB, free: 11.05 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.064e-05/1.896, allocations: 0 / 0.5987 GB, free: 11.05 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/1.896, allocations: 4.062 kB / 0.5987 GB, free: 11.04 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.896, allocations: 0 / 0.5987 GB, free: 11.04 MB / 443.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001544/1.896, allocations: 45.58 kB / 0.5987 GB, free: 10.99 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/1.897, allocations: 29.7 kB / 0.5988 GB, free: 10.96 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.897, allocations: 0 / 0.5988 GB, free: 10.96 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.897, allocations: 4 kB / 0.5988 GB, free: 10.95 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/1.897, allocations: 3.938 kB / 0.5988 GB, free: 10.95 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.897, allocations: 7.984 kB / 0.5988 GB, free: 10.94 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/1.897, allocations: 0 / 0.5988 GB, free: 10.94 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/1.897, allocations: 0 / 0.5988 GB, free: 10.94 MB / 443.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.0001431/1.897, allocations: 134.7 kB / 0.5989 GB, free: 10.8 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001479/1.897, allocations: 49.62 kB / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/1.897, allocations: 0 / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/1.897, allocations: 3.75 kB / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.897, allocations: 0 / 0.599 GB, free: 10.74 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.897, allocations: 4 kB / 0.599 GB, free: 10.73 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.897, allocations: 0 / 0.599 GB, free: 10.73 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/1.897, allocations: 126.2 kB / 0.5991 GB, free: 10.57 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.897, allocations: 0 / 0.5991 GB, free: 10.57 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/1.897, allocations: 7.984 kB / 0.5991 GB, free: 10.57 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.897, allocations: 0 / 0.5991 GB, free: 10.57 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.898, allocations: 4 kB / 0.5991 GB, free: 10.56 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.898, allocations: 3.938 kB / 0.5991 GB, free: 10.56 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.898, allocations: 0 / 0.5991 GB, free: 10.56 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/1.898, allocations: 61.12 kB / 0.5992 GB, free: 10.48 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/1.898, allocations: 77.11 kB / 0.5992 GB, free: 10.39 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/1.898, allocations: 7.953 kB / 0.5992 GB, free: 10.38 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/1.898, allocations: 8.016 kB / 0.5993 GB, free: 10.37 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/1.898, allocations: 0 / 0.5993 GB, free: 10.37 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/1.898, allocations: 0 / 0.5993 GB, free: 10.37 MB / 443.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/1.898, allocations: 79.28 kB / 0.5993 GB, free: 10.29 MB / 443.1 MB Notification: Performance of sort global known variables: time 8.22e-07/1.898, allocations: 0 / 0.5993 GB, free: 10.29 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.01171/1.91, allocations: 1.312 MB / 0.6006 GB, free: 8.98 MB / 443.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.01271/1.923, allocations: 1.706 MB / 0.6023 GB, free: 7.242 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/1.923, allocations: 55.41 kB / 0.6023 GB, free: 7.176 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.923, allocations: 0 / 0.6023 GB, free: 7.176 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/1.923, allocations: 59.39 kB / 0.6024 GB, free: 7.105 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/1.923, allocations: 7.891 kB / 0.6024 GB, free: 7.098 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.926, allocations: 187.1 kB / 0.6026 GB, free: 6.871 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/1.926, allocations: 0.6729 MB / 0.6032 GB, free: 6.172 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/1.926, allocations: 7.438 kB / 0.6032 GB, free: 6.164 MB / 443.1 MB Notification: Performance of SimCode: time 1.483e-06/1.926, allocations: 4.125 kB / 0.6032 GB, free: 6.16 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.952/11.88, allocations: 68.75 MB / 0.6704 GB, free: 113.6 MB / 475.2 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat