Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001848/0.001848, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.521/1.521, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0007055/0.0007055, allocations: 78.44 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004626, allocations: 12 kB / 329.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08177/0.3367, allocations: 75.32 MB / 452.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.337, allocations: 71.95 kB / 452.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005098/0.3421, allocations: 2.006 MB / 454.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3422, allocations: 0 / 454.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3422, allocations: 0 / 454.4 MB, free: 3.145 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00031/0.3425, allocations: 347.4 kB / 454.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3425, allocations: 12.03 kB / 454.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.3426, allocations: 8.875 kB / 454.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.3427, allocations: 160.4 kB / 454.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3427, allocations: 4.312 kB / 454.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3427, allocations: 4.375 kB / 454.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.785e-05/0.3428, allocations: 38.25 kB / 455 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3428, allocations: 192 / 455 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3428, allocations: 3.938 kB / 455 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3429, allocations: 0 / 455 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.3429, allocations: 4 kB / 455 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.3432, allocations: 249 kB / 455.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.3432, allocations: 25.03 kB / 455.3 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.3432, allocations: 20.84 kB / 455.3 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3433, allocations: 3.984 kB / 455.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.3434, allocations: 55.41 kB / 455.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.545e-06/0.3434, allocations: 0 / 455.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.3435, allocations: 61.47 kB / 455.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3436, allocations: 55.41 kB / 455.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.3437, allocations: 101.8 kB / 455.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3437, allocations: 33.7 kB / 455.6 MB, free: 1.781 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.3437, allocations: 80.14 kB / 455.7 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.3437, allocations: 3.906 kB / 455.7 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.3437, allocations: 0 / 455.7 MB, free: 1.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.3438, allocations: 326.8 kB / 456 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3439, allocations: 4 kB / 456 MB, free: 1.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.3439, allocations: 17.72 kB / 456 MB, free: 1.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.3439, allocations: 33.64 kB / 456 MB, free: 1.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3439, allocations: 0 / 456 MB, free: 1.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.022e-05/0.344, allocations: 53.62 kB / 456.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3441, allocations: 12.03 kB / 456.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3441, allocations: 384 / 456.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3441, allocations: 0 / 456.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.3441, allocations: 11.94 kB / 456.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3442, allocations: 3.984 kB / 456.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.3442, allocations: 15.84 kB / 456.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3442, allocations: 7.984 kB / 456.1 MB, free: 1.191 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.432e-05/0.3443, allocations: 109.8 kB / 456.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.3443, allocations: 4 kB / 456.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.3443, allocations: 11.91 kB / 456.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3443, allocations: 3.938 kB / 456.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3443, allocations: 0 / 456.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3443, allocations: 0 / 456.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3445, allocations: 286.6 kB / 456.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3445, allocations: 3.938 kB / 456.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.3445, allocations: 0 / 456.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3446, allocations: 0 / 456.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3446, allocations: 7.938 kB / 456.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3446, allocations: 0 / 456.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3446, allocations: 4 kB / 456.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.3447, allocations: 147.5 kB / 456.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.3447, allocations: 81.34 kB / 456.8 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3448, allocations: 3.984 kB / 456.8 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-05/0.3448, allocations: 0 / 456.8 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.3448, allocations: 4 kB / 456.8 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3448, allocations: 0 / 456.8 MB, free: 448 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.3449, allocations: 87.28 kB / 456.9 MB, free: 360 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3449, allocations: 0 / 456.9 MB, free: 360 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.3451, allocations: 35.98 kB / 456.9 MB, free: 324 kB / 330.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003713/0.3455, allocations: 204.8 kB / 457.1 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.3456, allocations: 19.98 kB / 457.1 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3456, allocations: 0 / 457.1 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.036e-05/0.3456, allocations: 4 kB / 457.1 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.3458, allocations: 4 kB / 457.1 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.3461, allocations: 121.1 kB / 457.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.3463, allocations: 0.681 MB / 457.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.3463, allocations: 4 kB / 457.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.3464, allocations: 11.44 kB / 458 MB, free: 15.24 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3464, allocations: 0 / 458 MB, free: 15.24 MB / 346.7 MB Notification: Performance of Templates: time 0.003064/0.3494, allocations: 1.089 MB / 459 MB, free: 14.15 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches