Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.002939, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002758, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8171/0.8171, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1496/0.9667, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.7 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.647e-05, allocations: 2.969 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002642/0.002669, allocations: 1.414 MB / 241.2 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.003299, allocations: 361.5 kB / 241.5 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.003332, allocations: 0 / 241.5 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.003356, allocations: 3.984 kB / 241.5 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.003397, allocations: 8.438 kB / 241.5 MB, free: 4.559 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0004359/0.003833, allocations: 89.33 kB / 241.6 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.003904, allocations: 15.94 kB / 241.6 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.003939, allocations: 0 / 241.6 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.004001, allocations: 15.98 kB / 241.6 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.004031, allocations: 11.92 kB / 241.7 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.004045, allocations: 0.6875 kB / 241.7 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.004334, allocations: 119.7 kB / 241.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.004353, allocations: 5.969 kB / 241.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.004371, allocations: 4 kB / 241.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.00456, allocations: 79.72 kB / 241.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.004576, allocations: 4 kB / 241.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004577, allocations: 0 / 241.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.004589, allocations: 1.469 kB / 241.9 MB, free: 4.223 MB / 234.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.0003693/0.004958, allocations: 256.4 kB / 242.1 MB, free: 3.949 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004995, allocations: 12.03 kB / 242.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.005031, allocations: 0.9375 kB / 242.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.005126, allocations: 114.4 kB / 242.2 MB, free: 3.801 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.005142, allocations: 4.375 kB / 242.2 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.005156, allocations: 4.969 kB / 242.3 MB, free: 3.793 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.177e-05/0.005228, allocations: 26.83 kB / 242.3 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005236, allocations: 5.594 kB / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.005243, allocations: 7.984 kB / 242.3 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.00525, allocations: 4 kB / 242.3 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.005e-05/0.00526, allocations: 3.938 kB / 242.3 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.005492, allocations: 141.5 kB / 242.4 MB, free: 3.59 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.005542, allocations: 22.58 kB / 242.5 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.005558, allocations: 9.891 kB / 242.5 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.005564, allocations: 0 / 242.5 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.005665, allocations: 59.27 kB / 242.5 MB, free: 3.477 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005666, allocations: 1 kB / 242.5 MB, free: 3.477 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001221/0.005788, allocations: 45.67 kB / 242.6 MB, free: 3.426 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.005825, allocations: 56.14 kB / 242.6 MB, free: 3.359 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.005905, allocations: 106.7 kB / 242.7 MB, free: 3.242 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.005917, allocations: 30.39 kB / 242.8 MB, free: 3.207 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.005952, allocations: 84.12 kB / 242.8 MB, free: 3.121 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.00597, allocations: 8.641 kB / 242.9 MB, free: 3.113 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.006006, allocations: 17.7 kB / 242.9 MB, free: 3.09 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.006103, allocations: 315.5 kB / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.006131, allocations: 24.62 kB / 243.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.006152, allocations: 16.22 kB / 243.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.00619, allocations: 29.62 kB / 243.2 MB, free: 2.691 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.006193, allocations: 0 / 243.2 MB, free: 2.691 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.313e-05/0.006276, allocations: 49.62 kB / 243.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.006293, allocations: 7.938 kB / 243.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.0063, allocations: 5.422 kB / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.006314, allocations: 0 / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.006376, allocations: 11.98 kB / 243.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.006379, allocations: 0 / 243.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.0064, allocations: 8.766 kB / 243.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.006408, allocations: 0 / 243.3 MB, free: 2.605 MB / 234.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.169e-05/0.00648, allocations: 118.9 kB / 243.4 MB, free: 2.48 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.006492, allocations: 7.875 kB / 243.5 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.006522, allocations: 7.125 kB / 243.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006524, allocations: 0 / 243.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.006525, allocations: 4 kB / 243.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006529, allocations: 0 / 243.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.006707, allocations: 182.9 kB / 243.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006709, allocations: 0 / 243.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.006724, allocations: 0 / 243.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.006733, allocations: 7.938 kB / 243.7 MB, free: 2.246 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.006736, allocations: 384 / 243.7 MB, free: 2.246 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.00674, allocations: 0.9688 kB / 243.7 MB, free: 2.246 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.006742, allocations: 4 kB / 243.7 MB, free: 2.242 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006744, allocations: 0 / 243.7 MB, free: 2.242 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.00685, allocations: 148.3 kB / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.00686, allocations: 0 / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.006902, allocations: 1.781 kB / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.006923, allocations: 4 kB / 243.8 MB, free: 2.078 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.006935, allocations: 0 / 243.8 MB, free: 2.078 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.117e-05/0.006956, allocations: 16.84 kB / 243.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006956, allocations: 0 / 243.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.007222, allocations: 28.53 kB / 243.9 MB, free: 2.031 MB / 234.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.000551/0.007773, allocations: 217.5 kB / 244.1 MB, free: 1.875 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.00785, allocations: 20.8 kB / 244.1 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.007854, allocations: 0 / 244.1 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.007878, allocations: 12.84 kB / 244.1 MB, free: 1.836 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.00802, allocations: 11.03 kB / 244.1 MB, free: 1.828 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.008419, allocations: 128.5 kB / 244.2 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.008459, allocations: 55.34 kB / 244.3 MB, free: 1.602 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.00849, allocations: 4 kB / 244.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.008525, allocations: 51.38 kB / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of SimCode: time 9.02e-07/0.008526, allocations: 4.031 kB / 244.3 MB, free: 1.543 MB / 234.7 MB Notification: Performance of Templates: time 0.003284/0.01181, allocations: 1.113 MB / 245.5 MB, free: 444 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.350908989086747]