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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_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_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.001071/0.001071, allocations: 181.9 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 1.588/1.588, allocations: 205.2 MB / 219 MB, free: 9.207 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.0009244/0.0009246, allocations: 93.31 kB / 267.1 MB, free: 9.281 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.07146/0.07146, allocations: 12.6 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.749e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07993/0.07997, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4502, allocations: 77.93 MB / 0.5023 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.4505, allocations: 79.77 kB / 0.5023 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007054/0.4575, allocations: 2.92 MB / 0.5052 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4576, allocations: 3 kB / 0.5052 GB, free: 11.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4576, allocations: 3.781 kB / 0.5052 GB, free: 11.53 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.0003377/0.4579, allocations: 361.7 kB / 0.5055 GB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.458, allocations: 7.688 kB / 0.5055 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.458, allocations: 19.5 kB / 0.5056 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.4583, allocations: 204.6 kB / 0.5058 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4583, allocations: 3.375 kB / 0.5058 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4583, allocations: 3.844 kB / 0.5058 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.4586, allocations: 144.1 kB / 0.5059 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4586, allocations: 7.938 kB / 0.5059 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4586, allocations: 0 / 0.5059 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4586, allocations: 7.781 kB / 0.5059 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.4587, allocations: 15.19 kB / 0.5059 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.459, allocations: 270.7 kB / 0.5062 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.4591, allocations: 47.81 kB / 0.5062 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.4591, allocations: 23.08 kB / 0.5063 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.4596, allocations: 0.5816 MB / 0.5068 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.4596, allocations: 30.56 kB / 0.5069 GB, free: 9.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4596, allocations: 0 / 0.5069 GB, free: 9.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001496/0.4598, allocations: 70.06 kB / 0.5069 GB, free: 9.816 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.4598, allocations: 65.28 kB / 0.507 GB, free: 9.746 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.4599, allocations: 135.5 kB / 0.5071 GB, free: 9.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.4599, allocations: 25.7 kB / 0.5071 GB, free: 9.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/0.4599, allocations: 83.64 kB / 0.5072 GB, free: 9.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.46, allocations: 14.75 kB / 0.5072 GB, free: 9.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.46, allocations: 0 / 0.5072 GB, free: 9.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.46, allocations: 325.5 kB / 0.5075 GB, free: 9.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.46, allocations: 19.09 kB / 0.5076 GB, free: 9.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.4601, allocations: 63.2 kB / 0.5076 GB, free: 9.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.4601, allocations: 32.92 kB / 0.5076 GB, free: 9.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4601, allocations: 0 / 0.5076 GB, free: 9.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001104/0.4603, allocations: 108 kB / 0.5078 GB, free: 9.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4603, allocations: 3.844 kB / 0.5078 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4603, allocations: 0 / 0.5078 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4603, allocations: 4.062 kB / 0.5078 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.4604, allocations: 25.77 kB / 0.5078 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4604, allocations: 3.938 kB / 0.5078 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.4604, allocations: 7.562 kB / 0.5078 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4604, allocations: 3.875 kB / 0.5078 GB, free: 9.098 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 5.562e-05/0.4605, allocations: 121.5 kB / 0.5079 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.4606, allocations: 75.27 kB / 0.508 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.4607, allocations: 87.92 kB / 0.5081 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4607, allocations: 192 / 0.5081 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4608, allocations: 4 kB / 0.5081 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4608, allocations: 3.938 kB / 0.5081 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.106e-05/0.4609, allocations: 185.1 kB / 0.5083 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4609, allocations: 0 / 0.5083 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.4609, allocations: 7.125 kB / 0.5083 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4609, allocations: 0 / 0.5083 GB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.4609, allocations: 7.766 kB / 0.5083 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4609, allocations: 0 / 0.5083 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4609, allocations: 0 / 0.5083 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.4611, allocations: 108.3 kB / 0.5084 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.4611, allocations: 94.84 kB / 0.5085 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4611, allocations: 3.047 kB / 0.5085 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.4612, allocations: 6.156 kB / 0.5085 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-06/0.4612, allocations: 0 / 0.5085 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4612, allocations: 0 / 0.5085 GB, free: 8.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.895e-05/0.4613, allocations: 113.6 kB / 0.5086 GB, free: 8.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4613, allocations: 0 / 0.5086 GB, free: 8.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.4615, allocations: 18.47 kB / 0.5086 GB, free: 8.438 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.0001389/0.4616, allocations: 105.6 kB / 0.5087 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.4617, allocations: 58.16 kB / 0.5088 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4618, allocations: 64 / 0.5088 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.4618, allocations: 0 / 0.5088 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.462, allocations: 73.39 kB / 0.5088 GB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.4622, allocations: 133.1 kB / 0.509 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.4624, allocations: 0.7126 MB / 0.5096 GB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.574e-05/0.4624, allocations: 4.547 kB / 0.5097 GB, free: 7.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.4624, allocations: 14.47 kB / 0.5097 GB, free: 7.5 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4624, allocations: 0 / 0.5097 GB, free: 7.5 MB / 330.7 MB Notification: Performance of Templates: time 0.002985/0.4654, allocations: 1.222 MB / 0.5109 GB, free: 6.887 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches