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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.64 kB / 307.6 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08837, allocations: 50.52 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002694/0.09109, allocations: 1.343 MB / 359.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.09202, allocations: 356.6 kB / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.09209, allocations: 0 / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.09215, allocations: 3.938 kB / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.09222, allocations: 3.938 kB / 359.8 MB, free: 12.41 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.09281, allocations: 87.72 kB / 359.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.09288, allocations: 15.98 kB / 359.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.09293, allocations: 0 / 359.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.09296, allocations: 11.94 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.678e-05/0.09299, allocations: 15.92 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.09301, allocations: 3.938 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.0932, allocations: 83.86 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.09323, allocations: 11.97 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.09326, allocations: 7.938 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.09344, allocations: 79.83 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09345, allocations: 4 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09346, allocations: 0 / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.09347, allocations: 0 / 360.2 MB, free: 12.1 MB / 302.1 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.0003652/0.09384, allocations: 343.5 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.09388, allocations: 8.031 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.09392, allocations: 12.92 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.09403, allocations: 180.4 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.09406, allocations: 384 / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.09407, allocations: 4.375 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.897e-05/0.09417, allocations: 38.25 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.09418, allocations: 192 / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.0942, allocations: 3.938 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.09421, allocations: 4 kB / 360.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.09424, allocations: 7.984 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.09455, allocations: 237 kB / 361 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.09461, allocations: 26.52 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.09465, allocations: 16.86 kB / 361 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.09467, allocations: 4 kB / 361 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.09481, allocations: 51.39 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.09482, allocations: 0 / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001605/0.09498, allocations: 61.62 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.09503, allocations: 51.41 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.09511, allocations: 105.8 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.09513, allocations: 25.7 kB / 361.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.09517, allocations: 84.14 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.09519, allocations: 7.906 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.09523, allocations: 25.7 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.09534, allocations: 310.8 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.09537, allocations: 8 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.0954, allocations: 21.7 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.09545, allocations: 29.66 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.09546, allocations: 4 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.384e-05/0.09556, allocations: 61.53 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.09558, allocations: 6.969 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.09559, allocations: 4 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.09561, allocations: 0 / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.09568, allocations: 11.92 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.09569, allocations: 3.938 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.09572, allocations: 7.938 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.09573, allocations: 0 / 361.9 MB, free: 10.13 MB / 302.1 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.09581, allocations: 125.8 kB / 362 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.09582, allocations: 0 / 362 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.09585, allocations: 3.906 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.09586, allocations: 4 kB / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.09587, allocations: 384 / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.09588, allocations: 0 / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.09609, allocations: 286.5 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.09611, allocations: 4 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.09613, allocations: 4 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.09614, allocations: 4 kB / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.09615, allocations: 0 / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.09615, allocations: 0 / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09616, allocations: 0 / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.09628, allocations: 155.7 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.09633, allocations: 85.09 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.09635, allocations: 0 / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.09639, allocations: 0 / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.09642, allocations: 4 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.09644, allocations: 4 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.09648, allocations: 87.27 kB / 362.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09649, allocations: 3.938 kB / 362.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.09676, allocations: 24 kB / 362.7 MB, free: 9.242 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003683/0.09714, allocations: 180.2 kB / 362.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.363e-05/0.09724, allocations: 23.97 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.09725, allocations: 0 / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.09729, allocations: 16.02 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.09749, allocations: 6.656 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.09777, allocations: 139.2 kB / 363 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.098, allocations: 0.6806 MB / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.09803, allocations: 11.44 kB / 363.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09803, allocations: 0 / 363.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of Templates: time 0.002715/0.1008, allocations: 1.159 MB / 364.9 MB, free: 6.984 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches