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.0008498/0.0008498, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.00185, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007002/0.0007002, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008207/0.001521, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.097/1.097, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.202, allocations: 53.66 MB / 243.3 MB, free: 15.57 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 2.315e-06/2.315e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.518e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002627/0.002652, allocations: 1.447 MB / 246 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.003326, allocations: 359.4 kB / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.00336, allocations: 0 / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.003384, allocations: 7.938 kB / 246.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.003421, allocations: 0 / 246.3 MB, free: 12.48 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.000436/0.003857, allocations: 87.58 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.003934, allocations: 15.94 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.003977, allocations: 7.984 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.004041, allocations: 11.94 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.004074, allocations: 11.97 kB / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.004088, allocations: 0 / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.004371, allocations: 115.7 kB / 246.6 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.004392, allocations: 7.938 kB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.004412, allocations: 4 kB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004603, allocations: 87.72 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-05/0.00462, allocations: 0 / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004621, allocations: 0 / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.00464, allocations: 0 / 246.7 MB, free: 12.14 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.0004385/0.005078, allocations: 260.4 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.005115, allocations: 8.031 kB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.005146, allocations: 0.9375 kB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.005256, allocations: 105.8 kB / 247 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.005272, allocations: 384 / 247 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.005284, allocations: 8.375 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.596e-05/0.00536, allocations: 38.25 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005368, allocations: 192 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.005375, allocations: 384 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.005381, allocations: 384 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.409e-05/0.005395, allocations: 7.875 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.005643, allocations: 140.3 kB / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.846e-05/0.005691, allocations: 22.55 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.005709, allocations: 12.92 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.005716, allocations: 0 / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.005817, allocations: 63.31 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 2.896e-06/0.00582, allocations: 3.984 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001135/0.005933, allocations: 41.69 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.005975, allocations: 55.34 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.006051, allocations: 114.7 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006062, allocations: 25.7 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.006099, allocations: 88.09 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.006117, allocations: 7.953 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.006155, allocations: 17.7 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.006254, allocations: 318.8 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.00628, allocations: 16.7 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.006304, allocations: 21.72 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.006347, allocations: 25.69 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.00635, allocations: 0 / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.103e-05/0.006431, allocations: 49.62 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.006448, allocations: 7.438 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.006455, allocations: 0 / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006466, allocations: 0 / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.006537, allocations: 15.92 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006542, allocations: 0 / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.006561, allocations: 8.031 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.006569, allocations: 0 / 248.1 MB, free: 10.52 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.936e-05/0.006649, allocations: 121.7 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.006657, allocations: 0 / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.006682, allocations: 7.984 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.006686, allocations: 4 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006689, allocations: 3.938 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006693, allocations: 3.938 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.006855, allocations: 174.9 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006856, allocations: 0 / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.006866, allocations: 4 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.006876, allocations: 15.97 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006879, allocations: 0 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006884, allocations: 3.938 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006885, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006886, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.763e-05/0.006964, allocations: 135.5 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.006973, allocations: 0 / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.515e-05/0.007019, allocations: 4.312 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.007037, allocations: 7.984 kB / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.007049, allocations: 4 kB / 248.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.349e-05/0.007062, allocations: 12.86 kB / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007062, allocations: 0 / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.007305, allocations: 27.94 kB / 248.7 MB, free: 9.945 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.0005372/0.007842, allocations: 206.5 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.224e-05/0.007934, allocations: 28.78 kB / 248.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.007938, allocations: 0 / 248.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.007957, allocations: 8.859 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.008099, allocations: 4 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.008496, allocations: 112.8 kB / 249 MB, free: 9.602 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.008541, allocations: 59.34 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.008568, allocations: 4 kB / 249.1 MB, free: 9.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.008602, allocations: 51.31 kB / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008603, allocations: 4.062 kB / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of Templates: time 0.003366/0.01197, allocations: 1.127 MB / 250.2 MB, free: 8.348 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6284405644983053]