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.001669/0.001669, allocations: 181.3 kB / 13.23 MB, free: 2.086 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.16/2.16, allocations: 205.2 MB / 219 MB, free: 9.223 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.001104/0.001104, allocations: 97.56 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1106/0.1106, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/4.008e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5657, allocations: 77.94 MB / 0.5024 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.566, allocations: 79.39 kB / 0.5024 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.5781, allocations: 2.914 MB / 0.5053 GB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5781, allocations: 0 / 0.5053 GB, free: 11.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.5781, allocations: 3.875 kB / 0.5053 GB, free: 11.11 MB / 330.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.0003732/0.5785, allocations: 370.7 kB / 0.5056 GB, free: 10.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5786, allocations: 11.69 kB / 0.5057 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.5786, allocations: 33.81 kB / 0.5057 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.5787, allocations: 18.08 kB / 0.5057 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.5789, allocations: 194.1 kB / 0.5059 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5789, allocations: 3.875 kB / 0.5059 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.579, allocations: 6.594 kB / 0.5059 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.5793, allocations: 156.5 kB / 0.506 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5793, allocations: 0 / 0.506 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5794, allocations: 0 / 0.506 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5794, allocations: 3.906 kB / 0.5061 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.5795, allocations: 22.66 kB / 0.5061 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.5798, allocations: 274.8 kB / 0.5063 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.5799, allocations: 39.41 kB / 0.5064 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.5799, allocations: 23.11 kB / 0.5064 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.5806, allocations: 0.5815 MB / 0.507 GB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5807, allocations: 34.5 kB / 0.507 GB, free: 9.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.5807, allocations: 0 / 0.507 GB, free: 9.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002168/0.5809, allocations: 73.17 kB / 0.5071 GB, free: 9.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.581, allocations: 51.41 kB / 0.5071 GB, free: 9.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5811, allocations: 139.6 kB / 0.5072 GB, free: 9.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.5812, allocations: 25.7 kB / 0.5073 GB, free: 9.152 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.5812, allocations: 87.89 kB / 0.5074 GB, free: 9.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.5812, allocations: 13.86 kB / 0.5074 GB, free: 9.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5812, allocations: 0 / 0.5074 GB, free: 9.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.5813, allocations: 325.6 kB / 0.5077 GB, free: 8.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.5814, allocations: 14.56 kB / 0.5077 GB, free: 8.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.5815, allocations: 60.12 kB / 0.5078 GB, free: 8.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.5815, allocations: 35.34 kB / 0.5078 GB, free: 8.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5816, allocations: 0 / 0.5078 GB, free: 8.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002318/0.5818, allocations: 117.2 kB / 0.5079 GB, free: 8.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5818, allocations: 7.688 kB / 0.5079 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5818, allocations: 0.625 kB / 0.5079 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5819, allocations: 3.844 kB / 0.5079 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.582, allocations: 19.11 kB / 0.5079 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.582, allocations: 0 / 0.5079 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.5821, allocations: 7.75 kB / 0.5079 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5821, allocations: 3.844 kB / 0.5079 GB, free: 8.629 MB / 330.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 () * 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 7.748e-05/0.5822, allocations: 125.3 kB / 0.5081 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5823, allocations: 77.16 kB / 0.5081 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.5826, allocations: 88.09 kB / 0.5082 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5826, allocations: 3.844 kB / 0.5082 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5826, allocations: 4 kB / 0.5082 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5826, allocations: 0 / 0.5082 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.5827, allocations: 183.2 kB / 0.5084 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5828, allocations: 0 / 0.5084 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.5828, allocations: 3.844 kB / 0.5084 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5828, allocations: 0 / 0.5084 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5829, allocations: 4 kB / 0.5084 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5829, allocations: 3.844 kB / 0.5084 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5829, allocations: 0 / 0.5084 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.583, allocations: 102.6 kB / 0.5085 GB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.5831, allocations: 97.52 kB / 0.5086 GB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.5832, allocations: 0 / 0.5086 GB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.5832, allocations: 3 kB / 0.5086 GB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-06/0.5832, allocations: 3.984 kB / 0.5086 GB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.5832, allocations: 11.47 kB / 0.5086 GB, free: 8.039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.5833, allocations: 111.1 kB / 0.5087 GB, free: 7.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5834, allocations: 3.938 kB / 0.5087 GB, free: 7.961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.5837, allocations: 22.56 kB / 0.5087 GB, free: 7.957 MB / 330.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 () * 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.0004907/0.5842, allocations: 0.6668 MB / 0.5094 GB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.5844, allocations: 54.86 kB / 0.5095 GB, free: 7.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5844, allocations: 0 / 0.5095 GB, free: 7.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.5844, allocations: 3.938 kB / 0.5095 GB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.5848, allocations: 74.86 kB / 0.5095 GB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.5854, allocations: 169.8 kB / 0.5097 GB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.5856, allocations: 0.7042 MB / 0.5104 GB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.899e-05/0.5856, allocations: 8.359 kB / 0.5104 GB, free: 6.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.5857, allocations: 22.14 kB / 0.5104 GB, free: 6.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5857, allocations: 3.938 kB / 0.5104 GB, free: 6.477 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.6099, allocations: 2.296 MB / 0.5127 GB, free: 5.285 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.6102, allocations: 174.2 kB / 0.5128 GB, free: 5.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.057, allocations: 0 / 0.5128 GB, free: 5.062 MB / 330.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