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.001332/0.001332, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001471/0.001471, allocations: 207 kB / 24.46 MB, free: 3.902 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.438/1.438, allocations: 230.5 MB / 258.1 MB, free: 8.148 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.00197/0.00197, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, 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.002817/0.33, allocations: 1.363 MB / 433.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.3309, allocations: 370.8 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.331, allocations: 0 / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.331, allocations: 3.938 kB / 433.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.3311, allocations: 0 / 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.0005181/0.3316, allocations: 83.73 kB / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.462e-05/0.3317, allocations: 19.86 kB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3317, allocations: 4 kB / 433.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.3317, allocations: 15.98 kB / 433.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.3318, allocations: 3.938 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3318, allocations: 4 kB / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.332, allocations: 95.83 kB / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.332, allocations: 0 / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.3321, allocations: 15.92 kB / 434 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3323, allocations: 83.61 kB / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3323, allocations: 0 / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3323, allocations: 0 / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3323, allocations: 0 / 434.1 MB, free: 5.312 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.0005056/0.3328, allocations: 352.9 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3328, allocations: 8.031 kB / 434.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.3329, allocations: 4.938 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.333, allocations: 164.4 kB / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.333, allocations: 384 / 434.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.333, allocations: 4.375 kB / 434.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.3331, allocations: 42.19 kB / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3331, allocations: 192 / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3331, allocations: 3.938 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3331, allocations: 0 / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.3332, allocations: 8 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.3335, allocations: 244.9 kB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.3336, allocations: 22.56 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.3336, allocations: 16.86 kB / 434.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.3336, allocations: 3.938 kB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3338, allocations: 63.33 kB / 435 MB, free: 4.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3338, allocations: 0 / 435 MB, free: 4.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001878/0.334, allocations: 49.69 kB / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.334, allocations: 55.41 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.3341, allocations: 101.8 kB / 435.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3341, allocations: 37.64 kB / 435.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3342, allocations: 80.14 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3342, allocations: 7.938 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3342, allocations: 25.7 kB / 435.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3344, allocations: 318.8 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.3345, allocations: 4 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.3345, allocations: 21.7 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.3346, allocations: 21.72 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3346, allocations: 7.938 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.3347, allocations: 69.52 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3347, allocations: 4 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3347, allocations: 0 / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3347, allocations: 4 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.3348, allocations: 4 kB / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3348, allocations: 3.984 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.3348, allocations: 4.375 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3348, allocations: 0 / 435.8 MB, free: 3.352 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.0001027/0.3349, allocations: 121.7 kB / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.3349, allocations: 4.031 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.3349, allocations: 3.906 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.335, allocations: 4 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.335, allocations: 4 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.335, allocations: 0 / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.3352, allocations: 286.6 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3352, allocations: 0 / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.3352, allocations: 4 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3352, allocations: 0 / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3353, allocations: 4 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3353, allocations: 0 / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3353, allocations: 0 / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.3354, allocations: 151.7 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3354, allocations: 77.16 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3355, allocations: 7.969 kB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.3355, allocations: 11.94 kB / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.3355, allocations: 0 / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3355, allocations: 4 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.3356, allocations: 83.28 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 0 / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3359, allocations: 27.92 kB / 436.6 MB, free: 2.469 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.0004746/0.3363, allocations: 190.7 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.3365, allocations: 23.92 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3365, allocations: 0 / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.3365, allocations: 8 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.3367, allocations: 4.125 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.337, allocations: 139.3 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3374, allocations: 0.6846 MB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.3374, allocations: 11.44 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3374, allocations: 0 / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Templates: time 0.003261/0.3407, allocations: 1.171 MB / 438.8 MB, free: 204 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 -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: 7.643881666008383]