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.001741/0.001741, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002063/0.002063, allocations: 210.9 kB / 24.48 MB, free: 3.938 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+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 0.001515/0.001515, allocations: 55.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2816, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002654/0.2843, allocations: 1.352 MB / 433.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.2851, allocations: 354.8 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.2852, allocations: 3.938 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.2852, allocations: 0 / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.2852, allocations: 7.938 kB / 434 MB, free: 5.031 MB / 334.1 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.0005227/0.2858, allocations: 99.69 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.147e-05/0.2858, allocations: 19.92 kB / 434.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.2859, allocations: 0 / 434.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.2859, allocations: 11.98 kB / 434.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.2859, allocations: 11.92 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.286, allocations: 0 / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.2862, allocations: 119.8 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.2863, allocations: 3.984 kB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.2863, allocations: 11.92 kB / 434.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2865, allocations: 91.22 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2865, allocations: 4 kB / 434.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2865, allocations: 0 / 434.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2865, allocations: 0 / 434.4 MB, free: 4.672 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.0004432/0.2869, allocations: 269.3 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.287, allocations: 16.02 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.287, allocations: 0.9375 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.2871, allocations: 106.5 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2871, allocations: 384 / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2871, allocations: 384 / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.2872, allocations: 38.25 kB / 434.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2872, allocations: 4.188 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2873, allocations: 7.938 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2873, allocations: 0 / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.2873, allocations: 3.938 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.2876, allocations: 192.6 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.2877, allocations: 22.58 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.2877, allocations: 16.91 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2877, allocations: 0 / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.2879, allocations: 55.28 kB / 435.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2879, allocations: 4 kB / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001735/0.288, allocations: 53.69 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2881, allocations: 55.41 kB / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.2882, allocations: 113.8 kB / 435.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2882, allocations: 25.7 kB / 435.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2882, allocations: 88.12 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2883, allocations: 7.938 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.2883, allocations: 21.72 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2884, allocations: 310.8 kB / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.2885, allocations: 11.98 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.2885, allocations: 21.72 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.2885, allocations: 33.59 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2885, allocations: 0 / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.2886, allocations: 65.75 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2886, allocations: 8 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2887, allocations: 0 / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2887, allocations: 3.984 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.2887, allocations: 11.98 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2887, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.2888, allocations: 0 / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2888, allocations: 8.031 kB / 435.9 MB, free: 2.941 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.397e-05/0.2888, allocations: 109.8 kB / 436.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.2889, allocations: 7.938 kB / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.2889, allocations: 7.984 kB / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2889, allocations: 0 / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2889, allocations: 0 / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2889, allocations: 0 / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.2891, allocations: 238.2 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2891, allocations: 0 / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.2891, allocations: 0 / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2891, allocations: 8 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2891, allocations: 0 / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2891, allocations: 0 / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2891, allocations: 0 / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.2893, allocations: 155.4 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.2893, allocations: 0 / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.2893, allocations: 7.984 kB / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.2893, allocations: 0 / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.2893, allocations: 384 / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.2894, allocations: 4 kB / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.2894, allocations: 87.28 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2894, allocations: 3.938 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.2897, allocations: 35.86 kB / 436.6 MB, free: 2.219 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.0004591/0.2902, allocations: 181.2 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.2903, allocations: 23.98 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2903, allocations: 0 / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.2903, allocations: 11.94 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.2905, allocations: 7.938 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.2908, allocations: 127.4 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.2908, allocations: 63.34 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.2909, allocations: 7.438 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2909, allocations: 0 / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Templates: time 0.00318/0.294, allocations: 1.172 MB / 438.2 MB, free: 0.6055 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.403888475004351]