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.001629/0.001628, allocations: 114.2 kB / 17.06 MB, free: 6 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.001776/0.001776, allocations: 192 kB / 18 MB, free: 5.082 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.625/1.625, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 39.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3837, allocations: 49.44 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002983/0.3867, allocations: 0.8885 MB / 401.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.3875, allocations: 247.1 kB / 401.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.3876, allocations: 3.938 kB / 401.9 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.713e-05/0.3876, allocations: 7.938 kB / 401.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3878, allocations: 15.92 kB / 401.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3883, allocations: 99.7 kB / 402 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3884, allocations: 43.84 kB / 402 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3886, allocations: 15.94 kB / 402 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.3886, allocations: 23.92 kB / 402.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3887, allocations: 23.84 kB / 402.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3887, allocations: 4 kB / 402.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.3888, allocations: 43.97 kB / 402.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.3889, allocations: 19.92 kB / 402.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.389, allocations: 27.8 kB / 402.2 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3891, allocations: 95.62 kB / 402.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3892, allocations: 0 / 402.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3892, allocations: 0 / 402.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3892, allocations: 0 / 402.3 MB, free: 7.344 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.0006325/0.3898, allocations: 388.3 kB / 402.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3899, allocations: 15.89 kB / 402.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.3899, allocations: 8.844 kB / 402.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.3902, allocations: 204 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3903, allocations: 384 / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3903, allocations: 12.31 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3906, allocations: 157.5 kB / 403 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3906, allocations: 192 / 403 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3906, allocations: 3.938 kB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3906, allocations: 0 / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.3907, allocations: 23.92 kB / 403.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.391, allocations: 277.7 kB / 403.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.3911, allocations: 42.52 kB / 403.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.3912, allocations: 20.89 kB / 403.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/0.3919, allocations: 0.5934 MB / 404 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3919, allocations: 30.56 kB / 404 MB, free: 5.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3919, allocations: 0 / 404 MB, free: 5.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002446/0.3922, allocations: 85.66 kB / 404.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.3923, allocations: 51.41 kB / 404.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3925, allocations: 153.4 kB / 404.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3925, allocations: 25.7 kB / 404.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.3926, allocations: 88.14 kB / 404.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3926, allocations: 15.89 kB / 404.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.3927, allocations: 25.72 kB / 404.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3929, allocations: 322.8 kB / 404.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.3929, allocations: 31.8 kB / 404.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.393, allocations: 62 kB / 404.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3931, allocations: 77.94 kB / 405 MB, free: 4.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3931, allocations: 0 / 405 MB, free: 4.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.3933, allocations: 117.4 kB / 405.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3933, allocations: 8 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3934, allocations: 240 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.3934, allocations: 4 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.3935, allocations: 12 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3935, allocations: 11.92 kB / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.3936, allocations: 7.891 kB / 405.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3936, allocations: 8.219 kB / 405.1 MB, free: 4.102 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.0001384/0.3937, allocations: 129.8 kB / 405.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3938, allocations: 69.59 kB / 405.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.394, allocations: 90.25 kB / 405.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3941, allocations: 144 / 405.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3941, allocations: 3.984 kB / 405.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.3941, allocations: 0 / 405.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3943, allocations: 181.6 kB / 405.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3943, allocations: 4 kB / 405.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.3943, allocations: 8 kB / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3943, allocations: 0 / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3944, allocations: 4 kB / 405.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3944, allocations: 0 / 405.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3944, allocations: 0 / 405.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.3945, allocations: 108.8 kB / 405.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.3946, allocations: 93 kB / 405.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3946, allocations: 4 kB / 405.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.3947, allocations: 4 kB / 405.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-06/0.3947, allocations: 0 / 405.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3947, allocations: 4 kB / 405.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.703e-05/0.3948, allocations: 119.2 kB / 405.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3948, allocations: 0 / 405.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3951, allocations: 16 kB / 405.9 MB, free: 3.168 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.0002522/0.3953, allocations: 115.3 kB / 406 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.3955, allocations: 59.95 kB / 406.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3955, allocations: 0 / 406.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-07/0.3955, allocations: 4 kB / 406.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3959, allocations: 81.64 kB / 406.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.3963, allocations: 181.4 kB / 406.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3968, allocations: 0.7039 MB / 407.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.3968, allocations: 9.047 kB / 407.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.3969, allocations: 11.44 kB / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3969, allocations: 0 / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of Templates: time 0.004383/0.4013, allocations: 1.348 MB / 408.4 MB, free: 0.6016 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