Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002062/0.003084, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002581, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.153/1.153, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1187/1.272, allocations: 53.66 MB / 243.4 MB, free: 15.53 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.143e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001983/0.002015, allocations: 1.447 MB / 246.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005473/0.002562, allocations: 359.4 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.0026, allocations: 0 / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.002624, allocations: 0 / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.119e-05/0.002666, allocations: 15.86 kB / 246.5 MB, free: 12.4 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0004181/0.003084, allocations: 83.58 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.003174, allocations: 19.94 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.003211, allocations: 0 / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.003279, allocations: 15.97 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.003306, allocations: 3.938 kB / 246.6 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.003321, allocations: 4 kB / 246.7 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.003567, allocations: 123.7 kB / 246.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.003591, allocations: 4 kB / 246.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.00361, allocations: 0 / 246.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.003784, allocations: 87.72 kB / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.003798, allocations: 4 kB / 246.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003798, allocations: 0 / 246.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.00381, allocations: 0 / 246.9 MB, free: 12.06 MB / 250.7 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.0004229/0.004233, allocations: 256.4 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.004274, allocations: 12.03 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.004307, allocations: 0.9375 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.004408, allocations: 113.8 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.004425, allocations: 384 / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.004438, allocations: 4.375 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.004514, allocations: 26.27 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004523, allocations: 4.188 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.004531, allocations: 8.375 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.004539, allocations: 8.359 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.32e-05/0.004552, allocations: 7.875 kB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.00479, allocations: 136.4 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.00484, allocations: 22.56 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.004853, allocations: 8.922 kB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.004859, allocations: 0 / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.804e-05/0.004957, allocations: 55.34 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.004958, allocations: 4 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001266/0.005085, allocations: 41.69 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.005123, allocations: 55.34 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.005201, allocations: 110.7 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.005213, allocations: 25.7 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.005247, allocations: 88.08 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.005264, allocations: 7.938 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.005295, allocations: 21.72 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.00538, allocations: 318.8 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.0054, allocations: 20.69 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.005421, allocations: 17.66 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.005455, allocations: 25.7 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005458, allocations: 0 / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.885e-05/0.005516, allocations: 49.62 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.005531, allocations: 8 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005536, allocations: 0 / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.005551, allocations: 0 / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.005611, allocations: 11.94 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005617, allocations: 3.984 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.00563, allocations: 0 / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.005637, allocations: 8.031 kB / 248.3 MB, free: 10.44 MB / 250.7 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.seed,globalSeed.id_impure,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 7.017e-05/0.005708, allocations: 109.8 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.005717, allocations: 4 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.005744, allocations: 8 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005746, allocations: 240 / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.005748, allocations: 3.938 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.005753, allocations: 11.92 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.005907, allocations: 182.8 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005908, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-06/0.005916, allocations: 0 / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.005922, allocations: 8.375 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.005925, allocations: 0 / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.00593, allocations: 3.938 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.005932, allocations: 4 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005933, allocations: 0 / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.624e-05/0.006009, allocations: 143.5 kB / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.00602, allocations: 0 / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.006045, allocations: 3.938 kB / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.006066, allocations: 0 / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.006077, allocations: 4 kB / 248.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.781e-05/0.006094, allocations: 20.77 kB / 248.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006094, allocations: 4 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.006256, allocations: 23.94 kB / 248.8 MB, free: 9.859 MB / 250.7 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.000424/0.00668, allocations: 217 kB / 249.1 MB, free: 9.695 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.006761, allocations: 16.86 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.006766, allocations: 4 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.006791, allocations: 20.78 kB / 249.1 MB, free: 9.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.006906, allocations: 4 kB / 249.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.007298, allocations: 116.6 kB / 249.2 MB, free: 9.504 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.007337, allocations: 63.28 kB / 249.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.007364, allocations: 4 kB / 249.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.007399, allocations: 51.38 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0074, allocations: 0 / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of Templates: time 0.002885/0.01028, allocations: 1.111 MB / 250.4 MB, free: 8.266 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8391408175230026]