Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001753/0.001753, allocations: 181 kB / 13.7 MB, free: 1.625 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.058/2.058, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001149/0.001149, allocations: 86.59 kB / 267.6 MB, free: 14.11 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.61 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.247e-05, allocations: 4 kB / 386 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 50.36 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.472, allocations: 77.95 MB / 0.5022 GB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4724, allocations: 79.95 kB / 0.5023 GB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.4858, allocations: 2.918 MB / 0.5052 GB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4859, allocations: 0 / 0.5052 GB, free: 13.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4859, allocations: 4 kB / 0.5052 GB, free: 13.09 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.0005282/0.4864, allocations: 362.3 kB / 0.5055 GB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4865, allocations: 8.031 kB / 0.5055 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.4865, allocations: 15.81 kB / 0.5055 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.4869, allocations: 206.7 kB / 0.5057 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4869, allocations: 4 kB / 0.5057 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4869, allocations: 4 kB / 0.5057 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.4873, allocations: 145 kB / 0.5059 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4873, allocations: 7.938 kB / 0.5059 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4874, allocations: 0 / 0.5059 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4874, allocations: 4 kB / 0.5059 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.4875, allocations: 16 kB / 0.5059 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.4879, allocations: 277.7 kB / 0.5062 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.488, allocations: 42.52 kB / 0.5062 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.4881, allocations: 28.89 kB / 0.5062 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009242/0.489, allocations: 0.5778 MB / 0.5068 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4891, allocations: 34.5 kB / 0.5068 GB, free: 11.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.4891, allocations: 0 / 0.5068 GB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002507/0.4894, allocations: 69.59 kB / 0.5069 GB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.4895, allocations: 63.25 kB / 0.507 GB, free: 10.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.4897, allocations: 133.5 kB / 0.5071 GB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.4897, allocations: 29.69 kB / 0.5071 GB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.4898, allocations: 154.8 kB / 0.5073 GB, free: 10.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4898, allocations: 11.94 kB / 0.5073 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.4898, allocations: 0 / 0.5073 GB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.49, allocations: 318.8 kB / 0.5076 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.4901, allocations: 23.98 kB / 0.5076 GB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4902, allocations: 62 kB / 0.5077 GB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.4903, allocations: 31.92 kB / 0.5077 GB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4903, allocations: 0 / 0.5077 GB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002398/0.4906, allocations: 105.5 kB / 0.5078 GB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4906, allocations: 7.984 kB / 0.5078 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4906, allocations: 4 kB / 0.5078 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4907, allocations: 0 / 0.5078 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4908, allocations: 20.22 kB / 0.5078 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4908, allocations: 3.938 kB / 0.5078 GB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.4909, allocations: 8 kB / 0.5078 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4909, allocations: 4 kB / 0.5078 GB, free: 9.977 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 () * 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.0001172/0.4911, allocations: 116.7 kB / 0.508 GB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4912, allocations: 69.59 kB / 0.508 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.4915, allocations: 94.12 kB / 0.5081 GB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4915, allocations: 0 / 0.5081 GB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4915, allocations: 4 kB / 0.5081 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4915, allocations: 0 / 0.5081 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4917, allocations: 185.5 kB / 0.5083 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.4917, allocations: 0 / 0.5083 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.4918, allocations: 4 kB / 0.5083 GB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4918, allocations: 336 / 0.5083 GB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4918, allocations: 4 kB / 0.5083 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4919, allocations: 3.938 kB / 0.5083 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.4919, allocations: 3.984 kB / 0.5083 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.4921, allocations: 113 kB / 0.5084 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.4922, allocations: 89 kB / 0.5085 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.4922, allocations: 8 kB / 0.5085 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.4923, allocations: 0 / 0.5085 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-06/0.4923, allocations: 0 / 0.5085 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.4923, allocations: 8 kB / 0.5085 GB, free: 9.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.4925, allocations: 111.8 kB / 0.5086 GB, free: 9.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4925, allocations: 0 / 0.5086 GB, free: 9.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.4928, allocations: 20 kB / 0.5086 GB, free: 9.051 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 () * 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.0002137/0.493, allocations: 103.2 kB / 0.5087 GB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4932, allocations: 51.92 kB / 0.5088 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4932, allocations: 64 / 0.5088 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.4932, allocations: 0 / 0.5088 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.4937, allocations: 78.95 kB / 0.5089 GB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.4942, allocations: 167.1 kB / 0.509 GB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4945, allocations: 0.7082 MB / 0.5097 GB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.4946, allocations: 11.44 kB / 0.5097 GB, free: 7.871 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4946, allocations: 0 / 0.5097 GB, free: 7.871 MB / 362.7 MB Notification: Performance of Templates: time 0.004035/0.4986, allocations: 1.23 MB / 0.5109 GB, free: 6.645 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches