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.001443/0.001443, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001575/0.001575, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.482/1.482, allocations: 230.5 MB / 258.1 MB, free: 7.812 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.001927/0.001927, allocations: 59.91 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2253, allocations: 53.4 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002779/0.228, allocations: 1.348 MB / 433.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.2288, allocations: 346.8 kB / 434.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.2289, allocations: 4 kB / 434.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.2289, allocations: 3.938 kB / 434.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.229, allocations: 0 / 434.1 MB, free: 4.852 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.0005544/0.2295, allocations: 99.69 kB / 434.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.2296, allocations: 15.94 kB / 434.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2296, allocations: 0 / 434.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.2297, allocations: 19.91 kB / 434.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.16e-05/0.2297, allocations: 4 kB / 434.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2297, allocations: 4 kB / 434.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.2299, allocations: 115.8 kB / 434.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.23, allocations: 11.94 kB / 434.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.23, allocations: 3.984 kB / 434.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.2302, allocations: 82.72 kB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2302, allocations: 0 / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2302, allocations: 0 / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2302, allocations: 0 / 434.4 MB, free: 4.508 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.0004028/0.2306, allocations: 277.8 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2306, allocations: 15.98 kB / 434.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2307, allocations: 4.938 kB / 434.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.2308, allocations: 110.5 kB / 434.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2308, allocations: 8.312 kB / 434.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2308, allocations: 384 / 434.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.2309, allocations: 34.25 kB / 434.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2309, allocations: 192 / 434.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2309, allocations: 3.938 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.2309, allocations: 0 / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.2309, allocations: 4 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2312, allocations: 200.6 kB / 435.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.2313, allocations: 26.52 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.2313, allocations: 12.92 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2313, allocations: 3.984 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.2315, allocations: 55.34 kB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2315, allocations: 3.938 kB / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.2316, allocations: 57.61 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.2317, allocations: 51.41 kB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.2318, allocations: 109.8 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2318, allocations: 33.64 kB / 435.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.2318, allocations: 88.12 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.2319, allocations: 3.953 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2319, allocations: 17.72 kB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.232, allocations: 322.8 kB / 435.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.232, allocations: 4 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.2321, allocations: 17.72 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.2321, allocations: 33.64 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2321, allocations: 0 / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.2322, allocations: 65.58 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2322, allocations: 4 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2323, allocations: 4 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2323, allocations: 0 / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.2323, allocations: 7.938 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2323, allocations: 3.984 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.2323, allocations: 4 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.2324, allocations: 0 / 436 MB, free: 2.766 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 8.601e-05/0.2324, allocations: 117.8 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.2325, allocations: 3.938 kB / 436.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.2325, allocations: 12.03 kB / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2325, allocations: 0 / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2325, allocations: 0 / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2325, allocations: 0 / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.2327, allocations: 238.6 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2327, allocations: 3.938 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.2327, allocations: 4 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2327, allocations: 0 / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2327, allocations: 0 / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2327, allocations: 4 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2327, allocations: 0 / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.2329, allocations: 155.4 kB / 436.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-06/0.2329, allocations: 336 / 436.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2329, allocations: 7.938 kB / 436.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.2329, allocations: 4 kB / 436.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.233, allocations: 3.938 kB / 436.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.233, allocations: 0 / 436.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.233, allocations: 83.27 kB / 436.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 4 kB / 436.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.2333, allocations: 23.94 kB / 436.6 MB, free: 2.043 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.0005422/0.2338, allocations: 185.9 kB / 436.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.234, allocations: 19.98 kB / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.234, allocations: 0 / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.234, allocations: 12 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.2343, allocations: 8 kB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.2346, allocations: 135.3 kB / 437 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.2347, allocations: 59.34 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.2347, allocations: 15.44 kB / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2347, allocations: 0 / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of Templates: time 0.003013/0.2377, allocations: 1.17 MB / 438.2 MB, free: 424 kB / 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/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_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: 7.285938241053373]