Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007941/0.0007938, allocations: 101.1 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.000214, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.275, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3792, allocations: 77.55 MB / 486.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.3795, allocations: 81.73 kB / 487 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008266/0.3878, allocations: 3.047 MB / 490.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3879, allocations: 1.812 kB / 490.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3879, allocations: 0 / 490.1 MB, free: 10.86 MB / 362.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.0004016/0.3883, allocations: 379.2 kB / 490.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3883, allocations: 8.031 kB / 490.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3884, allocations: 16.84 kB / 490.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3886, allocations: 198.5 kB / 490.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3886, allocations: 4.375 kB / 490.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3887, allocations: 4.375 kB / 490.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.389, allocations: 153.4 kB / 490.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.389, allocations: 4.188 kB / 490.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.389, allocations: 3.938 kB / 490.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.389, allocations: 4 kB / 490.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.3891, allocations: 23.98 kB / 490.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3894, allocations: 265.7 kB / 491.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.3895, allocations: 46.52 kB / 491.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.3896, allocations: 28.89 kB / 491.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.3901, allocations: 0.5739 MB / 491.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3902, allocations: 30.56 kB / 491.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3902, allocations: 3.938 kB / 491.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001933/0.3904, allocations: 97.81 kB / 491.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3904, allocations: 63.3 kB / 491.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3905, allocations: 149 kB / 492.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3906, allocations: 25.7 kB / 492.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.3906, allocations: 88.12 kB / 492.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3906, allocations: 8 kB / 492.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.3906, allocations: 0 / 492.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3907, allocations: 322.8 kB / 492.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.3908, allocations: 23.98 kB / 492.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.3908, allocations: 65.98 kB / 492.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.3909, allocations: 83.09 kB / 492.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3909, allocations: 0 / 492.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001575/0.3911, allocations: 109.4 kB / 492.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3911, allocations: 4.219 kB / 492.8 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3911, allocations: 8 kB / 492.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3912, allocations: 0 / 492.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.3912, allocations: 19.94 kB / 492.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3913, allocations: 0 / 492.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.3913, allocations: 7.906 kB / 492.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3913, allocations: 8 kB / 492.8 MB, free: 7.672 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.3914, allocations: 135.3 kB / 493 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.3915, allocations: 69.53 kB / 493 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.3917, allocations: 94.31 kB / 493.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3917, allocations: 192 / 493.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.3917, allocations: 0 / 493.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3917, allocations: 7.938 kB / 493.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.3918, allocations: 173.6 kB / 493.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3919, allocations: 4 kB / 493.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.3919, allocations: 11.94 kB / 493.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3919, allocations: 0 / 493.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3919, allocations: 0 / 493.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3919, allocations: 0 / 493.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3919, allocations: 4 kB / 493.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.3921, allocations: 104.9 kB / 493.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.3922, allocations: 100.9 kB / 493.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3922, allocations: 0 / 493.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.3922, allocations: 0 / 493.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.3922, allocations: 0 / 493.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3923, allocations: 4 kB / 493.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.3923, allocations: 121.6 kB / 493.7 MB, free: 6.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3924, allocations: 4 kB / 493.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.3926, allocations: 16 kB / 493.7 MB, free: 6.73 MB / 362.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 () * 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 (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.0001636/0.3928, allocations: 115.2 kB / 493.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.3929, allocations: 51.84 kB / 493.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3929, allocations: 0 / 493.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.3929, allocations: 448 / 493.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3933, allocations: 85.7 kB / 493.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.3936, allocations: 187.2 kB / 494.1 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3939, allocations: 0.6965 MB / 494.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.3939, allocations: 12.66 kB / 494.8 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.394, allocations: 11.44 kB / 494.8 MB, free: 5.508 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.394, allocations: 0 / 494.8 MB, free: 5.508 MB / 362.7 MB Notification: Performance of Templates: time 0.00355/0.3975, allocations: 1.196 MB / 496 MB, free: 4.32 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches