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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001397, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 94.92 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.798e-05, allocations: 11.92 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09734, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.3982, allocations: 76.09 MB / 463.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.3984, allocations: 77.8 kB / 463.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008136/0.4066, allocations: 3.021 MB / 466.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4066, allocations: 4 kB / 466.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.4066, allocations: 0 / 466.7 MB, free: 15.66 MB / 346.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.0003854/0.407, allocations: 370.9 kB / 467 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4071, allocations: 11.97 kB / 467 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.4071, allocations: 15.86 kB / 467 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4073, allocations: 194.8 kB / 467.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.4073, allocations: 4 kB / 467.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.4073, allocations: 0 / 467.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.456e-05/0.4074, allocations: 27.92 kB / 467.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.4077, allocations: 141 kB / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4077, allocations: 7.953 kB / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4077, allocations: 0 / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4077, allocations: 0 / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.408, allocations: 246.2 kB / 467.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.107e-05/0.4081, allocations: 42.56 kB / 467.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.4081, allocations: 24.86 kB / 467.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.4087, allocations: 0.5779 MB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.4087, allocations: 34.52 kB / 468.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4087, allocations: 0 / 468.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001939/0.4089, allocations: 73.56 kB / 468.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.409, allocations: 59.41 kB / 468.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4091, allocations: 127.4 kB / 468.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4091, allocations: 25.7 kB / 468.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.4092, allocations: 84.14 kB / 468.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4092, allocations: 19.83 kB / 468.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4092, allocations: 0 / 468.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4093, allocations: 318.8 kB / 469 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.4094, allocations: 15.98 kB / 469 MB, free: 12.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.4094, allocations: 62 kB / 469.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.4095, allocations: 33.14 kB / 469.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4095, allocations: 4 kB / 469.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001242/0.4096, allocations: 89.52 kB / 469.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4097, allocations: 7.953 kB / 469.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4097, allocations: 7.938 kB / 469.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4097, allocations: 0 / 469.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.4098, allocations: 20.17 kB / 469.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4098, allocations: 4 kB / 469.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.4098, allocations: 4.156 kB / 469.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4099, allocations: 12 kB / 469.3 MB, free: 12.67 MB / 346.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 7.893e-05/0.4099, allocations: 108.9 kB / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4101, allocations: 73.58 kB / 469.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.4102, allocations: 82.31 kB / 469.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4102, allocations: 0 / 469.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4103, allocations: 4 kB / 469.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4103, allocations: 0 / 469.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.4104, allocations: 166 kB / 469.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4104, allocations: 3.984 kB / 469.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.4104, allocations: 7.938 kB / 469.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4104, allocations: 0 / 469.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4105, allocations: 0 / 469.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4105, allocations: 0 / 469.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4105, allocations: 7.953 kB / 469.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.4106, allocations: 93.02 kB / 469.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.4107, allocations: 93 kB / 469.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4107, allocations: 8 kB / 469.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.4108, allocations: 0 / 469.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-06/0.4108, allocations: 0 / 469.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4108, allocations: 7.953 kB / 469.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.4109, allocations: 103.8 kB / 470 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4109, allocations: 4 kB / 470 MB, free: 11.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.4111, allocations: 15.98 kB / 470 MB, free: 11.82 MB / 346.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.0001777/0.4113, allocations: 103.2 kB / 470.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4114, allocations: 47.92 kB / 470.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4114, allocations: 3.938 kB / 470.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.4114, allocations: 0 / 470.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.4117, allocations: 75.62 kB / 470.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.412, allocations: 128.1 kB / 470.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.4123, allocations: 0.7006 MB / 471.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.4124, allocations: 11.98 kB / 471.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.4124, allocations: 11.44 kB / 471.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4124, allocations: 0 / 471.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Templates: time 0.003232/0.4156, allocations: 1.114 MB / 472.2 MB, free: 9.57 MB / 346.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches