Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 104 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 213.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 66.14 kB / 306.3 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09484, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002463/0.09735, allocations: 1.412 MB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.09814, allocations: 368.6 kB / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.09818, allocations: 0 / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.09825, allocations: 0 / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.0983, allocations: 3.938 kB / 358.6 MB, free: 12.75 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004062/0.09871, allocations: 71.84 kB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.09877, allocations: 15.88 kB / 358.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.09882, allocations: 4 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.09885, allocations: 12 kB / 358.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.632e-05/0.09888, allocations: 7.922 kB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.0989, allocations: 4 kB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.09908, allocations: 75.92 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.09911, allocations: 11.97 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.09915, allocations: 7.938 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.09934, allocations: 87.7 kB / 358.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.09935, allocations: 0 / 358.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09936, allocations: 4 kB / 358.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.09937, allocations: 0 / 358.9 MB, free: 12.46 MB / 302.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.000375/0.09975, allocations: 355.4 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.09979, allocations: 8.031 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.09983, allocations: 4.938 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.09994, allocations: 168.5 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.09996, allocations: 4.375 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.09998, allocations: 4.375 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1001, allocations: 34.25 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1001, allocations: 192 / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1001, allocations: 3.938 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1001, allocations: 4 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.1002, allocations: 11.94 kB / 359.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1005, allocations: 244.9 kB / 359.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.1005, allocations: 22.58 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.1006, allocations: 16.84 kB / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.1006, allocations: 0 / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.1007, allocations: 59.34 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1007, allocations: 0 / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001964/0.1009, allocations: 53.69 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.101, allocations: 55.41 kB / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.1011, allocations: 105.8 kB / 360 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1011, allocations: 25.7 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.1011, allocations: 84.14 kB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1012, allocations: 7.906 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1012, allocations: 25.7 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1014, allocations: 314.8 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.1014, allocations: 8 kB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.1014, allocations: 25.58 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.1015, allocations: 29.72 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1015, allocations: 4 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.662e-05/0.1016, allocations: 61.47 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1016, allocations: 4 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1016, allocations: 0 / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1016, allocations: 4 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.1017, allocations: 11.98 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1017, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.1018, allocations: 4 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1018, allocations: 0 / 360.6 MB, free: 10.49 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 8.279e-05/0.1019, allocations: 125.7 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1019, allocations: 0 / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.1019, allocations: 7.906 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1019, allocations: 0 / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1019, allocations: 4 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1019, allocations: 3.984 kB / 360.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.1022, allocations: 282.5 kB / 361 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1022, allocations: 384 / 361 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.1022, allocations: 4 kB / 361 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1022, allocations: 4 kB / 361 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1022, allocations: 4 kB / 361 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1022, allocations: 0 / 361 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1022, allocations: 0 / 361 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1024, allocations: 163.6 kB / 361.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1024, allocations: 81.14 kB / 361.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1024, allocations: 4 kB / 361.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.182e-05/0.1025, allocations: 0 / 361.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.1025, allocations: 4 kB / 361.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1025, allocations: 0 / 361.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.1026, allocations: 91.27 kB / 361.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.1026, allocations: 0 / 361.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1029, allocations: 23.94 kB / 361.4 MB, free: 9.594 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.000394/0.1033, allocations: 175.9 kB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.1034, allocations: 27.92 kB / 361.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1034, allocations: 0 / 361.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.1034, allocations: 4 kB / 361.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1036, allocations: 12.12 kB / 361.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.1039, allocations: 107.4 kB / 361.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1041, allocations: 0.6809 MB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.1042, allocations: 7.984 kB / 362.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.1042, allocations: 11.44 kB / 362.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1042, allocations: 0 / 362.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of Templates: time 0.003279/0.1075, allocations: 0.9374 MB / 363.3 MB, free: 7.598 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches