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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 111.2 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009669/0.000967, allocations: 55.02 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08656, allocations: 49.43 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002544/0.08915, allocations: 1.332 MB / 352.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.08991, allocations: 352.3 kB / 353.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.08995, allocations: 0 / 353.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.08999, allocations: 3.938 kB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.09007, allocations: 3.984 kB / 353.2 MB, free: 2.004 MB / 286.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.0004887/0.09056, allocations: 83.73 kB / 353.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.09065, allocations: 23.92 kB / 353.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.09071, allocations: 0 / 353.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.09074, allocations: 11.92 kB / 353.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.999e-05/0.09078, allocations: 11.98 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.09079, allocations: 3.938 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.09097, allocations: 83.86 kB / 353.4 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.091, allocations: 7.984 kB / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.09103, allocations: 7.938 kB / 353.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.09123, allocations: 87.81 kB / 353.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.09124, allocations: 0 / 353.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09125, allocations: 4 kB / 353.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09126, allocations: 0 / 353.5 MB, free: 1.684 MB / 286.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.0004074/0.09168, allocations: 339.5 kB / 353.8 MB, free: 1.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.09172, allocations: 12.02 kB / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.09177, allocations: 4.938 kB / 353.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.0919, allocations: 168.2 kB / 354 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.09192, allocations: 384 / 354 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.09194, allocations: 4.375 kB / 354 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.09205, allocations: 45.75 kB / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.09207, allocations: 4 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.09208, allocations: 3.938 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.09209, allocations: 0 / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.09212, allocations: 4 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.09252, allocations: 240.9 kB / 354.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.09258, allocations: 22.58 kB / 354.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.09262, allocations: 24.84 kB / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.09263, allocations: 0 / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.09276, allocations: 47.41 kB / 354.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.09277, allocations: 0 / 354.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001718/0.09295, allocations: 57.69 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.093, allocations: 51.41 kB / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.09309, allocations: 109.8 kB / 354.6 MB, free: 384 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.09313, allocations: 29.64 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.09318, allocations: 88.14 kB / 354.7 MB, free: 256 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.0932, allocations: 3.906 kB / 354.7 MB, free: 252 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.09324, allocations: 25.7 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.09336, allocations: 314.8 kB / 355.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.09339, allocations: 8 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.09342, allocations: 21.7 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.09348, allocations: 29.91 kB / 355.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.09348, allocations: 384 / 355.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.362e-05/0.09358, allocations: 65.52 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.0936, allocations: 4 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.09361, allocations: 4 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.09363, allocations: 0 / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.0937, allocations: 11.98 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.09371, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.09374, allocations: 4 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.09375, allocations: 3.969 kB / 355.2 MB, free: 15.73 MB / 302.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 7.763e-05/0.09383, allocations: 129.7 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.09385, allocations: 0 / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.09388, allocations: 3.906 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.09389, allocations: 4 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.0939, allocations: 0 / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.0939, allocations: 0 / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.09414, allocations: 286.5 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09415, allocations: 0 / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.09418, allocations: 8 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.09418, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.09419, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.0942, allocations: 0 / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.09421, allocations: 3.938 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.09433, allocations: 151.4 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.09438, allocations: 81.09 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.0944, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.09445, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.09447, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.09449, allocations: 7.938 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.09455, allocations: 83.27 kB / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09455, allocations: 0 / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.09483, allocations: 27.94 kB / 356 MB, free: 14.84 MB / 302.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.0003797/0.09521, allocations: 182 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.09533, allocations: 23.92 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.09534, allocations: 0 / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.09543, allocations: 8 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.09564, allocations: 11.31 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.09593, allocations: 117.5 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.09629, allocations: 0.6768 MB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.09633, allocations: 7.984 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.09636, allocations: 15.38 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09636, allocations: 0 / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Templates: time 0.003617/0.09998, allocations: 0.9492 MB / 358 MB, free: 12.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) 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) Reference file matches