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.001757/0.001757, allocations: 115.7 kB / 19.18 MB, free: 3.906 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.002143/0.002143, allocations: 201 kB / 22.12 MB, free: 0.9648 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.475/1.475, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.002233/0.002233, allocations: 71.83 kB / 374.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 53.31 MB / 428.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002964/0.1248, allocations: 1.354 MB / 429.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.1256, allocations: 362.7 kB / 429.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.1256, allocations: 0 / 429.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.1257, allocations: 0 / 429.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.1257, allocations: 3.938 kB / 429.8 MB, free: 2.727 MB / 350.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.0005265/0.1262, allocations: 87.72 kB / 429.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.1263, allocations: 19.92 kB / 429.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1264, allocations: 3.984 kB / 429.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.1264, allocations: 11.94 kB / 429.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.1264, allocations: 4 kB / 429.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.1264, allocations: 4 kB / 429.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1267, allocations: 91.89 kB / 430 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.1267, allocations: 7.922 kB / 430 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.1267, allocations: 8 kB / 430 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1269, allocations: 79.77 kB / 430.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1269, allocations: 11.86 kB / 430.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1269, allocations: 0 / 430.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1269, allocations: 0 / 430.1 MB, free: 2.402 MB / 350.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.0004616/0.1274, allocations: 343.3 kB / 430.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1274, allocations: 12.03 kB / 430.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1275, allocations: 4.938 kB / 430.4 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1276, allocations: 168.4 kB / 430.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1276, allocations: 384 / 430.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1276, allocations: 4.375 kB / 430.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1277, allocations: 30.27 kB / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1277, allocations: 192 / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1278, allocations: 3.938 kB / 430.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1278, allocations: 0 / 430.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.1278, allocations: 7.984 kB / 430.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1282, allocations: 256.8 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.1282, allocations: 18.58 kB / 430.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.1283, allocations: 16.86 kB / 430.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1283, allocations: 4 kB / 430.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1284, allocations: 59.33 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1285, allocations: 0 / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.1286, allocations: 65.55 kB / 431.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1287, allocations: 51.41 kB / 431.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1288, allocations: 105.8 kB / 431.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1288, allocations: 29.7 kB / 431.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.1288, allocations: 80.14 kB / 431.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1289, allocations: 3.953 kB / 431.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1289, allocations: 21.72 kB / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1291, allocations: 322.8 kB / 431.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.1291, allocations: 4 kB / 431.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.1291, allocations: 17.72 kB / 431.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.1292, allocations: 34.02 kB / 431.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1292, allocations: 0 / 431.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.1293, allocations: 65.52 kB / 431.8 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1293, allocations: 8.031 kB / 431.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1293, allocations: 8 kB / 431.8 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1293, allocations: 0 / 431.8 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.1294, allocations: 4 kB / 431.8 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1294, allocations: 4 kB / 431.8 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.1294, allocations: 3.938 kB / 431.8 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1294, allocations: 0 / 431.8 MB, free: 452 kB / 350.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.352e-05/0.1295, allocations: 121.8 kB / 431.9 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1295, allocations: 0 / 431.9 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.1296, allocations: 11.91 kB / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1296, allocations: 0 / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1296, allocations: 0 / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1296, allocations: 0 / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1954/0.325, allocations: 284.9 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.325, allocations: 0 / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.325, allocations: 3.844 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.325, allocations: 0.8125 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.325, allocations: 0.9062 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.325, allocations: 0.75 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.325, allocations: 1.25 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3252, allocations: 156.8 kB / 432.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.3252, allocations: 77.77 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3252, allocations: 2.375 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.3253, allocations: 0.5938 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.3253, allocations: 5.859 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3253, allocations: 3.469 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.886e-05/0.3253, allocations: 85.41 kB / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3253, allocations: 0 / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.3257, allocations: 31.02 kB / 432.6 MB, free: 10.79 MB / 350.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.0004395/0.3262, allocations: 181.3 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3263, allocations: 22.73 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3263, allocations: 0 / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.3263, allocations: 6.547 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3266, allocations: 5.438 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.3268, allocations: 135.4 kB / 432.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3269, allocations: 0.6788 MB / 433.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.327, allocations: 9.781 kB / 433.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.327, allocations: 3.531 kB / 433.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Templates: time 0.003392/0.3304, allocations: 1.176 MB / 434.8 MB, free: 9.781 MB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.404134230106138]