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.0006702/0.0006702, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003065/0.003065, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8271/0.8271, allocations: 173.3 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.132e-06/1.132e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.661e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001442/0.001458, allocations: 1.337 MB / 321 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004676/0.001926, allocations: 350.7 kB / 321.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.001951, allocations: 0 / 321.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.001975, allocations: 3.938 kB / 321.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.002019, allocations: 3.938 kB / 321.4 MB, free: 4.141 MB / 282.7 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.0003885/0.002408, allocations: 91.58 kB / 321.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.002463, allocations: 15.94 kB / 321.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.002497, allocations: 3.984 kB / 321.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.002531, allocations: 11.94 kB / 321.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.002549, allocations: 7.984 kB / 321.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.002561, allocations: 3.984 kB / 321.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.002719, allocations: 119.7 kB / 321.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.002732, allocations: 4 kB / 321.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.002754, allocations: 11.92 kB / 321.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.002901, allocations: 95.73 kB / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002902, allocations: 0 / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002903, allocations: 0 / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.002907, allocations: 0 / 321.7 MB, free: 3.781 MB / 282.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.0002781/0.003185, allocations: 278.1 kB / 322 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.003215, allocations: 12.92 kB / 322 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.003242, allocations: 4.891 kB / 322 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.003303, allocations: 109.8 kB / 322.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.003314, allocations: 4.359 kB / 322.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.003327, allocations: 4.312 kB / 322.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.86e-05/0.003396, allocations: 34.27 kB / 322.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003403, allocations: 3.938 kB / 322.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.00341, allocations: 4 kB / 322.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.003413, allocations: 0 / 322.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.554e-05/0.003429, allocations: 3.984 kB / 322.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.003657, allocations: 192.6 kB / 322.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.315e-05/0.0037, allocations: 26.52 kB / 322.4 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.003716, allocations: 12.92 kB / 322.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.003725, allocations: 7.922 kB / 322.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.558e-05/0.003801, allocations: 55.39 kB / 322.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.003802, allocations: 0 / 322.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.003932, allocations: 61.58 kB / 322.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.003962, allocations: 55.41 kB / 322.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.004015, allocations: 105.8 kB / 322.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.004023, allocations: 25.7 kB / 322.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.004055, allocations: 80.14 kB / 322.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.004067, allocations: 7.953 kB / 322.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.004092, allocations: 25.7 kB / 322.8 MB, free: 2.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.00416, allocations: 314.8 kB / 323.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.004175, allocations: 4 kB / 323.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.004197, allocations: 25.7 kB / 323.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.004234, allocations: 37.53 kB / 323.2 MB, free: 2.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004235, allocations: 0 / 323.2 MB, free: 2.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.908e-05/0.004294, allocations: 53.62 kB / 323.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004306, allocations: 8 kB / 323.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.00431, allocations: 0 / 323.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.00432, allocations: 4.031 kB / 323.3 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.004364, allocations: 11.98 kB / 323.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.004368, allocations: 3.938 kB / 323.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.004381, allocations: 7.953 kB / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.004387, allocations: 4.375 kB / 323.3 MB, free: 2.039 MB / 282.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 4.812e-05/0.004435, allocations: 105.8 kB / 323.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.004441, allocations: 7.938 kB / 323.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.004459, allocations: 8 kB / 323.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.004461, allocations: 0 / 323.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.004466, allocations: 4 kB / 323.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004468, allocations: 4 kB / 323.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.004599, allocations: 234.2 kB / 323.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.0046, allocations: 0 / 323.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-06/0.004608, allocations: 3.938 kB / 323.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004609, allocations: 4 kB / 323.6 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.004615, allocations: 3.984 kB / 323.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004616, allocations: 0 / 323.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004616, allocations: 0 / 323.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.376e-05/0.00468, allocations: 147.4 kB / 323.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-06/0.004684, allocations: 0 / 323.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.004693, allocations: 8.328 kB / 323.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.004715, allocations: 4 kB / 323.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.004732, allocations: 3.984 kB / 323.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.004741, allocations: 4 kB / 323.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.492e-05/0.004766, allocations: 79.28 kB / 323.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004766, allocations: 0 / 323.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.004933, allocations: 31.86 kB / 323.9 MB, free: 1.328 MB / 282.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.0002475/0.005181, allocations: 203 kB / 324.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.042e-05/0.005251, allocations: 16 kB / 324.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005253, allocations: 0 / 324.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.005269, allocations: 7.984 kB / 324.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.005401, allocations: 3.938 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.005593, allocations: 142.5 kB / 324.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.84e-05/0.005631, allocations: 67.41 kB / 324.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.005644, allocations: 12.5 kB / 324.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of SimCode: time 3.41e-07/0.005644, allocations: 0 / 324.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of Templates: time 0.001796/0.00744, allocations: 1.178 MB / 325.5 MB, free: 15.68 MB / 298.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/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.17027133051306]