Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",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.001601/0.0016, allocations: 183.6 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.00187/0.00187, allocations: 82.88 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1023/0.1023, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005655/0.0005655, allocations: 18.41 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.0995, allocations: 50.37 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.2719, allocations: 78.03 MB / 0.5083 GB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.2723, allocations: 79.97 kB / 0.5084 GB, free: 12.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.2855, allocations: 2.937 MB / 0.5112 GB, free: 9.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.648e-06/0.2856, allocations: 0 / 0.5112 GB, free: 9.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.2856, allocations: 3.938 kB / 0.5113 GB, free: 9.676 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005587/0.2862, allocations: 390.9 kB / 0.5116 GB, free: 9.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2862, allocations: 16.03 kB / 0.5116 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.2863, allocations: 30.56 kB / 0.5117 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2864, allocations: 11.91 kB / 0.5117 GB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.2866, allocations: 194.8 kB / 0.5119 GB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2867, allocations: 4 kB / 0.5119 GB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2867, allocations: 4 kB / 0.5119 GB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.2871, allocations: 149 kB / 0.512 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2872, allocations: 0 / 0.512 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2872, allocations: 0 / 0.512 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.2872, allocations: 4 kB / 0.512 GB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.2873, allocations: 23.92 kB / 0.512 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.2877, allocations: 277.6 kB / 0.5123 GB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2878, allocations: 46.56 kB / 0.5124 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000866/0.2887, allocations: 0.5779 MB / 0.5129 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2888, allocations: 34.5 kB / 0.513 GB, free: 7.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.2888, allocations: 0 / 0.513 GB, free: 7.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003426/0.2891, allocations: 166.7 kB / 0.5131 GB, free: 7.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.2892, allocations: 55.41 kB / 0.5132 GB, free: 7.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2894, allocations: 141.3 kB / 0.5133 GB, free: 7.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2894, allocations: 25.7 kB / 0.5133 GB, free: 7.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.2895, allocations: 88.33 kB / 0.5134 GB, free: 7.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2895, allocations: 3.906 kB / 0.5134 GB, free: 7.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.2895, allocations: 4 kB / 0.5134 GB, free: 7.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2897, allocations: 326.8 kB / 0.5137 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.2898, allocations: 27.86 kB / 0.5138 GB, free: 6.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.2899, allocations: 62 kB / 0.5138 GB, free: 6.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.29, allocations: 31.98 kB / 0.5138 GB, free: 6.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.29, allocations: 0 / 0.5138 GB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002452/0.2903, allocations: 113.4 kB / 0.5139 GB, free: 6.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2903, allocations: 4 kB / 0.514 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2903, allocations: 4 kB / 0.514 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2903, allocations: 0 / 0.514 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2905, allocations: 16 kB / 0.514 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2905, allocations: 224 / 0.514 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.2906, allocations: 23.86 kB / 0.514 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2906, allocations: 4 kB / 0.514 GB, free: 6.457 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.000163/0.2908, allocations: 133.5 kB / 0.5141 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.291, allocations: 77.55 kB / 0.5142 GB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.2912, allocations: 86.56 kB / 0.5143 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2913, allocations: 4 kB / 0.5143 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2913, allocations: 0 / 0.5143 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2913, allocations: 4.141 kB / 0.5143 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2915, allocations: 177.6 kB / 0.5145 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.2915, allocations: 4 kB / 0.5145 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.2916, allocations: 4 kB / 0.5145 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2916, allocations: 0 / 0.5145 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2916, allocations: 0 / 0.5145 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2916, allocations: 3.984 kB / 0.5145 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2916, allocations: 0 / 0.5145 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2918, allocations: 105 kB / 0.5146 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2919, allocations: 97 kB / 0.5147 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.292, allocations: 0 / 0.5147 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.292, allocations: 4 kB / 0.5147 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-06/0.292, allocations: 4.125 kB / 0.5147 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.292, allocations: 0 / 0.5147 GB, free: 5.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.2922, allocations: 119.8 kB / 0.5148 GB, free: 5.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.406e-06/0.2922, allocations: 0 / 0.5148 GB, free: 5.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.2925, allocations: 23.94 kB / 0.5148 GB, free: 5.516 MB / 362.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007338/0.2933, allocations: 0.6708 MB / 0.5155 GB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2935, allocations: 55.94 kB / 0.5155 GB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2935, allocations: 3.938 kB / 0.5155 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2935, allocations: 0 / 0.5155 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.294, allocations: 83.45 kB / 0.5156 GB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.2958, allocations: 1.49 MB / 0.5171 GB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.2962, allocations: 0.7083 MB / 0.5177 GB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.2963, allocations: 8.656 kB / 0.5178 GB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.2964, allocations: 19.44 kB / 0.5178 GB, free: 2.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.078e-06/0.2964, allocations: 0 / 0.5178 GB, free: 2.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.3194, allocations: 2.29 MB / 0.52 GB, free: 64 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2736/0.5931, allocations: 199.7 kB / 0.5202 GB, free: 88.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/2.99, allocations: 0 / 0.5202 GB, free: 88.53 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat