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.001874/0.001874, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001609/0.001609, allocations: 161.7 kB / 24.27 MB, free: 172 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.586 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 1.973e-06/1.973e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.174e-05, allocations: 6.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002887/0.002919, allocations: 1.35 MB / 273.7 MB, free: 452 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009522/0.003871, allocations: 358.8 kB / 274 MB, free: 92 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.003907, allocations: 4 kB / 274 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.003934, allocations: 0 / 274 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.003998, allocations: 3.938 kB / 274 MB, free: 84 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.0006547/0.004652, allocations: 91.62 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.004738, allocations: 15.88 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.004775, allocations: 4 kB / 274.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.004821, allocations: 15.92 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.004852, allocations: 4 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.004867, allocations: 0 / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.005171, allocations: 115.7 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.005194, allocations: 11.94 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.005225, allocations: 7.984 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.005498, allocations: 99.62 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.0055, allocations: 0 / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005501, allocations: 0 / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005506, allocations: 0 / 274.4 MB, free: 15.72 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.0004735/0.00598, allocations: 274.2 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.006023, allocations: 8.031 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.006076, allocations: 4.938 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.006202, allocations: 105.7 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.006224, allocations: 4.375 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.006235, allocations: 4.375 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.006346, allocations: 38.19 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006354, allocations: 192 / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006367, allocations: 4.375 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006372, allocations: 384 / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.006399, allocations: 7.938 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.00678, allocations: 188.6 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.006856, allocations: 34.5 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.006886, allocations: 8.922 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.006901, allocations: 7.938 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.00706, allocations: 55.39 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.007061, allocations: 0 / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002255/0.007286, allocations: 61.61 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.007344, allocations: 55.41 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007458, allocations: 105.8 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.00748, allocations: 29.64 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.007565, allocations: 84.12 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.007583, allocations: 7.953 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.00763, allocations: 21.72 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.007796, allocations: 314.8 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.007822, allocations: 8 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.007856, allocations: 18.09 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.007917, allocations: 37.7 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007918, allocations: 0 / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001162/0.008034, allocations: 65.81 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.00805, allocations: 4 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.008059, allocations: 3.938 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.008077, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.00814, allocations: 11.98 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008145, allocations: 4.031 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.008163, allocations: 0 / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.008175, allocations: 4 kB / 275.9 MB, free: 13.98 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 9.772e-05/0.008273, allocations: 113.8 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.008288, allocations: 8 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.008315, allocations: 7.938 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008317, allocations: 0 / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.008324, allocations: 4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.008327, allocations: 3.938 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.008589, allocations: 226.3 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00859, allocations: 4 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.008607, allocations: 4 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.008612, allocations: 3.938 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.008618, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.008622, allocations: 3.938 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008624, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.008792, allocations: 155.5 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.008801, allocations: 3.938 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.008813, allocations: 0 / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.316e-05/0.008857, allocations: 0 / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.008885, allocations: 4 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.008897, allocations: 4 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.598e-05/0.008963, allocations: 87.27 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008964, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.009332, allocations: 23.94 kB / 276.6 MB, free: 13.28 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.0005443/0.009876, allocations: 193.8 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.009986, allocations: 23.92 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.009988, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.866e-05/0.01002, allocations: 8 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.01023, allocations: 4 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.01056, allocations: 116.6 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.43e-05/0.01063, allocations: 67.28 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.989e-05/0.01066, allocations: 7.984 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.01068, allocations: 12.56 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01068, allocations: 3.938 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Templates: time 0.003826/0.01451, allocations: 0.9758 MB / 278 MB, free: 11.85 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=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/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.449067124049179]