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.001477/0.001477, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001809/0.001809, allocations: 170.3 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9481/0.9481, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.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.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.2e-05, allocations: 2.312 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001517/0.001529, allocations: 1.396 MB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004723/0.002001, allocations: 354.7 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.002023, allocations: 0 / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.002043, allocations: 3.938 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.002092, allocations: 3.984 kB / 275.2 MB, free: 15.51 MB / 266.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.0003444/0.002437, allocations: 95.52 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.002484, allocations: 19.92 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.472e-05/0.002509, allocations: 4 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.002539, allocations: 11.98 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.581e-05/0.002555, allocations: 3.984 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.002565, allocations: 4 kB / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.002718, allocations: 115.7 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.002731, allocations: 19.92 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.299e-05/0.002744, allocations: 0 / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.002871, allocations: 91.75 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002872, allocations: 0 / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.002876, allocations: 0 / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.264e-06/0.002879, allocations: 3.938 kB / 275.6 MB, free: 15.14 MB / 266.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.0002323/0.003111, allocations: 244.9 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.003137, allocations: 8.031 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.003156, allocations: 0.9375 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.304e-05/0.003219, allocations: 117.7 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.003228, allocations: 8.375 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.003235, allocations: 384 / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.578e-05/0.003281, allocations: 34.25 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.003286, allocations: 192 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.003292, allocations: 4.375 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.003296, allocations: 384 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-06/0.003304, allocations: 7.938 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.003443, allocations: 144.2 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.259e-05/0.003475, allocations: 18.67 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.003487, allocations: 12.86 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.003493, allocations: 7.984 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.003542, allocations: 47.41 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.003543, allocations: 0 / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 7.225e-05/0.003615, allocations: 49.56 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.003641, allocations: 55.34 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.003691, allocations: 114.6 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003699, allocations: 25.7 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.003721, allocations: 84.12 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.003733, allocations: 7.953 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.003756, allocations: 21.7 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.003818, allocations: 318.8 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.003835, allocations: 16.7 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.003851, allocations: 13.72 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.003876, allocations: 25.64 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003878, allocations: 4 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.288e-05/0.003921, allocations: 49.62 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.003929, allocations: 4 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.003933, allocations: 3.984 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.003942, allocations: 4.234 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.412e-05/0.003976, allocations: 11.97 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.003979, allocations: 3.984 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.003989, allocations: 4 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.003994, allocations: 0 / 277 MB, free: 13.53 MB / 266.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 4.473e-05/0.004039, allocations: 113.8 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.004044, allocations: 3.984 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.00406, allocations: 8 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004061, allocations: 0 / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.004064, allocations: 7.938 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004066, allocations: 0 / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.004173, allocations: 191.2 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004174, allocations: 0 / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.00418, allocations: 4 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.004181, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.004185, allocations: 7.922 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.004187, allocations: 7.938 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.004187, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.799e-05/0.004235, allocations: 131.5 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.00424, allocations: 4 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-06/0.004246, allocations: 3.938 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.004269, allocations: 3.938 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.004281, allocations: 7.984 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.004287, allocations: 4 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.127e-05/0.004299, allocations: 12.84 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004299, allocations: 0 / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.004439, allocations: 23.94 kB / 277.5 MB, free: 12.95 MB / 266.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.0003066/0.004745, allocations: 202.5 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.92e-05/0.004794, allocations: 20.84 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004796, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.00481, allocations: 12.8 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.605e-05/0.004896, allocations: 8 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/0.005059, allocations: 108.6 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.629e-05/0.005085, allocations: 55.34 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.964e-05/0.005105, allocations: 8.062 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.005128, allocations: 51.38 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005129, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002282/0.00741, allocations: 1.125 MB / 279.1 MB, free: 11.36 MB / 266.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 -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.4822299950756133]