Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001725, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.539/1.539, allocations: 230.4 MB / 250 MB, free: 9.031 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.83 kB / 367.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3333, allocations: 53.3 MB / 420.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002726/0.3361, allocations: 1.344 MB / 422 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.3369, allocations: 361.5 kB / 422.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.3369, allocations: 0 / 422.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.3369, allocations: 4 kB / 422.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.337, allocations: 7.938 kB / 422.4 MB, free: 6.684 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0005142/0.3375, allocations: 79.73 kB / 422.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.3376, allocations: 23.91 kB / 422.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.3376, allocations: 0 / 422.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.3376, allocations: 7.938 kB / 422.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.3377, allocations: 15.92 kB / 422.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3377, allocations: 0 / 422.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3379, allocations: 91.89 kB / 422.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.3379, allocations: 3.984 kB / 422.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.3379, allocations: 11.94 kB / 422.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3381, allocations: 83.7 kB / 422.7 MB, free: 6.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3381, allocations: 4 kB / 422.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3381, allocations: 0 / 422.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3381, allocations: 0 / 422.7 MB, free: 6.367 MB / 334.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.0005428/0.3387, allocations: 351.3 kB / 423 MB, free: 5.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3387, allocations: 8.031 kB / 423 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3388, allocations: 0.9375 kB / 423 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3389, allocations: 168.4 kB / 423.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.339, allocations: 384 / 423.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.339, allocations: 4.312 kB / 423.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3391, allocations: 46.25 kB / 423.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3391, allocations: 192 / 423.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3391, allocations: 7.938 kB / 423.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3391, allocations: 3.938 kB / 423.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.3392, allocations: 3.938 kB / 423.3 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.3396, allocations: 248.9 kB / 423.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.044e-05/0.3397, allocations: 22.58 kB / 423.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.3397, allocations: 24.84 kB / 423.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3397, allocations: 0 / 423.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3399, allocations: 55.34 kB / 423.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.3399, allocations: 0 / 423.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002243/0.3401, allocations: 49.88 kB / 423.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.3402, allocations: 51.41 kB / 423.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3403, allocations: 109.8 kB / 423.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3404, allocations: 25.7 kB / 423.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.3404, allocations: 84.14 kB / 423.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.3404, allocations: 7.953 kB / 423.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3405, allocations: 21.7 kB / 423.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3406, allocations: 310.8 kB / 424.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.3407, allocations: 8 kB / 424.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.3407, allocations: 25.7 kB / 424.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.3408, allocations: 33.64 kB / 424.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3408, allocations: 0 / 424.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.3409, allocations: 65.52 kB / 424.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3409, allocations: 8 kB / 424.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.3409, allocations: 0 / 424.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.3409, allocations: 0 / 424.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.341, allocations: 11.98 kB / 424.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.341, allocations: 0 / 424.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.341, allocations: 7.969 kB / 424.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.341, allocations: 3.984 kB / 424.4 MB, free: 4.395 MB / 334.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 0.0001057/0.3411, allocations: 117.8 kB / 424.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.3412, allocations: 4 kB / 424.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.3412, allocations: 3.906 kB / 424.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3412, allocations: 3.984 kB / 424.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3412, allocations: 0 / 424.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3412, allocations: 0 / 424.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3415, allocations: 286.5 kB / 424.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3415, allocations: 4 kB / 424.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.3415, allocations: 4.375 kB / 424.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3415, allocations: 0 / 424.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3415, allocations: 3.938 kB / 424.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3415, allocations: 8 kB / 424.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3415, allocations: 0 / 424.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3417, allocations: 155.4 kB / 425 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.3417, allocations: 77.11 kB / 425.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3417, allocations: 4 kB / 425.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.3418, allocations: 4 kB / 425.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.3418, allocations: 0 / 425.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3418, allocations: 4 kB / 425.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.752e-05/0.3419, allocations: 83.27 kB / 425.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 425.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3422, allocations: 27.94 kB / 425.2 MB, free: 3.508 MB / 334.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.0004894/0.3426, allocations: 182 kB / 425.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3428, allocations: 23.92 kB / 425.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3428, allocations: 0 / 425.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.3428, allocations: 11.94 kB / 425.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.343, allocations: 14.27 kB / 425.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3434, allocations: 109.6 kB / 425.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3437, allocations: 0.6768 MB / 426.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.3437, allocations: 7.984 kB / 426.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.3437, allocations: 11.44 kB / 426.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3437, allocations: 0 / 426.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of Templates: time 0.003999/0.3477, allocations: 0.96 MB / 427.2 MB, free: 1.492 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches