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.001433/0.001434, allocations: 109.2 kB / 17.06 MB, free: 5.977 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.00161/0.00161, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.542/1.542, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 51.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3842, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002555/0.3868, allocations: 0.8912 MB / 401.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.3877, allocations: 251.1 kB / 401.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.3878, allocations: 3.938 kB / 401.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.3879, allocations: 7.922 kB / 401.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.3881, allocations: 11.94 kB / 401.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.3886, allocations: 103.7 kB / 402 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3887, allocations: 43.86 kB / 402 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3888, allocations: 15.98 kB / 402 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.3889, allocations: 15.94 kB / 402.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.389, allocations: 19.86 kB / 402.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.389, allocations: 4 kB / 402.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3891, allocations: 51.94 kB / 402.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-05/0.3892, allocations: 23.92 kB / 402.2 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.3893, allocations: 23.81 kB / 402.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3895, allocations: 99.61 kB / 402.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3895, allocations: 0 / 402.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3895, allocations: 0 / 402.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3895, allocations: 0 / 402.3 MB, free: 7.316 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.0005468/0.3901, allocations: 380.3 kB / 402.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3901, allocations: 15.89 kB / 402.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3902, allocations: 16.78 kB / 402.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3905, allocations: 207.3 kB / 402.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3905, allocations: 4.312 kB / 402.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3905, allocations: 8.312 kB / 402.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.3908, allocations: 153.5 kB / 403 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.3908, allocations: 4.188 kB / 403.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3909, allocations: 7.938 kB / 403.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3909, allocations: 0 / 403.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.3909, allocations: 19.94 kB / 403.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3913, allocations: 269.7 kB / 403.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.3914, allocations: 50.5 kB / 403.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3914, allocations: 24.8 kB / 403.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.3921, allocations: 0.5818 MB / 404 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3922, allocations: 38.56 kB / 404 MB, free: 5.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3922, allocations: 0 / 404 MB, free: 5.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002225/0.3924, allocations: 85.58 kB / 404.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3924, allocations: 51.41 kB / 404.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3926, allocations: 151.1 kB / 404.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3926, allocations: 25.7 kB / 404.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.3927, allocations: 84.14 kB / 404.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.3927, allocations: 11.91 kB / 404.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3928, allocations: 29.64 kB / 404.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3929, allocations: 326.7 kB / 404.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.393, allocations: 19.98 kB / 404.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.393, allocations: 65.98 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.3931, allocations: 81.88 kB / 404.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3931, allocations: 0 / 404.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001531/0.3933, allocations: 109.5 kB / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3933, allocations: 8 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3933, allocations: 0 / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3934, allocations: 4.188 kB / 405.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.3935, allocations: 19.98 kB / 405.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3935, allocations: 11.88 kB / 405.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.3935, allocations: 3.906 kB / 405.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3935, allocations: 8 kB / 405.1 MB, free: 4.082 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.0001201/0.3937, allocations: 141.6 kB / 405.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.3938, allocations: 69.66 kB / 405.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.3939, allocations: 90.27 kB / 405.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3939, allocations: 144 / 405.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.394, allocations: 0 / 405.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.394, allocations: 3.984 kB / 405.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3941, allocations: 177.6 kB / 405.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.3941, allocations: 0 / 405.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3942, allocations: 4 kB / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3942, allocations: 0 / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3942, allocations: 11.98 kB / 405.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3942, allocations: 0 / 405.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3942, allocations: 3.938 kB / 405.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3943, allocations: 105.1 kB / 405.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.3944, allocations: 93 kB / 405.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3944, allocations: 11.98 kB / 405.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.3945, allocations: 0 / 405.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-06/0.3945, allocations: 0 / 405.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3945, allocations: 8 kB / 405.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.3e-05/0.3946, allocations: 117.4 kB / 405.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3946, allocations: 0 / 405.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.3948, allocations: 16 kB / 405.9 MB, free: 3.141 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.0001852/0.395, allocations: 115.2 kB / 406.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3952, allocations: 47.92 kB / 406.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3952, allocations: 448 / 406.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.3952, allocations: 4 kB / 406.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3956, allocations: 89.58 kB / 406.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.3959, allocations: 181.4 kB / 406.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3962, allocations: 0.7039 MB / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.3963, allocations: 4.672 kB / 407.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3963, allocations: 15.42 kB / 407.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3963, allocations: 4 kB / 407.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Templates: time 0.00464/0.4009, allocations: 1.376 MB / 408.5 MB, free: 0.5391 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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