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.001515/0.001515, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.001671/0.001671, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.421/1.421, allocations: 230.5 MB / 255.4 MB, free: 14.91 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.001995/0.001995, allocations: 67.84 kB / 374.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 53.33 MB / 428.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002836/0.112, allocations: 1.346 MB / 429.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008055/0.1128, allocations: 354.8 kB / 429.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.1128, allocations: 0 / 429.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.1128, allocations: 0 / 429.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.1129, allocations: 3.938 kB / 429.8 MB, free: 2.566 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.0005013/0.1134, allocations: 99.7 kB / 429.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.1135, allocations: 15.94 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1135, allocations: 0 / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.1135, allocations: 11.92 kB / 430 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.371e-05/0.1136, allocations: 8 kB / 430 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1136, allocations: 0 / 430 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.1138, allocations: 91.88 kB / 430.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.1138, allocations: 11.88 kB / 430.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1138, allocations: 7.938 kB / 430.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.114, allocations: 83.75 kB / 430.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.114, allocations: 0 / 430.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.114, allocations: 4 kB / 430.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.114, allocations: 0 / 430.2 MB, free: 2.238 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.0004867/0.1145, allocations: 351.3 kB / 430.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1145, allocations: 12.03 kB / 430.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.1146, allocations: 0.9375 kB / 430.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1147, allocations: 164.4 kB / 430.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1147, allocations: 384 / 430.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1147, allocations: 4.359 kB / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.1148, allocations: 30.27 kB / 430.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1148, allocations: 8.172 kB / 430.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1148, allocations: 3.938 kB / 430.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1148, allocations: 3.938 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.1149, allocations: 8 kB / 430.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.1152, allocations: 244.9 kB / 431 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.1153, allocations: 30.5 kB / 431 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.1153, allocations: 16.86 kB / 431 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.1153, allocations: 4 kB / 431 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.1155, allocations: 51.34 kB / 431.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1155, allocations: 4 kB / 431.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001692/0.1157, allocations: 57.67 kB / 431.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1157, allocations: 51.41 kB / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.1158, allocations: 105.8 kB / 431.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1158, allocations: 33.64 kB / 431.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.1159, allocations: 84.14 kB / 431.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.1159, allocations: 7.953 kB / 431.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1159, allocations: 17.72 kB / 431.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1161, allocations: 318.8 kB / 431.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.1161, allocations: 8 kB / 431.7 MB, free: 440 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.1161, allocations: 13.72 kB / 431.8 MB, free: 420 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.1162, allocations: 37.7 kB / 431.8 MB, free: 376 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1162, allocations: 0 / 431.8 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001016/0.1163, allocations: 65.52 kB / 431.9 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1163, allocations: 4 kB / 431.9 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1163, allocations: 4 kB / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1163, allocations: 0 / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.1164, allocations: 4 kB / 431.9 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1164, allocations: 4 kB / 431.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1164, allocations: 3.938 kB / 431.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1164, allocations: 4.031 kB / 431.9 MB, free: 280 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 0.0001092/0.1165, allocations: 117.8 kB / 432 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.1165, allocations: 4 kB / 432 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.1165, allocations: 11.84 kB / 432 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1165, allocations: 0 / 432 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1166, allocations: 0 / 432 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1166, allocations: 3.938 kB / 432 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2015/0.3181, allocations: 280.6 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3181, allocations: 0.9062 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.3181, allocations: 0.75 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3181, allocations: 2.719 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3181, allocations: 1.562 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3181, allocations: 2.062 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3181, allocations: 0 / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.8e-05/0.3182, allocations: 153.2 kB / 432.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.3182, allocations: 79.42 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3182, allocations: 1.328 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.3183, allocations: 5.219 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.3183, allocations: 3.203 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3184, allocations: 5.453 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.325e-05/0.3184, allocations: 85.98 kB / 432.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3184, allocations: 0 / 432.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.3188, allocations: 27.58 kB / 432.7 MB, free: 10.61 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.000445/0.3192, allocations: 182.3 kB / 432.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3193, allocations: 22.22 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3193, allocations: 0.5312 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.3194, allocations: 9.375 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3196, allocations: 2.609 kB / 432.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.3198, allocations: 147.8 kB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3199, allocations: 0.6778 MB / 433.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.3199, allocations: 8.281 kB / 433.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.32, allocations: 1.344 kB / 433.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003045/0.323, allocations: 1.169 MB / 434.9 MB, free: 9.598 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.304366672062315]