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.001662/0.001662, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 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.00183/0.00183, allocations: 157.2 kB / 24.48 MB, free: 3.465 MB / 14.72 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 1.419/1.419, allocations: 173.4 MB / 201 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001607/0.001607, allocations: 50.56 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09536, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002635/0.098, allocations: 1.348 MB / 372.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.0988, allocations: 332.9 kB / 373.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.09883, allocations: 0 / 373.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.09885, allocations: 0 / 373.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.09891, allocations: 7.938 kB / 373.2 MB, free: 5.652 MB / 334.1 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.000496/0.0994, allocations: 99.69 kB / 373.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.09947, allocations: 11.94 kB / 373.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.09951, allocations: 4 kB / 373.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.09953, allocations: 15.92 kB / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.453e-05/0.09956, allocations: 7.922 kB / 373.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.09957, allocations: 4 kB / 373.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.09988, allocations: 115.8 kB / 373.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.09989, allocations: 3.938 kB / 373.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.09992, allocations: 11.94 kB / 373.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1001, allocations: 87.69 kB / 373.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1001, allocations: 0 / 373.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1001, allocations: 0 / 373.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1001, allocations: 0 / 373.6 MB, free: 5.297 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.0004271/0.1005, allocations: 270.2 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1006, allocations: 12.92 kB / 373.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1006, allocations: 4.891 kB / 373.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1007, allocations: 110.5 kB / 374 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1007, allocations: 4.375 kB / 374 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1007, allocations: 4.375 kB / 374 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/0.1008, allocations: 41.56 kB / 374 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1008, allocations: 0 / 374 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1008, allocations: 0 / 374 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1008, allocations: 3.938 kB / 374 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.1009, allocations: 4 kB / 374.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1012, allocations: 196.6 kB / 374.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.1012, allocations: 26.5 kB / 374.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.1013, allocations: 12.92 kB / 374.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1013, allocations: 4 kB / 374.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.1014, allocations: 63.33 kB / 374.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1014, allocations: 0 / 374.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001674/0.1016, allocations: 57.62 kB / 374.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1016, allocations: 51.41 kB / 374.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.1017, allocations: 101.9 kB / 374.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1017, allocations: 37.69 kB / 374.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.1018, allocations: 84.14 kB / 374.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1018, allocations: 3.953 kB / 374.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.1018, allocations: 17.72 kB / 374.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.102, allocations: 326.8 kB / 375 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.102, allocations: 4 kB / 375 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.102, allocations: 17.72 kB / 375 MB, free: 3.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.1021, allocations: 29.64 kB / 375.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1021, allocations: 4 kB / 375.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.1022, allocations: 61.62 kB / 375.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1022, allocations: 4 kB / 375.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1022, allocations: 0 / 375.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1022, allocations: 4 kB / 375.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.1023, allocations: 4 kB / 375.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1023, allocations: 0 / 375.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.1023, allocations: 7.953 kB / 375.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1023, allocations: 0 / 375.1 MB, free: 3.57 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 0.000105/0.1024, allocations: 121.8 kB / 375.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.1024, allocations: 0 / 375.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.1024, allocations: 7.938 kB / 375.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1024, allocations: 8.031 kB / 375.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.1025, allocations: 3.938 kB / 375.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1025, allocations: 0 / 375.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1027, allocations: 234.2 kB / 375.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1027, allocations: 3.938 kB / 375.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.1027, allocations: 4 kB / 375.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1027, allocations: 0 / 375.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1027, allocations: 4 kB / 375.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1027, allocations: 0 / 375.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1027, allocations: 3.984 kB / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1028, allocations: 155.8 kB / 375.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.1028, allocations: 7.938 kB / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1029, allocations: 0 / 375.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.1029, allocations: 8 kB / 375.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1029, allocations: 4.328 kB / 375.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1029, allocations: 0 / 375.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.236e-05/0.103, allocations: 83.27 kB / 375.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.103, allocations: 0 / 375.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1033, allocations: 27.94 kB / 375.8 MB, free: 2.836 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.0004302/0.1037, allocations: 184.3 kB / 376 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.1038, allocations: 23.92 kB / 376 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1038, allocations: 0 / 376 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.1039, allocations: 12 kB / 376 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1041, allocations: 64 / 376 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.1043, allocations: 117.5 kB / 376.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.1044, allocations: 59.34 kB / 376.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.1044, allocations: 7.984 kB / 376.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.1045, allocations: 16.44 kB / 376.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1045, allocations: 0 / 376.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of Templates: time 0.003633/0.1081, allocations: 0.955 MB / 377.2 MB, free: 1.449 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.250506568932906]