Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 101.2 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 192.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009945, allocations: 39.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3804, allocations: 49.44 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003448/0.3839, allocations: 0.8842 MB / 402.3 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008787/0.3848, allocations: 255 kB / 402.5 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.385, allocations: 0 / 402.5 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.539e-05/0.3851, allocations: 3.938 kB / 402.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3853, allocations: 19.92 kB / 402.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.3859, allocations: 99.66 kB / 402.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3861, allocations: 43.89 kB / 402.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3862, allocations: 15.98 kB / 402.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.3863, allocations: 19.88 kB / 402.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.3864, allocations: 15.92 kB / 402.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3864, allocations: 8 kB / 402.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3866, allocations: 51.89 kB / 402.8 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.3867, allocations: 23.91 kB / 402.8 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.3867, allocations: 27.75 kB / 402.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.387, allocations: 95.62 kB / 403 MB, free: 7.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.387, allocations: 0 / 403 MB, free: 7.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.387, allocations: 0 / 403 MB, free: 7.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.387, allocations: 0 / 403 MB, free: 7.473 MB / 318.1 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.000733/0.3878, allocations: 384.4 kB / 403.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3878, allocations: 19.89 kB / 403.4 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.3879, allocations: 8.844 kB / 403.4 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3883, allocations: 204 kB / 403.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.3883, allocations: 384 / 403.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3883, allocations: 8.375 kB / 403.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3888, allocations: 161.5 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3888, allocations: 192 / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3888, allocations: 3.938 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3888, allocations: 0 / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.3889, allocations: 16 kB / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3894, allocations: 273.7 kB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3895, allocations: 54.44 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.3896, allocations: 16.86 kB / 404.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009166/0.3905, allocations: 0.5857 MB / 404.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3906, allocations: 34.56 kB / 404.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 4.548e-06/0.3906, allocations: 0 / 404.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003067/0.3909, allocations: 89.47 kB / 404.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.391, allocations: 55.39 kB / 404.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3912, allocations: 149.6 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3912, allocations: 25.7 kB / 405 MB, free: 5.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3913, allocations: 92.12 kB / 405.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.3913, allocations: 7.906 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.3914, allocations: 33.7 kB / 405.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3916, allocations: 314.8 kB / 405.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.3916, allocations: 27.98 kB / 405.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3918, allocations: 65.94 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3919, allocations: 81.86 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3919, allocations: 0 / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002545/0.3922, allocations: 113.5 kB / 405.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3922, allocations: 11.12 kB / 405.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3922, allocations: 0 / 405.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.3923, allocations: 4 kB / 405.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3924, allocations: 19.92 kB / 405.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3924, allocations: 4 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.3925, allocations: 3.906 kB / 405.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3925, allocations: 4 kB / 405.8 MB, free: 4.242 MB / 318.1 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 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.3927, allocations: 142 kB / 405.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3929, allocations: 77.47 kB / 406 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3931, allocations: 86.39 kB / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3931, allocations: 0 / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3931, allocations: 0 / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3932, allocations: 0 / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3933, allocations: 177.6 kB / 406.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3934, allocations: 4 kB / 406.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.3934, allocations: 4 kB / 406.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3934, allocations: 4 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3934, allocations: 7.938 kB / 406.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3935, allocations: 0 / 406.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3935, allocations: 0 / 406.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3937, allocations: 101 kB / 406.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.3938, allocations: 89 kB / 406.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3938, allocations: 8 kB / 406.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.3939, allocations: 3.984 kB / 406.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-06/0.3939, allocations: 4 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3939, allocations: 4 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.394, allocations: 119.2 kB / 406.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.394, allocations: 0 / 406.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.3945, allocations: 16 kB / 406.6 MB, free: 3.301 MB / 318.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.3947, allocations: 107.2 kB / 406.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3949, allocations: 56.39 kB / 406.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.395, allocations: 4.125 kB / 406.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.395, allocations: 4.188 kB / 406.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.3956, allocations: 95.41 kB / 406.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.3961, allocations: 207.1 kB / 407.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3965, allocations: 0.7079 MB / 407.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3966, allocations: 11.44 kB / 407.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3966, allocations: 0 / 407.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Templates: time 0.004386/0.401, allocations: 1.297 MB / 409.1 MB, free: 0.7539 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches