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.001892/0.001892, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002487/0.002487, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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 2.244e-06/2.244e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.499e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00325/0.003285, allocations: 1.363 MB / 273.7 MB, free: 480 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.004219, allocations: 350.8 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.004258, allocations: 4 kB / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.004284, allocations: 0 / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.004366, allocations: 11.86 kB / 274 MB, free: 112 kB / 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.0006688/0.005035, allocations: 87.64 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.005127, allocations: 19.92 kB / 274.1 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.005164, allocations: 3.938 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.005231, allocations: 11.98 kB / 274.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.686e-05/0.005257, allocations: 4 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.005273, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.005595, allocations: 115.7 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.00562, allocations: 11.94 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.005649, allocations: 4 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.005908, allocations: 103.6 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.005913, allocations: 4 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005914, allocations: 0 / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.00592, allocations: 0 / 274.4 MB, free: 15.75 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.0005244/0.006444, allocations: 372.2 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.006484, allocations: 8.031 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.006548, allocations: 4.938 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.006678, allocations: 112.6 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.006695, allocations: 384 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.006705, allocations: 4.375 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006815, allocations: 42.19 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.006823, allocations: 192 / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.006832, allocations: 384 / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006838, allocations: 4.375 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.006864, allocations: 3.938 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.007269, allocations: 251.8 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.007355, allocations: 31.06 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.007388, allocations: 19.69 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.007399, allocations: 7.938 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.007535, allocations: 65.03 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007536, allocations: 0 / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002193/0.007755, allocations: 57.62 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.007807, allocations: 51.41 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.007963, allocations: 177.9 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.007984, allocations: 25.7 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.008068, allocations: 126.9 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.008089, allocations: 11.95 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.008142, allocations: 27.36 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.008409, allocations: 492.1 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.008439, allocations: 12 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.008485, allocations: 27.73 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.00855, allocations: 39.55 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008552, allocations: 0 / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001137/0.008666, allocations: 61.58 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.008683, allocations: 8 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.00869, allocations: 3.938 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008704, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.008777, allocations: 12 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.008785, allocations: 8.016 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.008802, allocations: 0 / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.008809, allocations: 0 / 276.4 MB, free: 13.5 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.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.0001177/0.008926, allocations: 160.5 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.008944, allocations: 8 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.008971, allocations: 7.938 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008973, allocations: 0 / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008977, allocations: 0 / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.00898, allocations: 0 / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.00928, allocations: 293.4 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009281, allocations: 4 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.009305, allocations: 4 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.009311, allocations: 3.938 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.009321, allocations: 3.984 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009322, allocations: 3.938 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009323, allocations: 0 / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.009515, allocations: 203.9 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.009524, allocations: 3.938 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.009537, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.009576, allocations: 4 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.009603, allocations: 3.984 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.009616, allocations: 4 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.674e-05/0.009703, allocations: 131.2 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009703, allocations: 0 / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.009977, allocations: 27.92 kB / 277.3 MB, free: 12.58 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.0006716/0.01065, allocations: 190.2 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01078, allocations: 31.62 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01078, allocations: 0 / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.01082, allocations: 19.67 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01103, allocations: 4 kB / 277.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.01138, allocations: 118.2 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.01146, allocations: 67.28 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.356e-05/0.01149, allocations: 4 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.01152, allocations: 16.55 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01152, allocations: 0 / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Templates: time 0.004568/0.01609, allocations: 0.9861 MB / 278.7 MB, free: 11.12 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","/var/lib/jenkins/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: 4.562956053996459]