Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 223.1 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009285/0.0009282, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3391, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4703, allocations: 76.14 MB / 452 MB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4706, allocations: 71.95 kB / 452 MB, free: 4.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.4859, allocations: 4.135 MB / 456.2 MB, free: 328 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.486, allocations: 4 kB / 456.2 MB, free: 324 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.486, allocations: 0 / 456.2 MB, free: 324 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008533/0.4869, allocations: 451.3 kB / 456.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4869, allocations: 8.031 kB / 456.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.4874, allocations: 43.78 kB / 456.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.4876, allocations: 198.8 kB / 456.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.4877, allocations: 8 kB / 456.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.4877, allocations: 7.953 kB / 456.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.4881, allocations: 121.4 kB / 457 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4881, allocations: 0 / 457 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4881, allocations: 4 kB / 457 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4881, allocations: 0 / 457 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.4884, allocations: 67.89 kB / 457.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.4893, allocations: 401.4 kB / 457.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.4898, allocations: 137.1 kB / 457.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.4898, allocations: 4.062 kB / 457.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.4901, allocations: 141 kB / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.4902, allocations: 4 kB / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008855/0.491, allocations: 415.8 kB / 458.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4912, allocations: 93.09 kB / 458.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4914, allocations: 166.1 kB / 458.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.4915, allocations: 45.69 kB / 458.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4916, allocations: 104.6 kB / 458.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.4917, allocations: 35.59 kB / 458.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.4917, allocations: 4 kB / 458.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4919, allocations: 334.8 kB / 458.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.4922, allocations: 92.45 kB / 459 MB, free: 13.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4925, allocations: 119.5 kB / 459.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.4929, allocations: 109 kB / 459.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4929, allocations: 11.89 kB / 459.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000774/0.4937, allocations: 282.1 kB / 459.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4937, allocations: 8.062 kB / 459.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.4937, allocations: 7.938 kB / 459.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4938, allocations: 0 / 459.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.494, allocations: 31.92 kB / 459.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.494, allocations: 0 / 459.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4941, allocations: 27.83 kB / 459.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.4942, allocations: 12 kB / 459.6 MB, free: 12.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000192/0.4944, allocations: 153.8 kB / 459.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.4944, allocations: 15.77 kB / 459.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/0.4945, allocations: 13.41 kB / 459.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4945, allocations: 4 kB / 459.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4945, allocations: 3.984 kB / 459.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4945, allocations: 0 / 459.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.4948, allocations: 209.5 kB / 460 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4948, allocations: 0 / 460 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.4949, allocations: 19.94 kB / 460 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4949, allocations: 0 / 460 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.495, allocations: 8 kB / 460 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.495, allocations: 0 / 460 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.495, allocations: 3.984 kB / 460 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.4955, allocations: 247.3 kB / 460.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.4956, allocations: 88.92 kB / 460.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.4957, allocations: 11.98 kB / 460.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.4958, allocations: 8 kB / 460.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.4959, allocations: 11.97 kB / 460.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.4959, allocations: 8 kB / 460.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.4961, allocations: 123.2 kB / 460.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4961, allocations: 0 / 460.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005412/0.4966, allocations: 67.92 kB / 460.6 MB, free: 11.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006555/0.4973, allocations: 244.6 kB / 460.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.4979, allocations: 244.1 kB / 461 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.498, allocations: 8.062 kB / 461 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.4982, allocations: 59.97 kB / 461.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.4984, allocations: 11.95 kB / 461.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.499, allocations: 278.9 kB / 461.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.4994, allocations: 0.7121 MB / 462.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.169e-05/0.4995, allocations: 20.88 kB / 462.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.4996, allocations: 19.42 kB / 462.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4996, allocations: 0 / 462.1 MB, free: 9.891 MB / 346.7 MB Notification: Performance of Templates: time 0.006772/0.5064, allocations: 2.204 MB / 464.3 MB, free: 7.691 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches