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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002097/0.002097, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.575/1.575, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] 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=5201,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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "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.002049/0.002049, allocations: 72.06 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.277, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002658/0.2797, allocations: 1.348 MB / 433.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.2805, allocations: 366.9 kB / 433.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.2805, allocations: 0 / 433.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.2805, allocations: 3.938 kB / 433.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.2806, allocations: 15.92 kB / 433.8 MB, free: 5.629 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.0005128/0.2811, allocations: 79.73 kB / 433.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.2812, allocations: 15.94 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.2813, allocations: 3.984 kB / 433.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.2813, allocations: 7.984 kB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.2813, allocations: 11.94 kB / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.2813, allocations: 0 / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.2815, allocations: 95.83 kB / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2815, allocations: 4 kB / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2816, allocations: 11.92 kB / 434 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2818, allocations: 83.61 kB / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2818, allocations: 4 kB / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2818, allocations: 0 / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2818, allocations: 0 / 434.1 MB, free: 5.32 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.0004497/0.2822, allocations: 349.3 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2823, allocations: 12.03 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2823, allocations: 0.9375 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2825, allocations: 180.2 kB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2825, allocations: 384 / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.2825, allocations: 384 / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.2826, allocations: 34.27 kB / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.2826, allocations: 192 / 434.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2826, allocations: 3.938 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2826, allocations: 3.984 kB / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.2826, allocations: 7.984 kB / 434.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.283, allocations: 244.9 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.283, allocations: 26.52 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.2831, allocations: 12.86 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.2831, allocations: 8 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.2832, allocations: 43.41 kB / 435 MB, free: 4.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 5.11e-06/0.2832, allocations: 8 kB / 435 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001743/0.2834, allocations: 61.61 kB / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2834, allocations: 51.41 kB / 435.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.2835, allocations: 113.8 kB / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2835, allocations: 25.7 kB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2836, allocations: 84.14 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2836, allocations: 7.953 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.2836, allocations: 17.72 kB / 435.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2838, allocations: 318.8 kB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.2838, allocations: 8 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.2839, allocations: 17.72 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.2839, allocations: 33.64 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2839, allocations: 0 / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/0.284, allocations: 65.52 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.284, allocations: 4 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.284, allocations: 8.031 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.284, allocations: 0 / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.2841, allocations: 7.938 kB / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2841, allocations: 4 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.2841, allocations: 0 / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2841, allocations: 0 / 435.8 MB, free: 3.355 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.207e-05/0.2842, allocations: 121.8 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.2842, allocations: 0 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.2843, allocations: 7.906 kB / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2843, allocations: 4 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2843, allocations: 3.938 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2843, allocations: 0 / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.2845, allocations: 282.5 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2845, allocations: 4 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.2845, allocations: 3.984 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2845, allocations: 0 / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2845, allocations: 0 / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2845, allocations: 0 / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2845, allocations: 4 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2847, allocations: 155.7 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.2847, allocations: 81.11 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2847, allocations: 0 / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.2848, allocations: 3.984 kB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.2848, allocations: 0 / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2848, allocations: 4.375 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.2849, allocations: 91.22 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2849, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.2851, allocations: 35.92 kB / 436.6 MB, free: 2.465 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.0004193/0.2856, allocations: 178.4 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.2857, allocations: 24.03 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2857, allocations: 0 / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.2857, allocations: 11.92 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2859, allocations: 14.47 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.2862, allocations: 109.6 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2865, allocations: 0.6807 MB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.802e-05/0.2865, allocations: 4 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.2865, allocations: 7.438 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2865, allocations: 4.062 kB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Templates: time 0.003776/0.2903, allocations: 0.9489 MB / 438.6 MB, free: 468 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.658016363624483]