Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 90.97 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003337, allocations: 7.984 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2321, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09506/0.3272, allocations: 76.93 MB / 486.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.3276, allocations: 77.73 kB / 486.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006267/0.3339, allocations: 2.006 MB / 488.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.334, allocations: 0.9688 kB / 488.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.334, allocations: 0 / 488.4 MB, free: 12.49 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000402/0.3344, allocations: 344.1 kB / 488.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3345, allocations: 13.97 kB / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3345, allocations: 4.875 kB / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3346, allocations: 164.4 kB / 488.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3347, allocations: 8.375 kB / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.3347, allocations: 384 / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.616e-05/0.3348, allocations: 34.7 kB / 488.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3348, allocations: 1.438 kB / 488.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3348, allocations: 3.938 kB / 489 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3348, allocations: 3.984 kB / 489 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.3348, allocations: 8.719 kB / 489 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3352, allocations: 237.9 kB / 489.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.3353, allocations: 27.17 kB / 489.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.3353, allocations: 16.8 kB / 489.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.3353, allocations: 4 kB / 489.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.3355, allocations: 55.39 kB / 489.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.3355, allocations: 0 / 489.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000189/0.3357, allocations: 57.59 kB / 489.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3357, allocations: 51.41 kB / 489.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.3358, allocations: 113.8 kB / 489.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3358, allocations: 25.7 kB / 489.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.3359, allocations: 84.14 kB / 489.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.3359, allocations: 3.906 kB / 489.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.3359, allocations: 4 kB / 489.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.336, allocations: 314.8 kB / 489.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.3361, allocations: 11.98 kB / 489.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.3361, allocations: 17.72 kB / 490 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.3362, allocations: 25.72 kB / 490 MB, free: 10.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3362, allocations: 4 kB / 490 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.804e-05/0.3363, allocations: 61.56 kB / 490.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3363, allocations: 7.984 kB / 490.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3363, allocations: 3.938 kB / 490.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3363, allocations: 0 / 490.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.3364, allocations: 8 kB / 490.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3364, allocations: 0 / 490.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.3364, allocations: 8.203 kB / 490.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3364, allocations: 4 kB / 490.1 MB, free: 10.57 MB / 362.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 8.06e-05/0.3365, allocations: 121.7 kB / 490.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.3365, allocations: 7.891 kB / 490.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.3366, allocations: 7.891 kB / 490.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3366, allocations: 0 / 490.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3366, allocations: 0 / 490.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3366, allocations: 4 kB / 490.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.3369, allocations: 286.6 kB / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3369, allocations: 0 / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.3369, allocations: 4 kB / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3369, allocations: 0 / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3369, allocations: 4 kB / 490.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3369, allocations: 4.359 kB / 490.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3369, allocations: 3.938 kB / 490.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3371, allocations: 143.5 kB / 490.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.3371, allocations: 85.02 kB / 490.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3371, allocations: 4 kB / 490.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.3372, allocations: 4 kB / 490.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3372, allocations: 4 kB / 490.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3372, allocations: 3.984 kB / 490.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.987e-05/0.3373, allocations: 79.28 kB / 490.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3373, allocations: 0 / 490.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.3376, allocations: 39.94 kB / 490.9 MB, free: 9.664 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: 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.0004347/0.338, allocations: 203.5 kB / 491.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.3381, allocations: 23.92 kB / 491.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3382, allocations: 0 / 491.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.3382, allocations: 16.05 kB / 491.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3384, allocations: 4 kB / 491.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.3387, allocations: 104.7 kB / 491.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3389, allocations: 0.677 MB / 491.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.339, allocations: 7.984 kB / 491.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.339, allocations: 11.44 kB / 491.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.339, allocations: 3.938 kB / 491.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003285/0.3423, allocations: 1.085 MB / 493 MB, free: 7.504 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches