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.00152/0.00152, allocations: 195.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007978/0.0007979, allocations: 88.27 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.226e-05, allocations: 4 kB / 350.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08912, allocations: 51.48 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2845/0.3737, allocations: 77.56 MB / 479.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3739, allocations: 81.64 kB / 479.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007087/0.381, allocations: 3.035 MB / 482.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3811, allocations: 0 / 482.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.3811, allocations: 4 kB / 482.7 MB, free: 9.203 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.0002978/0.3814, allocations: 362.7 kB / 483.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3815, allocations: 11.97 kB / 483.1 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.3815, allocations: 7.281 kB / 483.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3817, allocations: 201.8 kB / 483.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3817, allocations: 8.312 kB / 483.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3817, allocations: 3.609 kB / 483.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.382, allocations: 146.2 kB / 483.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.382, allocations: 0 / 483.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.382, allocations: 0 / 483.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3821, allocations: 8 kB / 483.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.3821, allocations: 15.62 kB / 483.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.3824, allocations: 280.5 kB / 483.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.3825, allocations: 37.83 kB / 483.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.3825, allocations: 32.08 kB / 483.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.3829, allocations: 0.5774 MB / 484.4 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.383, allocations: 30.56 kB / 484.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.383, allocations: 0 / 484.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001494/0.3831, allocations: 72.59 kB / 484.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3832, allocations: 63.88 kB / 484.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.3833, allocations: 134.4 kB / 484.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3833, allocations: 25.7 kB / 484.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.3833, allocations: 95.52 kB / 484.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.3833, allocations: 3.906 kB / 484.8 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.3833, allocations: 3.438 kB / 484.8 MB, free: 6.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.3834, allocations: 326.6 kB / 485.1 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.3834, allocations: 19.98 kB / 485.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.3835, allocations: 63.66 kB / 485.2 MB, free: 6.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.3835, allocations: 35.16 kB / 485.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3836, allocations: 0 / 485.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001225/0.3837, allocations: 107.6 kB / 485.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3837, allocations: 4 kB / 485.3 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3837, allocations: 0 / 485.3 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3837, allocations: 4 kB / 485.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.3838, allocations: 24.55 kB / 485.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3838, allocations: 4.219 kB / 485.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.3839, allocations: 7.562 kB / 485.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3839, allocations: 4 kB / 485.4 MB, free: 6.312 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.145e-05/0.384, allocations: 113.1 kB / 485.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.3841, allocations: 72.88 kB / 485.6 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.3842, allocations: 89.64 kB / 485.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3842, allocations: 0 / 485.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3842, allocations: 0 / 485.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3842, allocations: 6.297 kB / 485.7 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.965e-05/0.3843, allocations: 185.5 kB / 485.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3843, allocations: 3.984 kB / 485.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.3844, allocations: 7.938 kB / 485.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3844, allocations: 0 / 485.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.3844, allocations: 1.125 kB / 485.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3844, allocations: 4 kB / 485.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3844, allocations: 0 / 485.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.3845, allocations: 98.83 kB / 486 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.3846, allocations: 96.33 kB / 486 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3846, allocations: 7.375 kB / 486.1 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.3846, allocations: 0 / 486.1 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-06/0.3846, allocations: 0 / 486.1 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3847, allocations: 4 kB / 486.1 MB, free: 5.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.3847, allocations: 109.8 kB / 486.2 MB, free: 5.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3847, allocations: 0 / 486.2 MB, free: 5.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.3849, allocations: 19.12 kB / 486.2 MB, free: 5.473 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.0001341/0.3851, allocations: 115.3 kB / 486.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3852, allocations: 53.55 kB / 486.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3852, allocations: 0 / 486.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.3852, allocations: 0 / 486.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3855, allocations: 77.05 kB / 486.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.3857, allocations: 127.1 kB / 486.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3858, allocations: 0.7087 MB / 487.3 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.68e-05/0.3859, allocations: 8.656 kB / 487.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.3859, allocations: 15.06 kB / 487.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3859, allocations: 0 / 487.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of Templates: time 0.003059/0.389, allocations: 1.212 MB / 488.5 MB, free: 3.191 MB / 346.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/jenkins/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