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.001717/0.001717, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002249/0.002249, allocations: 217.4 kB / 23 MB, free: 5.574 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.577/1.577, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.00192/0.00192, allocations: 67.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3822, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.004185/0.3864, allocations: 1.367 MB / 431.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3877, allocations: 354.9 kB / 431.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.3877, allocations: 0 / 431.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.3878, allocations: 3.984 kB / 431.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3879, allocations: 11.92 kB / 431.5 MB, free: 5.793 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.0007151/0.3886, allocations: 87.73 kB / 431.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.3887, allocations: 15.94 kB / 431.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.3887, allocations: 3.984 kB / 431.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.3888, allocations: 11.92 kB / 431.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.3888, allocations: 11.94 kB / 431.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3888, allocations: 0 / 431.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.3891, allocations: 87.89 kB / 431.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.3891, allocations: 4 kB / 431.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.3892, allocations: 11.88 kB / 431.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3895, allocations: 87.59 kB / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3895, allocations: 0 / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3895, allocations: 4 kB / 431.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3895, allocations: 0 / 431.8 MB, free: 5.477 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.0006122/0.3901, allocations: 348.7 kB / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.3901, allocations: 12.03 kB / 432.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3902, allocations: 0.9375 kB / 432.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3904, allocations: 176.3 kB / 432.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3904, allocations: 384 / 432.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3905, allocations: 384 / 432.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3906, allocations: 30.27 kB / 432.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3906, allocations: 8.125 kB / 432.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3906, allocations: 3.938 kB / 432.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3906, allocations: 3.984 kB / 432.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.3906, allocations: 11.94 kB / 432.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3911, allocations: 237 kB / 432.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.3912, allocations: 22.58 kB / 432.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.3912, allocations: 16.86 kB / 432.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3913, allocations: 4 kB / 432.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.3915, allocations: 55.33 kB / 432.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3915, allocations: 4 kB / 432.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002437/0.3917, allocations: 53.69 kB / 432.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3918, allocations: 51.41 kB / 432.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3919, allocations: 105.8 kB / 433 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3919, allocations: 29.7 kB / 433 MB, free: 4.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.392, allocations: 84.14 kB / 433.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.392, allocations: 11.94 kB / 433.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.3921, allocations: 17.72 kB / 433.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3922, allocations: 314.8 kB / 433.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.3923, allocations: 11.94 kB / 433.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.3923, allocations: 13.97 kB / 433.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.3924, allocations: 37.83 kB / 433.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3924, allocations: 4 kB / 433.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001486/0.3925, allocations: 65.7 kB / 433.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3926, allocations: 4 kB / 433.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3926, allocations: 4.047 kB / 433.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3926, allocations: 3.984 kB / 433.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.3927, allocations: 4 kB / 433.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3927, allocations: 4 kB / 433.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.3927, allocations: 3.938 kB / 433.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3927, allocations: 8.016 kB / 433.6 MB, free: 3.512 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.0001258/0.3928, allocations: 113.8 kB / 433.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.3928, allocations: 4 kB / 433.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.3929, allocations: 7.906 kB / 433.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3929, allocations: 3.938 kB / 433.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3929, allocations: 0 / 433.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3929, allocations: 0 / 433.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3933, allocations: 286.5 kB / 434 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3933, allocations: 8 kB / 434 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.3933, allocations: 3.938 kB / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3933, allocations: 0 / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.3933, allocations: 0 / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3933, allocations: 0 / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3933, allocations: 4 kB / 434 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3935, allocations: 147.4 kB / 434.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.3936, allocations: 81.11 kB / 434.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3936, allocations: 7.984 kB / 434.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.3937, allocations: 0 / 434.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.3937, allocations: 0 / 434.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.3937, allocations: 4 kB / 434.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.3938, allocations: 83.28 kB / 434.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3938, allocations: 0 / 434.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.3942, allocations: 27.92 kB / 434.3 MB, free: 2.633 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.0006145/0.3948, allocations: 196.5 kB / 434.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.395, allocations: 23.92 kB / 434.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.395, allocations: 0 / 434.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.395, allocations: 4 kB / 434.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3954, allocations: 4 kB / 434.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.3958, allocations: 117.6 kB / 434.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3962, allocations: 0.6768 MB / 435.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.3963, allocations: 4 kB / 435.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.3963, allocations: 15.42 kB / 435.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3963, allocations: 0 / 435.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Templates: time 0.005747/0.402, allocations: 0.9608 MB / 436.3 MB, free: 0.6016 MB / 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.8500968888401985]