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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002193/0.002193, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 178] 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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 53.36 MB / 432.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003005/0.3337, allocations: 1.352 MB / 433.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.3346, allocations: 362.8 kB / 433.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.3347, allocations: 7.938 kB / 433.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.3347, allocations: 0 / 433.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.3348, allocations: 3.938 kB / 433.8 MB, free: 5.375 MB / 334.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.0006403/0.3354, allocations: 103.6 kB / 433.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.3355, allocations: 8 kB / 433.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.3355, allocations: 7.984 kB / 434 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.3356, allocations: 11.92 kB / 434 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.3356, allocations: 11.88 kB / 434 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.3357, allocations: 8 kB / 434 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.3361, allocations: 119.8 kB / 434.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.3361, allocations: 3.984 kB / 434.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.3361, allocations: 11.94 kB / 434.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3364, allocations: 79.62 kB / 434.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3364, allocations: 0 / 434.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3364, allocations: 0 / 434.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3365, allocations: 0 / 434.2 MB, free: 5.02 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.0005991/0.3371, allocations: 276 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.3371, allocations: 11.97 kB / 434.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3372, allocations: 4.938 kB / 434.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3373, allocations: 118.5 kB / 434.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3373, allocations: 384 / 434.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3373, allocations: 4.375 kB / 434.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3375, allocations: 34.25 kB / 434.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3375, allocations: 192 / 434.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3375, allocations: 3.938 kB / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3375, allocations: 0 / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.3376, allocations: 11.98 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.3381, allocations: 219.9 kB / 434.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.3381, allocations: 22.58 kB / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.3382, allocations: 16.84 kB / 434.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3382, allocations: 0 / 434.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.3384, allocations: 51.41 kB / 435 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.3384, allocations: 4 kB / 435 MB, free: 4.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002814/0.3387, allocations: 57.62 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.3388, allocations: 51.41 kB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3389, allocations: 105.8 kB / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3389, allocations: 25.7 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.339, allocations: 84.14 kB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.339, allocations: 7.953 kB / 435.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.3391, allocations: 21.7 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3393, allocations: 318.8 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.3393, allocations: 4 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.3394, allocations: 25.64 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.3394, allocations: 29.66 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3394, allocations: 0 / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.3395, allocations: 61.58 kB / 435.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3396, allocations: 7.938 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3396, allocations: 8.016 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3396, allocations: 0 / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.3397, allocations: 11.98 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3397, allocations: 384 / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.3397, allocations: 7.938 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3397, allocations: 4 kB / 435.8 MB, free: 3.246 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 9.436e-05/0.3398, allocations: 109.8 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.3398, allocations: 8 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.3399, allocations: 8 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3399, allocations: 7.984 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3399, allocations: 0 / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3399, allocations: 0 / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.3402, allocations: 257.6 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3402, allocations: 0 / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.3402, allocations: 4 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3402, allocations: 0 / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3402, allocations: 0 / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3402, allocations: 0 / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3402, allocations: 0 / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3403, allocations: 163.7 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-06/0.3403, allocations: 0 / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3404, allocations: 4 kB / 436.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.3404, allocations: 0 / 436.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.3404, allocations: 3.938 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3404, allocations: 0 / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.3405, allocations: 91.27 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 4 kB / 436.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.3408, allocations: 23.94 kB / 436.4 MB, free: 2.492 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.0004528/0.3412, allocations: 187.6 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.3413, allocations: 24.03 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3413, allocations: 0 / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.3414, allocations: 12.02 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.3416, allocations: 8 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.3419, allocations: 101.7 kB / 436.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3422, allocations: 0.6807 MB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.3422, allocations: 7.984 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.3423, allocations: 11.5 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3423, allocations: 0 / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of Templates: time 0.003861/0.3461, allocations: 0.957 MB / 438.4 MB, free: 484 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.985653300769627]